Add Peak in Insulin interface
This commit is contained in:
parent
929e3a9c7f
commit
4be6931e65
|
@ -101,7 +101,7 @@ abstract class InsulinOrefBasePlugin(
|
||||||
return comment
|
return comment
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract val peak: Int
|
override abstract val peak: Int
|
||||||
abstract fun commentStandardText(): String
|
abstract fun commentStandardText(): String
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
|
@ -27,6 +27,7 @@ interface Insulin : ConfigExportImport {
|
||||||
val friendlyName: String
|
val friendlyName: String
|
||||||
val comment: String
|
val comment: String
|
||||||
val dia: Double
|
val dia: Double
|
||||||
|
val peak: Int
|
||||||
|
|
||||||
fun iobCalcForTreatment(bolus: Bolus, time: Long, dia: Double): Iob
|
fun iobCalcForTreatment(bolus: Bolus, time: Long, dia: Double): Iob
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue