protected override void OnStop() { mngr.StopThreads(); appLog.WriteAction(Localization.UseRussian ? "Служба ScadaCommService остановлена" : "ScadaCommService is stopped", Log.ActTypes.Action); appLog.WriteBreak(); }
public void OnStop() { mngr.StopThreads(); System.IO.File.Delete(STOP_FILE_PATH); appLog.WriteAction(Localization.UseRussian ? "Служба ScadaCommService остановлена" : "ScadaCommService is stopped", Log.ActTypes.Action); appLog.WriteBreak(); }