Loading…
Loading…
Method Name: sensor_input_method
Method ID: 0x4A53
Method Label: Sensor Input
Method Help:
- {
- unsigned long point;
- long status;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- point = 0;
- do {
- status = _get_local_var_value(literal_string(1611),0,literal_string(1612));
- send_command(164);
- switch (point)
- {
- case 0:
- break;
- case 1:
- _get_dev_var_value(literal_string(1613),0,18599);
- LvlPt01 = level_value_vol_table;
- send_command_trans(240,0);
- break;
- case 2:
- _get_dev_var_value(literal_string(1613),0,18600);
- LvlPt02 = level_value_vol_table;
- send_command_trans(240,0);
- break;
- case 3:
- _get_dev_var_value(literal_string(1613),0,18601);
- LvlPt03 = level_value_vol_table;
- send_command_trans(240,1);
- break;
- case 4:
- _get_dev_var_value(literal_string(1613),0,18602);
- LvlPt04 = level_value_vol_table;
- send_command_trans(240,1);
- break;
- case 5:
Please login for more