Refactorization : BenchControl -> Rig

This commit is contained in:
Milan Hanajik
2021-03-05 16:12:24 +01:00
parent 84c8ec26b6
commit 6cf3bd6160
1461 changed files with 6330 additions and 6330 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ using System.Windows.Forms;
using log4net;
using Config.Entities;
using Results.Entities;
using TBF.BenchControl.Sequences;
using TBF.Rig.Sequences;
using TBF.UiBridge;
using TBF.Resources;
@@ -433,10 +433,10 @@ namespace TBF.UI.Process
sensor[i].Text = (args.MetersPath.RegisterReaders[i] == null) ? "" : args.MetersPath.RegisterReaders[i].Cfg.Name;
}
if (args.FeedingPath != null && (args.FeedingPath.Pump is BenchControl.GenericDevices.IPumpFM))
if (args.FeedingPath != null && (args.FeedingPath.Pump is Rig.GenericDevices.IPumpFM))
{
pumpPctTextBox.Visible = true;
pumpPctTextBox.Text = (args.FeedingPath.Pump as BenchControl.GenericDevices.IPumpFM).Power.ToString("F0") + " %";
pumpPctTextBox.Text = (args.FeedingPath.Pump as Rig.GenericDevices.IPumpFM).Power.ToString("F0") + " %";
}
else
{
@@ -493,7 +493,7 @@ namespace TBF.UI.Process
{
for (int i = 0; i < Math.Min(textBoxesCount, ProcessData.RegisterReaders.Length); i++)
{
BenchControl.GenericDevices.IRegReader rr = ProcessData.RegisterReaders[i];
Rig.GenericDevices.IRegReader rr = ProcessData.RegisterReaders[i];
if (rr != null)
{
pulses[i].Text = rr.WMPulses.ToString();
@@ -512,7 +512,7 @@ namespace TBF.UI.Process
double compoundVolume = 0;
for (int i = 2 * compMtr; i < end; i++)
{
BenchControl.GenericDevices.IRegReader rr = ProcessData.RegisterReaders[i];
Rig.GenericDevices.IRegReader rr = ProcessData.RegisterReaders[i];
if (rr != null)
{
pulses[i].Text = rr.WMPulses.ToString();