Loading…

方法名称: MthResetCondensedStatusMap

方法ID: 0x4648

方法标签: Reset to default

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


  • {
  • char achCmdStatus[3];
  • int iResult;
  • iResult = SELECT_FROM_LIST(literal_string(2165),literal_string(2166));
  • 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(2208));
  • }
  • send_trans(523,0,achCmdStatus);


请登录以获得完整内容