SHARE
TWEET

Untitled

a guest Aug 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if co2_level < 500:
  2.             self.notification.level_c = 0
  3.         elif co2_level < 1500:
  4.             es_time = PreProcessing.estimate_time(gateway_id, device_id, module_id, 1500, None)
  5.             self.notification.level_c = 1
  6.         elif co2_level < 2500:
  7.             es_time = PreProcessing.estimate_time(gateway_id, device_id, module_id, 2500, None)
  8.             self.notification.level_c = 2
  9.         elif co2_level < 4000:
  10.             es_time = PreProcessing.estimate_time(gateway_id, device_id, module_id, 4000, None)
  11.             self.notification.level_c = 3
  12.         else:
  13.             self.notification.level_c = 4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top