コード例 #1
0
def main():
  options = util.parseOptions()
  configuration_file = options.configuration_file
  uploader = CloudUpload(configuration_file,  options.database_file)
  uploader.monitor()
コード例 #2
0
def main():
  options = util.parseOptions()
  configuration_file = options.configuration_file
  counter = SensorMonitor(configuration_file, options.database_file)
  counter.monitorSensors()