Loading…
Loading…
Method Name: HistReset_method
Method ID: 0x4003
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(1515),literal_string(1516));
- if (result == 0)
- {
- send_trans(253,0,status);
- if (status[0] != 0)
- {
- _get_dev_var_value(literal_string(1517),0,16404);
Please login for more