Loading…
Loading…
方法名称: alarm1_stat
方法ID: 0x4122
方法标签: Status Alarm1
方法描述: When set, indicates that Event 1 has reached its programmed setpoint.
- {
- char status[3];
- char xmtr_status[25];
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- get_more_status(status,xmtr_status);
- if (xmtr_status[3] & 0x40)
- {
- ACKNOWLEDGE(literal_string(259));
- }
- else
- {
- ACKNOWLEDGE(literal_string(260));
- }
请登录以获得完整内容