Loading…
Loading…
Method Name: HistReset_method
Method ID: 0x4002
Method Label: Zerar Histórico
Method Help: Limpa entradas no Histórico de eventos e redefine o tempo de execução para 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(1568),literal_string(1569));
- if (result == 0)
- {
- send_trans(253,0,status);
- if (status[0] != 0)
Please login for more