Add Peak in Insulin interface

This commit is contained in:
Philoul 2022-05-02 21:12:48 +02:00
parent 929e3a9c7f
commit 4be6931e65
2 changed files with 2 additions and 1 deletions

View file

@ -101,7 +101,7 @@ abstract class InsulinOrefBasePlugin(
return comment
}
abstract val peak: Int
override abstract val peak: Int
abstract fun commentStandardText(): String
companion object {

View file

@ -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