示例#1
0
def _isSkipPeripheryChecking():
    return connectionManager.isStandalone() and CURRENT_REALM == 'CT'
示例#2
0
 def isValid(self):
     return (self.startTime is None or self.startTime > 0) and (self.finishTime is None or self.finishTime > 0) and (connectionManager.isStandalone() or self.__validatePeripheryIDs())
示例#3
0
 def needToChangePeriphery(self):
     return not connectionManager.isStandalone() and connectionManager.peripheryID not in self.peripheryIDs
示例#4
0
def _isSkipPeripheryChecking():
    return connectionManager.isStandalone() and CURRENT_REALM == 'CT'
示例#5
0
 def isValid(self):
     return (self.startTime is None or self.startTime > 0) and (
         self.finishTime is None
         or self.finishTime > 0) and (connectionManager.isStandalone()
                                      or self.__validatePeripheryIDs())
示例#6
0
 def needToChangePeriphery(self):
     return not connectionManager.isStandalone(
     ) and connectionManager.peripheryID not in self.peripheryIDs