Ejemplo n.º 1
0
 def last_update(self):
     """Return the time at which the current_value was last updated."""
     return PISeries.timestamp_to_index(
         self.attribute.GetValue().Timestamp.UtcTime)
Ejemplo n.º 2
0
 def last_update(self):
     """Return the time at which the last value for this PI Point was recorded."""
     return PISeries.timestamp_to_index(
         self.pi_point.CurrentValue().Timestamp.UtcTime
     )