Loading…

方法名称: GetHealthStatus

方法ID: 0x0403

方法标签: GetHealthStatus

方法描述:


  • {
  • char achCmdStatus[3];
  • int status;
  • unsigned char priority;
  • priority = 0;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • send_command_trans(48,0);
  • if (extended_fld_device_status == 0)
  • priority = 5;
  • if ((extended_fld_device_status & 0x01) != 0)
  • {
  • priority = 4;
  • }
  • if ((extended_fld_device_status & 0x10) != 0)


请登录以获得完整内容