Loading…

方法名称: HistReset_method

方法ID: 0x40DB

方法标签: Reset History

方法描述: 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(417),literal_string(418));
  • if (result == 1)
  • {
  • send(222,status);


请登录以获得完整内容