- trying to use old implementation (not setting type so that old one is taken over)
This commit is contained in:
parent
63ddf99913
commit
fc36371ffa
|
@ -511,11 +511,10 @@ class MedtronicHistoryData @Inject constructor(
|
||||||
timestamp = tryToGetByLocalTime(bolus.atechDateTime),
|
timestamp = tryToGetByLocalTime(bolus.atechDateTime),
|
||||||
amount = deliveredAmount,
|
amount = deliveredAmount,
|
||||||
temporaryId = temporaryId,
|
temporaryId = temporaryId,
|
||||||
type = type,
|
type = null,
|
||||||
pumpId = bolus.pumpId,
|
pumpId = bolus.pumpId,
|
||||||
pumpType = medtronicPumpStatus.pumpType,
|
pumpType = medtronicPumpStatus.pumpType,
|
||||||
pumpSerial = medtronicPumpStatus.serialNumber,
|
pumpSerial = medtronicPumpStatus.serialNumber)
|
||||||
ignoreBolusTypeOnUpdate = true)
|
|
||||||
|
|
||||||
aapsLogger.debug(LTag.PUMP, String.format(Locale.ENGLISH, "syncBolusWithTempId [date=%d, temporaryId=%d, pumpId=%d, insulin=%.2f, pumpSerial=%s] - Result: %b",
|
aapsLogger.debug(LTag.PUMP, String.format(Locale.ENGLISH, "syncBolusWithTempId [date=%d, temporaryId=%d, pumpId=%d, insulin=%.2f, pumpSerial=%s] - Result: %b",
|
||||||
bolus.atechDateTime, temporaryId, bolus.pumpId, deliveredAmount,
|
bolus.atechDateTime, temporaryId, bolus.pumpId, deliveredAmount,
|
||||||
|
@ -524,11 +523,10 @@ class MedtronicHistoryData @Inject constructor(
|
||||||
val result = pumpSync.syncBolusWithPumpId(
|
val result = pumpSync.syncBolusWithPumpId(
|
||||||
timestamp = tryToGetByLocalTime(bolus.atechDateTime),
|
timestamp = tryToGetByLocalTime(bolus.atechDateTime),
|
||||||
amount = deliveredAmount,
|
amount = deliveredAmount,
|
||||||
type = type,
|
type = null,
|
||||||
pumpId = bolus.pumpId,
|
pumpId = bolus.pumpId,
|
||||||
pumpType = medtronicPumpStatus.pumpType,
|
pumpType = medtronicPumpStatus.pumpType,
|
||||||
pumpSerial = medtronicPumpStatus.serialNumber,
|
pumpSerial = medtronicPumpStatus.serialNumber)
|
||||||
ignoreBolusTypeOnUpdate = true)
|
|
||||||
|
|
||||||
aapsLogger.debug(LTag.PUMP, String.format(Locale.ENGLISH, "syncBolusWithPumpId [date=%d, pumpId=%d, insulin=%.2f, pumpSerial=%s] - Result: %b",
|
aapsLogger.debug(LTag.PUMP, String.format(Locale.ENGLISH, "syncBolusWithPumpId [date=%d, pumpId=%d, insulin=%.2f, pumpSerial=%s] - Result: %b",
|
||||||
bolus.atechDateTime, bolus.pumpId, deliveredAmount,
|
bolus.atechDateTime, bolus.pumpId, deliveredAmount,
|
||||||
|
|
Loading…
Reference in a new issue