GTB 2.2.2.2
ReSharper run on GenesisMeter.cs
This commit is contained in:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user