Exemple #1
0
 def isDusk(self, val):
     self._States.set('is.dusk', val, 'bool')
     self.__isDusk = val
     self._Statistics.datapoint("lib.times.is_dusk", is_one_zero(val))
Exemple #2
0
 def isTwilight(self, val):
     self._States.set('is.twilight', val, 'bool')
     self.__isTwilight = val
     self._Statistics.datapoint("lib.times.is_twilight", is_one_zero(val))
Exemple #3
0
 def isDawn(self, val):
     self._States.set('is.dawn', val, 'bool')
     self.__isDawn = val
     self._Statistics.datapoint("lib.times.is_dawn", is_one_zero(val))