Ejemplo n.º 1
0
 private void _eventNotifier_VariableValueChanged(object sender, PviApplicationEventArgs e)
 {
     if (ConfigurationProvider.VerboseVariableLogging)
     {
         _log.Info(e.Message);
     }
 }
Ejemplo n.º 2
0
        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();
            }
        }
Ejemplo n.º 3
0
 private void _eventNotifier_CpuDisconnected(object sender, PviApplicationEventArgs e)
 {
 }
Ejemplo n.º 4
0
 private void _eventNotifier_CpuError(object sender, PviApplicationEventArgs e)
 {
     _log.Info(e.Message);
 }
Ejemplo n.º 5
0
 private void _eventNotifier_VariableConnected(object sender, PviApplicationEventArgs e)
 {
     _log.Info(e.Message);
 }
Ejemplo n.º 6
0
 private void _eventNotifier_PviServiceDisconnected(object sender, PviApplicationEventArgs e)
 {
     System.Threading.Thread.Sleep(TimeSpan.FromSeconds(10));
     _serviceWrapper.ReConnectPviService();
 }
Ejemplo n.º 7
0
 private void _eventNotifier_PviServiceError(object sender, PviApplicationEventArgs e)
 {
 }