GTB 2.2.2.2

ReSharper run on GenesisMeter.cs
This commit is contained in:
Thomas Wiedebusch
2022-04-26 21:21:14 +02:00
parent 99e5550aed
commit 62a07570ef
73 changed files with 303 additions and 117 deletions
@@ -47,10 +47,10 @@ namespace ProductionUiCordonel.ProductionProcesses.Actions
UserControl.lblHl.Dispatcher.Invoke(DispatcherPriority.Send,
new Action(() => { UserControl.lblHl.Content = "Read out Registers"; }
));
var oldConfigEntry = Meter._configuration.UseRegisterWatchService;
var oldConfigEntry = Meter.Configuration.UseRegisterWatchService;
if (oldConfigEntry)
{
Meter._configuration.UseRegisterWatchService = false;
Meter.Configuration.UseRegisterWatchService = false;
}
var total = Meter.GetRegistersDic().Keys.ToList();
@@ -81,7 +81,7 @@ namespace ProductionUiCordonel.ProductionProcesses.Actions
}
Meter.StoreCurrentRegisterDic();
Meter._configuration.UseRegisterWatchService = oldConfigEntry;
Meter.Configuration.UseRegisterWatchService = oldConfigEntry;
currentProcessState = ProductionProcessState.Done;
}