Esempio n. 1
0
 def __init__(self, pattern, period, simulationTime, units):
     Measure.__init__(self, period, simulationTime, units)
             
     self.__periodicValues = PeriodicValues(0, period, simulationTime)
     
     self.__prog = re.compile(pattern)
     
     self.__units = units
Esempio n. 2
0
 def __init__(self, period, simulationTime, units, maintainLastValue=False):
     Measure.__init__(self, period, simulationTime, units)
     
     self.periodicAvgValues = PeriodicAvgValues(period, simulationTime, maintainLastValue)
     
     self.__units = units