Loading…
Loading…
方法名称: methodClearHistoricFaults
方法ID: 0x4042
方法标签: Clear All Faults
方法描述: Clear the historic and current device faults/status.
- {
- char status[3];
- int result;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- result = SELECT_FROM_LIST(literal_string(809),literal_string(805));
- if (result == 1)
- {
- _iassign(16587,1);
- send(138,status);
- if (status[2] & 0x80)
- {
- ACKNOWLEDGE(literal_string(806));
- }
- send(136,status);
- ACKNOWLEDGE(literal_string(807));
- }
请登录以获得完整内容