Loading…

方法名称: GetHealthStatus

方法ID: 0x0403

方法标签: Get Health Status

方法描述:


  • {
  • int errors;
  • int warnings;
  • errors = device_specific_status_enum_0;
  • warnings = device_specific_status_1_4;
  • if (errors != 0)
  • {
  • return 1;
  • }
  • else
  • if (warnings != 0)
  • {
  • if (warnings & 0x00002 == 1 || warnings & 0x00004 == 1 || warnings & 0x00008 == 1 || warnings & 0x00400 == 1 || warnings & 0x00800 == 1 || warnings & 0x04000 == 1 || warnings & 0x10000 == 1 || warnings & 0x20000 == 1)
  • {


请登录以获得完整内容