예제 #1
0
 def ReadSystemTime(self):
     rtc = self.GenericReadCommand(constants.READ_SYSTEM_TIME).data
     return util.ReceiverTimeToTime(struct.unpack('I', rtc)[0])
예제 #2
0
 def meter_time(self):
   return util.ReceiverTimeToTime(self.data[3])
예제 #3
0
 def ReadRTC(self):
     rtc = self.GenericReadCommand(constants.READ_RTC).data
     return util.ReceiverTimeToTime(struct.unpack('I', rtc)[0])
예제 #4
0
 def display_time(self):
   return util.ReceiverTimeToTime(self.data[4])
예제 #5
0
 def applied  (self):
   return util.ReceiverTimeToTime(self.data[3])
예제 #6
0
 def entered  (self):
   return util.ReceiverTimeToTime(self.data[0])
예제 #7
0
 def insertion_time(self):
   if self.data[2] == 0xFFFFFFFF:
     return self.system_time
   return util.ReceiverTimeToTime(self.data[2])
예제 #8
0
 def system_time(self):
   return util.ReceiverTimeToTime(self.data[0])