private void PublishMessage() { _prepareTerminatedModule = _modules.Peek(); _logger.Trace($"begin stop {_prepareTerminatedModule.ToString()}..."); MessageHub.Instance.Publish(new TerminationSignal(_prepareTerminatedModule)); _timer.Start(); }
public TerminationSignal(TerminatedModuleEnum module) { Module = module; }
public TerminatedModule(TerminatedModuleEnum module) { Module = module; }