def __init__(self, arrTimeInterval): try: self._schedules = arrTimeInterval BaseCriteria.__init__(self, "") #TODO:: Validate if all intervals actual is a TimeInterval except: LogException()
def __init__(self, objRule, duration, arrSequences): try: BaseCriteria.__init__(self, "") #TODO:: Might want to improve this a bit. The sequence will then be controlled on when oh is started self._sequenceBaseTimestamp = DateTime() self._sequenceDuration = duration self._dictSequences = {} self._objRule = objRule for curSequence in arrSequences: if (curSequence.getName() not in self._dictSequences): self._dictSequences[curSequence.getName()] = [curSequence] else: self._dictSequences[curSequence.getName()].append( curSequence) #TODO:: Validate if all sequences is a SequenceItem except: LogException()
def __init__(self, methodName): self._methodName = methodName BaseCriteria.__init__(self, "")
def getRequiredServices(self): return list(set(BaseCriteria.getRequiredServices(self)))
def __init__(self): BaseCriteria.__init__(self, "")
def getRequiredServices(self): return BaseCriteria.getRequiredServices(self)
def getRequiredServices(self): return list( set( BaseCriteria.getRequiredServices(self) + [RequiredServiceEnum.ASTRO]))