示例#1
0
 def _pre_delete_callback(self, m):
     cbpi.stop_sensor(m.id)
示例#2
0
 def _post_put_callback(self, m):
     cbpi.stop_sensor(m.id)
     cbpi.init_sensor(m.id)