Loading…

方法名称: MthResetCondensedStatusMap

方法ID: 0x433C

方法标签: Reset to default

方法描述: Reset the mappings to the Condensed Status to default values.


  • {
  • char achCmdStatus[3];
  • int iResult;
  • iResult = SELECT_FROM_LIST(literal_string(1520),literal_string(1521));
  • if (iResult != 1)
  • return;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_no_device(0);
  • _set_comm_status(0xFF,0);
  • SET_NUMBER_OF_RETRIES(5);
  • send(525,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(525,achCmdStatus[0]);
  • }
  • else
  • {
  • ACKNOWLEDGE(literal_string(1560));
  • }
  • send_trans(523,0,achCmdStatus);


请登录以获得完整内容