Loading…

方法名称: GetHealthStatus

方法ID: 0x0403

方法标签: GetHealthStatus

方法描述:


  • {
  • char achCmdStatus[3];
  • int status;
  • unsigned char healthStatus;
  • healthStatus = 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);
  • healthStatus = 0;
  • if ((extended_fld_device_status & 0x08) != 0)
  • {
  • healthStatus = 1;
  • }
  • else
  • if ((extended_fld_device_status & 0x20) != 0)
  • {
  • healthStatus = 2;


请登录以获得完整内容