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