Loading…
Loading…
方法名称: sensor_input_method
方法ID: 0x4913
方法标签: Sensor Input
方法描述:
- {
- unsigned long point;
- long status;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- point = 0;
- ACKNOWLEDGE(literal_string(949));
- _add_abort_method(4118);
- do {
- status = _get_local_var_value(literal_string(1097),0,literal_string(1098));
- send_command(164);
- switch (point)
- {
- case 0:
- break;
- case 1:
- _get_dev_var_value(literal_string(1099),0,18404);
- LvlPt01 = level_value_vol_table;
- send_command_trans(240,0);
- break;
- case 2:
- _get_dev_var_value(literal_string(1099),0,18405);
- LvlPt02 = level_value_vol_table;
- send_command_trans(240,0);
- break;
- case 3:
- _get_dev_var_value(literal_string(1099),0,18406);
- LvlPt03 = level_value_vol_table;
- send_command_trans(240,1);
- break;
- case 4:
- _get_dev_var_value(literal_string(1099),0,18407);
- LvlPt04 = level_value_vol_table;
请登录以获得完整内容