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