def estimateModifiedByUser(self): return (BinaryDataDecoder.readUInt32BE(self.eventData, 0x30) & 0x01) == 0x01
def rate(self): return BinaryDataDecoder.readUInt32BE( self.eventData, 0x0D ) / 10000.0 # return this.eventData.readUInt32BE(0x0D) / 10000.0;
def bolusWizardEstimate(self): return BinaryDataDecoder.readUInt32BE(self.eventData, 0x2B) / 10000.0
def finalEstimate(self): return BinaryDataDecoder.readUInt32BE(self.eventData, 0x31) / 10000.0
def iob(self): return BinaryDataDecoder.readUInt32BE(self.eventData, 0x23) / 10000.0
def iobAdjustment(self): return BinaryDataDecoder.readUInt32BE(self.eventData, 0x27) / 10000.0
def carbRatio(self): carbRatio = BinaryDataDecoder.readUInt32BE(self.eventData, 0x13) return carbRatio / 10.0 if ( self.carbUnits == NGPConstants.CARB_UNITS.GRAMS) else carbRatio / 1000.0
def foodEstimate(self): return BinaryDataDecoder.readUInt32BE(self.eventData, 0x1F) / 10000.0
def activeInsulin(self): return BinaryDataDecoder.readUInt32BE( self.eventData, 0x16 ) / 10000.0 #return this.eventData.readUInt32BE(0x16) / 10000.0;
def programmedAmount(self): return BinaryDataDecoder.readUInt32BE( self.eventData, 0x0E ) / 10000.0 #return this.eventData.readUInt32BE(0x12) / 10000.0;
def deliveredAmount(self): return BinaryDataDecoder.readUInt32BE( self.eventData, 0x12 ) / 10000.0 #return this.eventData.readUInt32BE(0x12) / 10000.0;