Loading…

Method Name: sensor_input_method

Method ID: 0x4913

Method Label: Sensor Input

Method Help:


  • {
  • 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;


Please login for more