Merge pull request #1686 from Philoul/Autotune/InsulinPeak
Add peak in Insulin interface
This commit is contained in:
commit
37852315a6
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