Loading…
Loading…
Method Name: HistReset_method
Method ID: 0x40FC
Method Label: Reset History
Method Help: Clears entries in Status History and resets the run time to zero.
- {
- char status[3];
- char disp_string1[60];
- int result;
- int i;
- int number_of_events;
- _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(641),literal_string(642));
- if (result == 1)
- {
- send(222,status);
Please login for more