def __init__(self, minValue=0, maxValue=10, minStep=1, maxStep=1): DomainBehavior.__init__(self) self.state = {'sigma': 0} self.minValue = minValue self.maxValue = maxValue self.minStep = minStep self.maxStep = maxStep self.msg = Message(None, None)
def __init__(self,minValue=0,maxValue=10,minStep=1,maxStep=1): DomainBehavior.__init__(self) self.state = { 'sigma':0 } self.minValue = minValue self.maxValue = maxValue self.minStep = minStep self.maxStep = maxStep self.msg = Message(None,None)
def __init__(self, sourceName="", listValues=None): if not listValues: listValues = [] DomainBehavior.__init__(self) ### local copy self.sourceName = sourceName self.__listValues = listValues self.T = [] self.V = {} ### flags self.type_error_flag = True in map(lambda a: not isinstance(a, int), self.__listValues) self.file_error_flag = os.path.exists(self.sourceName) self.list_empty_flag = listValues == [] ### assert if self.type_error_flag: assert True, "Please use integer in listValue parameter !"
def __init__(self, fusion = True, eventAxis = False): """ Constructor. @param fusion : Flag to plot all signals on one graphic @param eventAxis : Flag to plot depending event axis """ DomainBehavior.__init__(self) # State variable self.state = {'status': 'INACTIF', 'sigma': INFINITY} # fusioning curve self.fusion = fusion # replace time axis with step axis self.eventAxis = eventAxis # results tab (results attribut must be defined in order to plot the data) self.results = {} #OrderedDict() self.t = INFINITY
def __init__(self, fusion=True, eventAxis=False): """ Constructor. @param fusion : Flag to plot all signals on one graphic @param eventAxis : Flag to plot depending event axis """ DomainBehavior.__init__(self) # State variable self.state = {'status': 'INACTIF', 'sigma': INFINITY} # fusioning curve self.fusion = fusion # replace time axis with step axis self.eventAxis = eventAxis # results tab (results attribut must be defined in order to plot the data) self.results = {} #OrderedDict() self.t = INFINITY
def __init__(self): """Constructor. """ DomainBehavior.__init__(self)