Loading…

方法名称: alert_status_method

方法ID: 0x418D

方法标签: Active Alerts

方法描述:


  • {
  • char status[3];
  • char xmtr_status[25];
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_no_device(2);
  • get_more_status(status,xmtr_status);
  • if (xmtr_status[0] & 0x02)
  • {
  • ACKNOWLEDGE(literal_string(705));
  • }
  • if (xmtr_status[0] & 0x08)
  • {
  • ACKNOWLEDGE(literal_string(706));
  • }
  • if (xmtr_status[0] & 0x10)
  • {
  • ACKNOWLEDGE(literal_string(707));


请登录以获得完整内容