Loading…
Loading…
Method Name: HistReset_method
Method ID: 0x4002
Method Label: Reset Event History
Method Help: Clears entries in Event History and resets the run time to zero.
- {
- char status[3];
- int result;
- int i;
- int number_of_events;
- int event_number;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- number_of_events = 0;
- result = SELECT_FROM_LIST(literal_string(1707),literal_string(1708));
- if (result == 0)
- {
- send_trans(253,0,status);
- if (status[0] != 0)
Please login for more