private void _eventNotifier_VariableValueChanged(object sender, PviApplicationEventArgs e) { if (ConfigurationProvider.VerboseVariableLogging) { _log.Info(e.Message); } }
private void _eventNotifier_PviServiceConnected(object sender, PviApplicationEventArgs e) { _cpuManager = e.CpuManager; _variableManager = e.VariableManager; _log.Info(e.Message); if (_cpuManager == null) { _log.Error($"_eventNotifier_PviServiceConnected CpuManager is null"); } else { _cpuManager.LoadCpus(); } }
private void _eventNotifier_CpuDisconnected(object sender, PviApplicationEventArgs e) { }
private void _eventNotifier_CpuError(object sender, PviApplicationEventArgs e) { _log.Info(e.Message); }
private void _eventNotifier_VariableConnected(object sender, PviApplicationEventArgs e) { _log.Info(e.Message); }
private void _eventNotifier_PviServiceDisconnected(object sender, PviApplicationEventArgs e) { System.Threading.Thread.Sleep(TimeSpan.FromSeconds(10)); _serviceWrapper.ReConnectPviService(); }
private void _eventNotifier_PviServiceError(object sender, PviApplicationEventArgs e) { }