Loading…

方法名称: ClearEventLogsMethod

方法ID: 0x4277

方法标签: Clear Event Logs

方法描述: This method is used to clear an event log for sensor1, sensor2, the network module or the sc200.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wChoice;
  • int slen1;
  • slen1 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • iOneHighUnsignedIntegerIndexSC200 = 21;
  • wChoice = SELECT_FROM_LIST("|en|Which event log do you want to clear?","|en|None;Sensor1;Sensor2;Network Module;sc200" );
  • if( wChoice == 0 )
  • {
  • DELAY( 2,"|en|No event logs cleared, aborting. " );
  • process_abort();
  • }
  • eClearEventLogs = wChoice;
  • send( 203, acStatus );
  • if( acStatus[0] != 0 )


请登录以获得完整内容