Merge pull request #1686 from Philoul/Autotune/InsulinPeak

Add peak in Insulin interface
This commit is contained in:
Milos Kozak 2022-05-02 23:24:56 +02:00 committed by GitHub
commit 37852315a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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