diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs index 0aa63ec..c3f4c48 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs @@ -12,6 +12,7 @@ using IAction = Mesnac.Action.Base.IAction; using Mesnac.Core.Service; using static Mesnac.Action.ChemicalWeighing.AutoControl.AutoLogHelper; using static Mesnac.Action.ChemicalWeighing.AutoControl.PlcAutoWriteHelper; +using Mesnac.Controls.Default; namespace Mesnac.Action.ChemicalWeighing.AutoControl { @@ -30,7 +31,11 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl McControls = GetAllControls(); - ControlsHelper.ControlImport(TextE, ButtonE, ComboE, LabelE, RadioE, McControls); + ControlsHelper.ControlImport(TextE, McControls); + ControlsHelper.ControlImport(ButtonE, McControls); + ControlsHelper.ControlImport(ComboE, McControls); + ControlsHelper.ControlImport(LabelE, McControls); + ControlsHelper.ControlImport(RadioE, McControls); try { diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs index 4810b2c..d2c08e8 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs @@ -1,4 +1,5 @@ using Mesnac.Action.ChemicalWeighing.AutoControl.Entity; +using Mesnac.Action.ChemicalWeighing.Util; using Mesnac.Controls.Base; using Mesnac.Controls.ChemicalWeighing; using Mesnac.Controls.Default; @@ -12,32 +13,8 @@ using System.Windows.Forms; namespace Mesnac.Action.ChemicalWeighing.AutoControl { - public class ControlsHelper + public class ControlsHelper : ControlsImprot { - /// - /// 控件导入 - /// - public static void ControlImport(MCTextBoxEntity textE, ButtonEntity buttonE, - MCComboBoxEntity comboE, MCLabelEntity labelE, MCRadioButtonEntity radioE, - List McControls) - { - FillBase(textE, McControls); - FillBase(buttonE, McControls); - FillBase(comboE, McControls); - FillBase(labelE, McControls); - FillBase(radioE, McControls); - } - - private static void FillBase(object E, List McControls) where T : class - { - PropertyInfo[] sourcePropertyInfoList = E.GetType().GetProperties(); - foreach (PropertyInfo sourceProperty in sourcePropertyInfoList) - { - string name = sourceProperty.Name; - var pro = McControls.FirstOrDefault(x => x.Name == name) as T; - sourceProperty.SetValue(E, pro); - } - } /// /// 单选选择 diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs index 10545df..e2a0471 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs @@ -39,7 +39,11 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl base.RunIni(runtime); //必须要调用 McControls = GetAllControls(); - ControlsHelper.ControlImport(TextE, ButtonE, ComboE, LabelE, RadioE, McControls); + ControlsHelper.ControlImport(TextE, McControls); + ControlsHelper.ControlImport(ButtonE, McControls); + ControlsHelper.ControlImport(ComboE, McControls); + ControlsHelper.ControlImport(LabelE, McControls); + ControlsHelper.ControlImport(RadioE, McControls); ControlInit(); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/ControlsHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/ControlsHelper.cs new file mode 100644 index 0000000..11077a9 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/ControlsHelper.cs @@ -0,0 +1,20 @@ +using Mesnac.Action.ChemicalWeighing.AutoControl.Entity; +using Mesnac.Action.ChemicalWeighing.LjDeliver.Entity; +using Mesnac.Action.ChemicalWeighing.Util; +using Mesnac.Controls.ChemicalWeighing; +using Mesnac.Controls.Default; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.LjDeliver +{ + public class ControlsHelper : ControlsImprot + { + + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs new file mode 100644 index 0000000..e0d9b00 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs @@ -0,0 +1,105 @@ +using DevExpress.Data.Filtering.Helpers; +using Mesnac.Action.Base; +using Mesnac.Action.ChemicalWeighing.LjDeliver.Entity; +using Mesnac.Controls.ChemicalWeighing; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.LjDeliver +{ + public class DeliverInitAction : ChemicalWeighingAction, IAction + { + List Controls; + + HslBottleEntity bottleE = new HslBottleEntity(); + + public void Run(RuntimeParameter runtime) + { + base.RunIni(runtime); //必须调用 + + Controls = GetAllControls(); + + ControlsHelper.ControlImport(bottleE, Controls); + + wangsr(); + + } + + private void wangsr() + { + Random rd = new Random(); + + bool[] bottleFlag = new bool[15]; + + for (int i = 0; i < bottleFlag.Length; i++) + { + bottleFlag[i] = Convert.ToBoolean(rd.Next(0, 2)); + } + + Type bottleType = bottleE.GetType(); + PropertyInfo[] properties = bottleType.GetProperties(); + + ThreadStart threadStart = new ThreadStart(() => + { + double n = 100 / 15; + + int i = 0; + + foreach (PropertyInfo sourceProperty in properties) + { + string name = sourceProperty.Name; + PropertyInfo property = bottleType.GetProperty(name); + HslBottle bottle = (HslBottle)property.GetValue(bottleE); + //bottle.Value = n * i++; + bottle.Value = rd.Next(100); + property.SetValue(bottleE, bottle); + } + + int num; + + while (Application.OpenForms["LjDeliver"] != null) + { + num = 0; + + foreach (PropertyInfo sourceProperty in properties) + { + string name = sourceProperty.Name; + PropertyInfo property = bottleType.GetProperty(name); + HslBottle bottle = (HslBottle)property.GetValue(bottleE); + + if (bottle.Value <= 0.2) + { + bottleFlag[num] = true; + } + if (bottle.Value >= 99.8) + { + bottleFlag[num] = false; + } + + if (bottleFlag[num]) + { + bottle.Value += 0.2; + } + else + { + bottle.Value -= 0.2; + } + + property.SetValue(bottleE, bottle); + + num++; + } + Thread.Sleep(1); + } + }); + Thread thread = new Thread(threadStart); + thread.Start(); + } + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/Entity/DeliverEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/Entity/DeliverEntity.cs new file mode 100644 index 0000000..a37d8ee --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/Entity/DeliverEntity.cs @@ -0,0 +1,28 @@ +using Mesnac.Controls.ChemicalWeighing; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Mesnac.Action.ChemicalWeighing.LjDeliver.Entity +{ + public class HslBottleEntity + { + public HslBottle Bottle1 { get; set; } + public HslBottle Bottle2 { get; set; } + public HslBottle Bottle3 { get; set; } + public HslBottle Bottle4 { get; set; } + public HslBottle Bottle5 { get; set; } + public HslBottle Bottle6 { get; set; } + public HslBottle Bottle7 { get; set; } + public HslBottle Bottle8 { get; set; } + public HslBottle Bottle9 { get; set; } + public HslBottle Bottle10 { get; set; } + public HslBottle Bottle11 { get; set; } + public HslBottle Bottle12 { get; set; } + public HslBottle Bottle13 { get; set; } + public HslBottle Bottle14 { get; set; } + public HslBottle Bottle15 { get; set; } + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/ControlsHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/ControlsHelper.cs new file mode 100644 index 0000000..a144cc2 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/ControlsHelper.cs @@ -0,0 +1,13 @@ +using Mesnac.Action.ChemicalWeighing.Util; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Mesnac.Action.ChemicalWeighing.MainDetailControl +{ + public class ControlsHelper : ControlsImprot + { + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/DeviceDetailEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/DeviceDetailEntity.cs index 22f0d6c..0affc5e 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/DeviceDetailEntity.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/DeviceDetailEntity.cs @@ -10,214 +10,62 @@ using Mesnac.Controls.Feeding; namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity { - public class DeviceDetailEntity + public class MCLabelEntity { - public MCLabel DAMode { get; set; } - public MCLabel DAStatus { get; set; } - public MCLabel DABatch { get; set; } - public MCLabel DAStep { get; set; } - public MCLabel DAStepCode { get; set; } - public MCLabel DATotalTime { get; set; } - public MCLabel DAStepTime { get; set; } - public MCLabel DATemperature { get; set; } - public MCLabel DASpeed { get; set; } - public MCLabel DBMode { get; set; } - public MCLabel DBStatus { get; set; } - public MCLabel DBBatch { get; set; } - public MCLabel DBStep { get; set; } - public MCLabel DBStepCode { get; set; } - public MCLabel DBTotalTime { get; set; } - public MCLabel DBStepTime { get; set; } - public MCLabel DBTemperature { get; set; } - public MCLabel DBSpeed { get; set; } - public MCLabel DCMode { get; set; } - public MCLabel DCStatus { get; set; } - public MCLabel DCBatch { get; set; } - public MCLabel DCStep { get; set; } - public MCLabel DCStepCode { get; set; } - public MCLabel DCTotalTime { get; set; } - public MCLabel DCStepTime { get; set; } - public MCLabel DCTemperature { get; set; } - public MCLabel DCSpeed { get; set; } - public MCLabel DDMode { get; set; } - public MCLabel DDStatus { get; set; } - public MCLabel DDBatch { get; set; } - public MCLabel DDStep { get; set; } - public MCLabel DDStepCode { get; set; } - public MCLabel DDTotalTime { get; set; } - public MCLabel DDStepTime { get; set; } - public MCLabel DDTemperature { get; set; } - public MCLabel DDSpeed { get; set; } - - public MCLabel WAMode { get; set; } - public MCLabel WAStatus { get; set; } - public MCLabel WABatch { get; set; } - public MCLabel WAStep { get; set; } - public MCLabel WAStepCode { get; set; } - public MCLabel WATotalTime { get; set; } - public MCLabel WAStepTime { get; set; } - public MCLabel WATemperature { get; set; } - public MCLabel WASpeed { get; set; } - public MCLabel WBMode { get; set; } - public MCLabel WBStatus { get; set; } - public MCLabel WBBatch { get; set; } - public MCLabel WBStep { get; set; } - public MCLabel WBStepCode { get; set; } - public MCLabel WBTotalTime { get; set; } - public MCLabel WBStepTime { get; set; } - public MCLabel WBTemperature { get; set; } - public MCLabel WBSpeed { get; set; } - public MCLabel WCMode { get; set; } - public MCLabel WCStatus { get; set; } - public MCLabel WCBatch { get; set; } - public MCLabel WCStep { get; set; } - public MCLabel WCStepCode { get; set; } - public MCLabel WCTotalTime { get; set; } - public MCLabel WCStepTime { get; set; } - public MCLabel WCTemperature { get; set; } - public MCLabel WCSpeed { get; set; } - public MCLabel WDMode { get; set; } - public MCLabel WDStatus { get; set; } - public MCLabel WDBatch { get; set; } - public MCLabel WDStep { get; set; } - public MCLabel WDStepCode { get; set; } - public MCLabel WDTotalTime { get; set; } - public MCLabel WDStepTime { get; set; } - public MCLabel WDTemperature { get; set; } - public MCLabel WDSpeed { get; set; } - public MCLabel WEMode { get; set; } - public MCLabel WEStatus { get; set; } - public MCLabel WEBatch { get; set; } - public MCLabel WEStep { get; set; } - public MCLabel WEStepCode { get; set; } - public MCLabel WETotalTime { get; set; } - public MCLabel WEStepTime { get; set; } - public MCLabel WETemperature { get; set; } - public MCLabel WESpeed { get; set; } - public MCLabel WFMode { get; set; } - public MCLabel WFStatus { get; set; } - public MCLabel WFBatch { get; set; } - public MCLabel WFStep { get; set; } - public MCLabel WFStepCode { get; set; } - public MCLabel WFTotalTime { get; set; } - public MCLabel WFStepTime { get; set; } - public MCLabel WFTemperature { get; set; } - public MCLabel WFSpeed { get; set; } - public MCLabel WGMode { get; set; } - public MCLabel WGStatus { get; set; } - public MCLabel WGBatch { get; set; } - public MCLabel WGStep { get; set; } - public MCLabel WGStepCode { get; set; } - public MCLabel WGTotalTime { get; set; } - public MCLabel WGStepTime { get; set; } - public MCLabel WGTemperature { get; set; } - public MCLabel WGSpeed { get; set; } - public MCLabel WHMode { get; set; } - public MCLabel WHStatus { get; set; } - public MCLabel WHBatch { get; set; } - public MCLabel WHStep { get; set; } - public MCLabel WHStepCode { get; set; } - public MCLabel WHTotalTime { get; set; } - public MCLabel WHStepTime { get; set; } - public MCLabel WHTemperature { get; set; } - public MCLabel WHSpeed { get; set; } - - public MCLabel WACurrent { get; set; } - public MCLabel WAPressure { get; set; } - public MCLabel WBCurrent { get; set; } - public MCLabel WBPressure { get; set; } - public MCLabel WCCurrent { get; set; } - public MCLabel WCPressure { get; set; } - public MCLabel WDCurrent { get; set; } - public MCLabel WDPressure { get; set; } - public MCLabel WECurrent { get; set; } - public MCLabel WEPressure { get; set; } - public MCLabel WFCurrent { get; set; } - public MCLabel WFPressure { get; set; } - public MCLabel WGCurrent { get; set; } - public MCLabel WGPressure { get; set; } - public MCLabel WHCurrent { get; set; } - public MCLabel WHPressure { get; set; } - - - - public MCLabel GAMode { get; set; } - public MCLabel GAStatus { get; set; } - public MCLabel GABatch { get; set; } - public MCLabel GAStep { get; set; } - public MCLabel GAStepCode { get; set; } - public MCLabel GATotalTime { get; set; } - public MCLabel GAStepTime { get; set; } - public MCLabel GATemperature { get; set; } - public MCLabel GASpeed { get; set; } - public MCLabel GBMode { get; set; } - public MCLabel GBStatus { get; set; } - public MCLabel GBBatch { get; set; } - public MCLabel GBStep { get; set; } - public MCLabel GBStepCode { get; set; } - public MCLabel GBTotalTime { get; set; } - public MCLabel GBStepTime { get; set; } - public MCLabel GBTemperature { get; set; } - public MCLabel GBSpeed { get; set; } - public MCLabel GCMode { get; set; } - public MCLabel GCStatus { get; set; } - public MCLabel GCBatch { get; set; } - public MCLabel GCStep { get; set; } - public MCLabel GCStepCode { get; set; } - public MCLabel GCTotalTime { get; set; } - public MCLabel GCStepTime { get; set; } - public MCLabel GCTemperature { get; set; } - public MCLabel GCSpeed { get; set; } - public MCLabel GDMode { get; set; } - public MCLabel GDStatus { get; set; } - public MCLabel GDBatch { get; set; } - public MCLabel GDStep { get; set; } - public MCLabel GDStepCode { get; set; } - public MCLabel GDTotalTime { get; set; } - public MCLabel GDStepTime { get; set; } - public MCLabel GDTemperature { get; set; } - public MCLabel GDSpeed { get; set; } - public MCLabel GEMode { get; set; } - public MCLabel GEStatus { get; set; } - public MCLabel GEBatch { get; set; } - public MCLabel GEStep { get; set; } - public MCLabel GEStepCode { get; set; } - public MCLabel GETotalTime { get; set; } - public MCLabel GEStepTime { get; set; } - public MCLabel GETemperature { get; set; } - public MCLabel GESpeed { get; set; } - public MCLabel GFMode { get; set; } - public MCLabel GFStatus { get; set; } - public MCLabel GFBatch { get; set; } - public MCLabel GFStep { get; set; } - public MCLabel GFStepCode { get; set; } - public MCLabel GFTotalTime { get; set; } - public MCLabel GFStepTime { get; set; } - public MCLabel GFTemperature { get; set; } - public MCLabel GFSpeed { get; set; } - public MCLabel GGMode { get; set; } - public MCLabel GGStatus { get; set; } - public MCLabel GGBatch { get; set; } - public MCLabel GGStep { get; set; } - public MCLabel GGStepCode { get; set; } - public MCLabel GGTotalTime { get; set; } - public MCLabel GGStepTime { get; set; } - public MCLabel GGTemperature { get; set; } - public MCLabel GGSpeed { get; set; } - public MCLabel GHMode { get; set; } - public MCLabel GHStatus { get; set; } - public MCLabel GHBatch { get; set; } - public MCLabel GHStep { get; set; } - public MCLabel GHStepCode { get; set; } - public MCLabel GHTotalTime { get; set; } - public MCLabel GHStepTime { get; set; } - public MCLabel GHTemperature { get; set; } - public MCLabel GHSpeed { get; set; } - - public StateButton WatchDog { get; set; } - - public SystemStateShow EMStop { get; set; } + public MCLabel topPressure_V1 { get; set; } + public MCLabel topPressure_V2 { get; set; } + public MCLabel topPressure_V3 { get; set; } + public MCLabel topPressure_V4 { get; set; } + public MCLabel topPressure_V5 { get; set; } + public MCLabel Vessel_1_ActWeight { get; set; } + public MCLabel Vessel_2_ActWeight { get; set; } + public MCLabel Vessel_3_ActWeight { get; set; } + public MCLabel Vessel_4_ActWeight { get; set; } + public MCLabel Vessel_5_ActWeight { get; set; } + public MCLabel conveyV1_PV { get; set; } + public MCLabel conveyV2_PV { get; set; } + public MCLabel conveyV3_PV { get; set; } + public MCLabel conveyV5_PV { get; set; } + public MCLabel mainPress_V1_ActualValue { get; set; } + public MCLabel mainPress_V2_ActualValue { get; set; } + public MCLabel mainPress_V3_ActualValue { get; set; } + public MCLabel mainPress_V5_ActualValue { get; set; } + public MCLabel purgeV1_PV { get; set; } + public MCLabel purgeV2_PV { get; set; } + public MCLabel purgeV3_PV { get; set; } + public MCLabel purgeV5_PV { get; set; } + public MCLabel WScale_1_ActWeight { get; set; } + public MCLabel WScale_2_ActWeight { get; set; } + public MCLabel WScale_3_ActWeight { get; set; } + public MCLabel WScale_4_ActWeight { get; set; } + public MCLabel DM1DRY1_ACT_Speed { get; set; } + public MCLabel DM1DRY2_ACT_Speed { get; set; } + public MCLabel DM1DRY3_ACT_Speed { get; set; } + public MCLabel DM1DRY4_ACT_Speed { get; set; } + public MCLabel Hopper_1_ActWeight { get; set; } + public MCLabel Hopper_2_ActWeight { get; set; } + public MCLabel Hopper_3_ActWeight { get; set; } + public MCLabel Hopper_4_ActWeight { get; set; } + public MCLabel DM1GEM { get; set; } + public MCLabel DM2GEM { get; set; } + public MCLabel DM3GEM { get; set; } + public MCLabel DM4GEM { get; set; } + public MCLabel DM5GEM { get; set; } + public MCLabel DM6GEM { get; set; } + public MCLabel DM7GEM { get; set; } + public MCLabel DM8GEM { get; set; } + public MCLabel DM2ASF01 { get; set; } + public MCLabel DM2BSF01 { get; set; } + public MCLabel DM2CSF01 { get; set; } + public MCLabel DM2DSF01 { get; set; } + public MCLabel ValueWeight1 { get; set; } + public MCLabel ValueWeight2 { get; set; } + public MCLabel ValueWeight3 { get; set; } + public MCLabel ValueWeight4 { get; set; } + } + public class SwitchLightEntity + { public SwitchLight Vessel_1_HighLevel { get; set; } public SwitchLight Vessel_2_HighLevel { get; set; } public SwitchLight Vessel_3_HighLevel { get; set; } @@ -276,82 +124,42 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public SwitchLight DMWETER77 { get; set; } public SwitchLight DMWETER8 { get; set; } public SwitchLight DMWETER88 { get; set; } + } - public MCLabel topPressure_V1 { get; set; } - public MCLabel topPressure_V2 { get; set; } - public MCLabel topPressure_V3 { get; set; } - public MCLabel topPressure_V4 { get; set; } - public MCLabel topPressure_V5 { get; set; } - public MCLabel Vessel_1_ActWeight { get; set; } - public MCLabel Vessel_2_ActWeight { get; set; } - public MCLabel Vessel_3_ActWeight { get; set; } - public MCLabel Vessel_4_ActWeight { get; set; } - public MCLabel Vessel_5_ActWeight { get; set; } - public MCLabel conveyV1_PV { get; set; } - public MCLabel conveyV2_PV { get; set; } - public MCLabel conveyV3_PV { get; set; } - public MCLabel conveyV5_PV { get; set; } - public MCLabel mainPress_V1_ActualValue { get; set; } - public MCLabel mainPress_V2_ActualValue { get; set; } - public MCLabel mainPress_V3_ActualValue { get; set; } - public MCLabel mainPress_V5_ActualValue { get; set; } - public MCLabel purgeV1_PV { get; set; } - public MCLabel purgeV2_PV { get; set; } - public MCLabel purgeV3_PV { get; set; } - public MCLabel purgeV5_PV { get; set; } - public MCLabel WScale_1_ActWeight { get; set; } - public MCLabel WScale_2_ActWeight { get; set; } - public MCLabel WScale_3_ActWeight { get; set; } - public MCLabel WScale_4_ActWeight { get; set; } - public MCLabel DM1DRY1_ACT_Speed { get; set; } - public MCLabel DM1DRY2_ACT_Speed { get; set; } - public MCLabel DM1DRY3_ACT_Speed { get; set; } - public MCLabel DM1DRY4_ACT_Speed { get; set; } - public MCLabel Hopper_1_ActWeight { get; set; } - public MCLabel Hopper_2_ActWeight { get; set; } - public MCLabel Hopper_3_ActWeight { get; set; } - public MCLabel Hopper_4_ActWeight { get; set; } - public MCLabel DM1GEM { get; set; } - public MCLabel DM2GEM { get; set; } - public MCLabel DM3GEM { get; set; } - public MCLabel DM4GEM { get; set; } - public MCLabel DM5GEM { get; set; } - public MCLabel DM6GEM { get; set; } - public MCLabel DM7GEM { get; set; } - public MCLabel DM8GEM { get; set; } - public MCLabel DM2ASF01 { get; set; } - public MCLabel DM2BSF01 { get; set; } - public MCLabel DM2CSF01 { get; set; } - public MCLabel DM2DSF01 { get; set; } - public MCLabel ValueWeight1 { get; set; } - public MCLabel ValueWeight2 { get; set; } - public MCLabel ValueWeight3 { get; set; } - public MCLabel ValueWeight4 { get; set; } - + public class RSCREWBIGEntity + { public RSCREWBIG DM1ASF01 { get; set; } public RSCREWBIG DM1BSF01 { get; set; } - public LSCREWBIG DM1CSF01 { get; set; } - public LSCREWBIG DM1DSF01 { get; set; } public RSCREWBIG DM1ESF01 { get; set; } - public LSCREWBIG DM1FSF01 { get; set; } public RSCREWBIG DM1GSF01 { get; set; } public RSCREWBIG DM1HSF01 { get; set; } - public LSCREWBIG DM1ISF01 { get; set; } - public LSCREWBIG DM1JSF01 { get; set; } public RSCREWBIG DM1KSF01 { get; set; } public RSCREWBIG DM1LSF01 { get; set; } + public RSCREWBIG DM1OSF01 { get; set; } + public RSCREWBIG DM2ASF01R { get; set; } + public RSCREWBIG DM2BSF01R { get; set; } + public RSCREWBIG DM2CSF01R { get; set; } + public RSCREWBIG DM2DSF01R { get; set; } + } + + public class LSCREWBIGEntity + { + public LSCREWBIG DM1CSF01 { get; set; } + public LSCREWBIG DM1DSF01 { get; set; } + public LSCREWBIG DM1FSF01 { get; set; } + public LSCREWBIG DM1ISF01 { get; set; } + public LSCREWBIG DM1JSF01 { get; set; } public LSCREWBIG DM1MSF01 { get; set; } public LSCREWBIG DM1NSF01 { get; set; } - public RSCREWBIG DM1OSF01 { get; set; } public LSCREWBIG DM2ASF01L { get; set; } public LSCREWBIG DM2BSF01L { get; set; } public LSCREWBIG DM2CSF01L { get; set; } public LSCREWBIG DM2DSF01L { get; set; } - public RSCREWBIG DM2ASF01R { get; set; } - public RSCREWBIG DM2BSF01R { get; set; } - public RSCREWBIG DM2CSF01R { get; set; } - public RSCREWBIG DM2DSF01R { get; set; } + } + + public class JzfEntity + { public Jzf AS1BLT01 { get; set; } public Jzf AS1BLT02 { get; set; } public Jzf AS1BLT03 { get; set; } @@ -405,7 +213,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public Jzf AS7GET02 { get; set; } public Jzf AS8GET01 { get; set; } public Jzf AS8GET02 { get; set; } + } + public class FanEntity + { public Fan DM1ADF01 { get; set; } public Fan DM1BDF01 { get; set; } public Fan DM1CDF01 { get; set; } @@ -435,7 +246,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public Fan DM1DRY3_Running { get; set; } public Fan DM1DRY4_Running { get; set; } public Fan PM3ADF01 { get; set; } + } + public class ControlCabinetEntity + { public ControlCabinet PM1ADF01 { get; set; } public ControlCabinet PM1BDF01 { get; set; } public ControlCabinet PM1CDF01 { get; set; } @@ -448,7 +262,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public ControlCabinet PM1JDF01 { get; set; } public ControlCabinet PM1KDF01 { get; set; } public ControlCabinet PM1LDF01 { get; set; } + } + public class LjSwithEntity + { public LjSwith BU1ASF01 { get; set; } public LjSwith BU1BSF01 { get; set; } public LjSwith BU1CSF01 { get; set; } @@ -542,7 +359,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public LjSwith BUWeter6 { get; set; } public LjSwith BUWeter7 { get; set; } public LjSwith BUWeter8 { get; set; } + } + public class ThreeWayValveEntity + { public ThreeWayValve DV2PCP01 { get; set; } public ThreeWayValve DV2PCP02 { get; set; } public ThreeWayValve DV2PCP03 { get; set; } @@ -557,4 +377,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public ThreeWayValve DV2PCP12 { get; set; } public ThreeWayValve DV2PCP13 { get; set; } } + + public class DeviceDetailEntity + { + public StateButton WatchDog { get; set; } + public SystemStateShow EMStop { get; set; } + } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslLanternAlarmEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslControlsEntity.cs similarity index 99% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslLanternAlarmEntity.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslControlsEntity.cs index d54f982..8138d1f 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslLanternAlarmEntity.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/Entity/HslControlsEntity.cs @@ -20,43 +20,28 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity public HslLanternAlarm HslLanternAlarm6 { get; set; } public HslLanternAlarm HslLanternAlarm7 { get; set; } public HslLanternAlarm HslLanternAlarm8 { get; set; } - - } - public class HslLanternSimpleEntity { public HslLanternSimple HslLanternSimple1 { get; set; } public HslLanternSimple HslLanternSimple2 { get; set; } public HslLanternSimple HslLanternSimple3 { get; set; } - public HslLanternSimple HslLanternSimple4 { get; set; } public HslLanternSimple HslLanternSimple5 { get; set; } public HslLanternSimple HslLanternSimple6 { get; set; } public HslLanternSimple HslLanternSimple7 { get; set; } - public HslLanternSimple HslLanternSimple8 { get; set; } - - public HslLanternSimple HslLanternSimpleM1 { get; set; } public HslLanternSimple HslLanternSimpleM2 { get; set; } - public HslLanternSimple HslLanternSimpleM3 { get; set; } - public HslLanternSimple HslLanternSimpleM4 { get; set; } - - public HslLanternSimple HslLanternSimpleReq1 { get; set; } - public HslLanternSimple HslLanternSimpleReq2 { get; set; } - public HslLanternSimple HslLanternSimpleReq3 { get; set; } - public HslLanternSimple HslLanternSimpleReq4 { get; set; } } - public class HslSwitchEntity { public HslSwitch HslSwitch1 { get; set; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index 8677b6a..9a93c01 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -57,13 +57,22 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl private List Controls; private List McControllist; - private DeviceDetailEntity DeviceDetailReportForm = new DeviceDetailEntity(); private PlcReadTempEntity PlcReadTemp = new PlcReadTempEntity(); private DbMCControl AlarmForm = null; //物料列表控件 private MCLabel MCWatchDog; - HslLanternAlarmEntity hslAlarmEntity; - HslLanternSimpleEntity hslLanternSimpleEntity; + HslLanternAlarmEntity HslAlarmE = new HslLanternAlarmEntity(); + HslLanternSimpleEntity HslLanternSimpleE = new HslLanternSimpleEntity(); + MCLabelEntity LabelE = new MCLabelEntity(); + SwitchLightEntity LightE = new SwitchLightEntity(); + RSCREWBIGEntity RSCREE = new RSCREWBIGEntity(); + LSCREWBIGEntity LSCREE = new LSCREWBIGEntity(); + JzfEntity JzfE = new JzfEntity(); + FanEntity FanE = new FanEntity(); + ControlCabinetEntity ControlCabinetE = new ControlCabinetEntity(); + LjSwithEntity SwithE = new LjSwithEntity(); + ThreeWayValveEntity ThreeValveE = new ThreeWayValveEntity(); + DeviceDetailEntity DetailE = new DeviceDetailEntity(); #endregion @@ -82,12 +91,12 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl Controls = GetAllControls(); - //更细自定义控件报警灯 - FillControlHslLanternAlarm(); - FillHslLanternSimple(); - + DetailE.WatchDog = Controls.FirstOrDefault(x => x.Name == "WatchDog") as StateButton; + DetailE.EMStop = Controls.FirstOrDefault(x => x.Name == "EMStop") as SystemStateShow; + + MCWatchDog = Controls.FirstOrDefault(x => x.Name == "MCWatchDog") as MCLabel; - MCWatchDog =Controls.FirstOrDefault(x => x.Name == "MCWatchDog") as MCLabel; + SetAllControls(); ParametersWithPCTable.Columns.Add("id", typeof(string)); ParametersWithPCTable.Columns.Add("mode", typeof(bool)); @@ -119,8 +128,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl TempTable.Columns.Add("报警时间", typeof(string)); AllAlarmTable = DBHelp.GetTable(@"SELECT Alarm_ID, Alarm_Block, Alarm_Word, Alarm_Bit, Alarm_Cn_Info, Alarm_Other_Info FROM Pmt_Alarm"); - - SetControl(); timer = new Timer(); timer.Interval = 1000; @@ -130,8 +137,24 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } + #region 控件导入 + + private void SetAllControls() + { + ControlsHelper.ControlImport(HslAlarmE, Controls); + ControlsHelper.ControlImport(HslLanternSimpleE, Controls); + ControlsHelper.ControlImport(LabelE, Controls); + ControlsHelper.ControlImport(LightE, Controls); + ControlsHelper.ControlImport(RSCREE, Controls); + ControlsHelper.ControlImport(LSCREE, Controls); + ControlsHelper.ControlImport(JzfE, Controls); + ControlsHelper.ControlImport(FanE, Controls); + ControlsHelper.ControlImport(ControlCabinetE, Controls); + ControlsHelper.ControlImport(SwithE, Controls); + ControlsHelper.ControlImport(ThreeValveE, Controls); + } - + #endregion #endregion @@ -204,39 +227,39 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl //目前只有主线程可以 var list = RgvPlcUtil.GetRGVAllError(); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm1, list[0]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm2, list[1]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm3, list[2]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm4, list[3]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm5, list[4]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm6, list[5]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm7, list[6]); - SetHslLanternAlarm(hslAlarmEntity.HslLanternAlarm8, list[7]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm1, list[0]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm2, list[1]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm3, list[2]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm4, list[3]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm5, list[4]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm6, list[5]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm7, list[6]); + SetHslLanternAlarm(HslAlarmE.HslLanternAlarm8, list[7]); var sim = Db3000Helper.ReadDb(); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple1, sim[0]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple2, sim[1]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple3, sim[2]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple4, sim[3]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple5, sim[4]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple6, sim[5]); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple7, false); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimple8, false); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple1, sim[0]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple2, sim[1]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple3, sim[2]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple4, sim[3]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple5, sim[4]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple6, sim[5]); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple7, false); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimple8, false); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimpleM1, MinAnPlc.ReqD1); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimpleM2, MinAnPlc.ReqD2); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimpleM1, MinAnPlc.ReqD1); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimpleM2, MinAnPlc.ReqD2); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimpleM3, MinAnPlc.ReqD3); - SetHslLanternSimple(hslLanternSimpleEntity.HslLanternSimpleM4, MinAnPlc.ReqD4); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimpleM3, MinAnPlc.ReqD3); + SetHslLanternSimple(HslLanternSimpleE.HslLanternSimpleM4, MinAnPlc.ReqD4); - SetHslLanternSimpleRequest(hslLanternSimpleEntity.HslLanternSimpleReq1, MinAnPlc.Heir1); - SetHslLanternSimpleRequest(hslLanternSimpleEntity.HslLanternSimpleReq2, MinAnPlc.Heir2); - SetHslLanternSimpleRequest(hslLanternSimpleEntity.HslLanternSimpleReq3, MinAnPlc.Heir3); - SetHslLanternSimpleRequest(hslLanternSimpleEntity.HslLanternSimpleReq4, MinAnPlc.Heir4); + SetHslLanternSimpleRequest(HslLanternSimpleE.HslLanternSimpleReq1, MinAnPlc.Heir1); + SetHslLanternSimpleRequest(HslLanternSimpleE.HslLanternSimpleReq2, MinAnPlc.Heir2); + SetHslLanternSimpleRequest(HslLanternSimpleE.HslLanternSimpleReq3, MinAnPlc.Heir3); + SetHslLanternSimpleRequest(HslLanternSimpleE.HslLanternSimpleReq4, MinAnPlc.Heir4); @@ -571,113 +594,113 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl PlcReadTemp.DV2PCP13_AlarmR = DB2102.DV2PCP13.AlarmRightPosition; - SetThreeWayValve(DeviceDetailReportForm.DV2PCP01, PlcReadTemp.DV2PCP01_AlarmR, PlcReadTemp.DV2PCP01_SetR, PlcReadTemp.DV2PCP01_AlarmL, PlcReadTemp.DV2PCP01_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP02, PlcReadTemp.DV2PCP02_AlarmR, PlcReadTemp.DV2PCP02_SetR, PlcReadTemp.DV2PCP02_AlarmL, PlcReadTemp.DV2PCP02_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP03, PlcReadTemp.DV2PCP03_AlarmR, PlcReadTemp.DV2PCP03_SetR, PlcReadTemp.DV2PCP03_AlarmL, PlcReadTemp.DV2PCP03_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP04, PlcReadTemp.DV2PCP04_AlarmR, PlcReadTemp.DV2PCP04_SetR, PlcReadTemp.DV2PCP04_AlarmL, PlcReadTemp.DV2PCP04_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP05, PlcReadTemp.DV2PCP05_AlarmR, PlcReadTemp.DV2PCP05_SetR, PlcReadTemp.DV2PCP05_AlarmL, PlcReadTemp.DV2PCP05_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP06, PlcReadTemp.DV2PCP06_AlarmR, PlcReadTemp.DV2PCP06_SetR, PlcReadTemp.DV2PCP06_AlarmL, PlcReadTemp.DV2PCP06_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP07, PlcReadTemp.DV2PCP07_AlarmR, PlcReadTemp.DV2PCP07_SetR, PlcReadTemp.DV2PCP07_AlarmL, PlcReadTemp.DV2PCP07_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP08, PlcReadTemp.DV2PCP08_AlarmR, PlcReadTemp.DV2PCP08_SetR, PlcReadTemp.DV2PCP08_AlarmL, PlcReadTemp.DV2PCP08_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP09, PlcReadTemp.DV2PCP09_AlarmR, PlcReadTemp.DV2PCP09_SetR, PlcReadTemp.DV2PCP09_AlarmL, PlcReadTemp.DV2PCP09_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP10, PlcReadTemp.DV2PCP10_AlarmR, PlcReadTemp.DV2PCP10_SetR, PlcReadTemp.DV2PCP10_AlarmL, PlcReadTemp.DV2PCP10_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP11, PlcReadTemp.DV2PCP11_AlarmR, PlcReadTemp.DV2PCP11_SetR, PlcReadTemp.DV2PCP11_AlarmL, PlcReadTemp.DV2PCP11_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP12, PlcReadTemp.DV2PCP12_AlarmR, PlcReadTemp.DV2PCP12_SetR, PlcReadTemp.DV2PCP12_AlarmL, PlcReadTemp.DV2PCP12_SetL); - SetThreeWayValve(DeviceDetailReportForm.DV2PCP13, PlcReadTemp.DV2PCP13_AlarmR, PlcReadTemp.DV2PCP13_SetR, PlcReadTemp.DV2PCP13_AlarmL, PlcReadTemp.DV2PCP13_SetL); - - SetLjSwith(DeviceDetailReportForm.BU1ASF01, PlcReadTemp.BU1ASF01_Set, PlcReadTemp.BU1ASF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BSF01, PlcReadTemp.BU1BSF01_Set, PlcReadTemp.BU1BSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1CSF01, PlcReadTemp.BU1CSF01_Set, PlcReadTemp.BU1CSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1DSF01, PlcReadTemp.BU1DSF01_Set, PlcReadTemp.BU1DSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1ESF01, PlcReadTemp.BU1ESF01_Set, PlcReadTemp.BU1ESF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1FSF01, PlcReadTemp.BU1FSF01_Set, PlcReadTemp.BU1FSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1GSF01, PlcReadTemp.BU1GSF01_Set, PlcReadTemp.BU1GSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1HSF01, PlcReadTemp.BU1HSF01_Set, PlcReadTemp.BU1HSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1ISF01, PlcReadTemp.BU1ISF01_Set, PlcReadTemp.BU1ISF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1JSF01, PlcReadTemp.BU1JSF01_Set, PlcReadTemp.BU1JSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1KSF01, PlcReadTemp.BU1KSF01_Set, PlcReadTemp.BU1KSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1LSF01, PlcReadTemp.BU1LSF01_Set, PlcReadTemp.BU1LSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1MSF01, PlcReadTemp.BU1MSF01_Set, PlcReadTemp.BU1MSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1NSF01, PlcReadTemp.BU1NSF01_Set, PlcReadTemp.BU1NSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1OSF01, PlcReadTemp.BU1OSF01_Set, PlcReadTemp.BU1OSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT01, PlcReadTemp.BU1BLT01_Set, PlcReadTemp.BU1BLT01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT02, PlcReadTemp.BU1BLT02_Set, PlcReadTemp.BU1BLT02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT03, PlcReadTemp.BU1BLT03_Set, PlcReadTemp.BU1BLT03_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT04, PlcReadTemp.BU1BLT04_Set, PlcReadTemp.BU1BLT04_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT05, PlcReadTemp.BU1BLT05_Set, PlcReadTemp.BU1BLT05_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT06, PlcReadTemp.BU1BLT06_Set, PlcReadTemp.BU1BLT06_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BLT07, PlcReadTemp.BU1BLT07_Set, PlcReadTemp.BU1BLT07_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BLT01, PlcReadTemp.BU2BLT01_Set, PlcReadTemp.BU2BLT01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BLT02, PlcReadTemp.BU2BLT02_Set, PlcReadTemp.BU2BLT02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BLT03, PlcReadTemp.BU2BLT03_Set, PlcReadTemp.BU2BLT03_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BLT04, PlcReadTemp.BU2BLT04_Set, PlcReadTemp.BU2BLT04_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BLT05, PlcReadTemp.BU2BLT05_Set, PlcReadTemp.BU2BLT05_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT01, PlcReadTemp.BU3BLT01_Set, PlcReadTemp.BU3BLT01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT02, PlcReadTemp.BU3BLT02_Set, PlcReadTemp.BU3BLT02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT03, PlcReadTemp.BU3BLT03_Set, PlcReadTemp.BU3BLT03_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT04, PlcReadTemp.BU3BLT04_Set, PlcReadTemp.BU3BLT04_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT05, PlcReadTemp.BU3BLT05_Set, PlcReadTemp.BU3BLT05_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT06, PlcReadTemp.BU3BLT06_Set, PlcReadTemp.BU3BLT06_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3BLT07, PlcReadTemp.BU3BLT07_Set, PlcReadTemp.BU3BLT07_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT01, PlcReadTemp.BU4BLT01_Set, PlcReadTemp.BU4BLT01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT02, PlcReadTemp.BU4BLT02_Set, PlcReadTemp.BU4BLT02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT03, PlcReadTemp.BU4BLT03_Set, PlcReadTemp.BU4BLT03_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT04, PlcReadTemp.BU4BLT04_Set, PlcReadTemp.BU4BLT04_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT05, PlcReadTemp.BU4BLT05_Set, PlcReadTemp.BU4BLT05_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT06, PlcReadTemp.BU4BLT06_Set, PlcReadTemp.BU4BLT06_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4BLT07, PlcReadTemp.BU4BLT07_Set, PlcReadTemp.BU4BLT07_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5BLT01, PlcReadTemp.BU5BLT01_Set, PlcReadTemp.BU5BLT01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5BLT02, PlcReadTemp.BU5BLT02_Set, PlcReadTemp.BU5BLT02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5BLT03, PlcReadTemp.BU5BLT03_Set, PlcReadTemp.BU5BLT03_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5BLT04, PlcReadTemp.BU5BLT04_Set, PlcReadTemp.BU5BLT04_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1ADB01, PlcReadTemp.BU1ADB01_Set, PlcReadTemp.BU1ADB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1BDB01, PlcReadTemp.BU1BDB01_Set, PlcReadTemp.BU1BDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1CDB01, PlcReadTemp.BU1CDB01_Set, PlcReadTemp.BU1CDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1DDB01, PlcReadTemp.BU1DDB01_Set, PlcReadTemp.BU1DDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1EDB01, PlcReadTemp.BU1EDB01_Set, PlcReadTemp.BU1EDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1FDB01, PlcReadTemp.BU1FDB01_Set, PlcReadTemp.BU1FDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1GDB01, PlcReadTemp.BU1GDB01_Set, PlcReadTemp.BU1GDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1HDB01, PlcReadTemp.BU1HDB01_Set, PlcReadTemp.BU1HDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1IDB01, PlcReadTemp.BU1IDB01_Set, PlcReadTemp.BU1IDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1JDB01, PlcReadTemp.BU1JDB01_Set, PlcReadTemp.BU1JDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1KDB01, PlcReadTemp.BU1KDB01_Set, PlcReadTemp.BU1KDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1LDB01, PlcReadTemp.BU1LDB01_Set, PlcReadTemp.BU1LDB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1GEB02, PlcReadTemp.BU1GEB02_Set, PlcReadTemp.BU1GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2GEB02, PlcReadTemp.BU2GEB02_Set, PlcReadTemp.BU2GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3GEB02, PlcReadTemp.BU3GEB02_Set, PlcReadTemp.BU3GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4GEB02, PlcReadTemp.BU4GEB02_Set, PlcReadTemp.BU4GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5GEB02, PlcReadTemp.BU5GEB02_Set, PlcReadTemp.BU5GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU6GEB02, PlcReadTemp.BU6GEB02_Set, PlcReadTemp.BU6GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU7GEB02, PlcReadTemp.BU7GEB02_Set, PlcReadTemp.BU7GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU8GEB02, PlcReadTemp.BU8GEB02_Set, PlcReadTemp.BU8GEB02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1DRB01, PlcReadTemp.BU1DRB01_Set, PlcReadTemp.BU1DRB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2DRB01, PlcReadTemp.BU2DRB01_Set, PlcReadTemp.BU2DRB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3DRB01, PlcReadTemp.BU3DRB01_Set, PlcReadTemp.BU3DRB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4DRB01, PlcReadTemp.BU4DRB01_Set, PlcReadTemp.BU4DRB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU1GEB01, PlcReadTemp.BU1GEB01_Set, PlcReadTemp.BU1GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2GEB01, PlcReadTemp.BU2GEB01_Set, PlcReadTemp.BU2GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU3GEB01, PlcReadTemp.BU3GEB01_Set, PlcReadTemp.BU3GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU4GEB01, PlcReadTemp.BU4GEB01_Set, PlcReadTemp.BU4GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU5GEB01, PlcReadTemp.BU5GEB01_Set, PlcReadTemp.BU5GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU6GEB01, PlcReadTemp.BU6GEB01_Set, PlcReadTemp.BU6GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU7GEB01, PlcReadTemp.BU7GEB01_Set, PlcReadTemp.BU7GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU8GEB01, PlcReadTemp.BU8GEB01_Set, PlcReadTemp.BU8GEB01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2ASF01, PlcReadTemp.BU2ASF01_Set, PlcReadTemp.BU2ASF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2ASF02, PlcReadTemp.BU2ASF02_Set, PlcReadTemp.BU2ASF02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BSF01, PlcReadTemp.BU2BSF01_Set, PlcReadTemp.BU2BSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2BSF02, PlcReadTemp.BU2BSF02_Set, PlcReadTemp.BU2BSF02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2CSF01, PlcReadTemp.BU2CSF01_Set, PlcReadTemp.BU2CSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2CSF02, PlcReadTemp.BU2CSF02_Set, PlcReadTemp.BU2CSF02_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2DSF01, PlcReadTemp.BU2DSF01_Set, PlcReadTemp.BU2DSF01_Alarm); - SetLjSwith(DeviceDetailReportForm.BU2DSF02, PlcReadTemp.BU2DSF02_Set, PlcReadTemp.BU2DSF02_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter1, PlcReadTemp.BUWeter1_Set, PlcReadTemp.BUWeter1_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter2, PlcReadTemp.BUWeter2_Set, PlcReadTemp.BUWeter2_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter3, PlcReadTemp.BUWeter3_Set, PlcReadTemp.BUWeter3_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter4, PlcReadTemp.BUWeter4_Set, PlcReadTemp.BUWeter4_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter5, PlcReadTemp.BUWeter5_Set, PlcReadTemp.BUWeter5_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter6, PlcReadTemp.BUWeter6_Set, PlcReadTemp.BUWeter6_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter7, PlcReadTemp.BUWeter7_Set, PlcReadTemp.BUWeter7_Alarm); - SetLjSwith(DeviceDetailReportForm.BUWeter8, PlcReadTemp.BUWeter8_Set, PlcReadTemp.BUWeter8_Alarm); + SetThreeWayValve(ThreeValveE.DV2PCP01, PlcReadTemp.DV2PCP01_AlarmR, PlcReadTemp.DV2PCP01_SetR, PlcReadTemp.DV2PCP01_AlarmL, PlcReadTemp.DV2PCP01_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP02, PlcReadTemp.DV2PCP02_AlarmR, PlcReadTemp.DV2PCP02_SetR, PlcReadTemp.DV2PCP02_AlarmL, PlcReadTemp.DV2PCP02_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP03, PlcReadTemp.DV2PCP03_AlarmR, PlcReadTemp.DV2PCP03_SetR, PlcReadTemp.DV2PCP03_AlarmL, PlcReadTemp.DV2PCP03_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP04, PlcReadTemp.DV2PCP04_AlarmR, PlcReadTemp.DV2PCP04_SetR, PlcReadTemp.DV2PCP04_AlarmL, PlcReadTemp.DV2PCP04_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP05, PlcReadTemp.DV2PCP05_AlarmR, PlcReadTemp.DV2PCP05_SetR, PlcReadTemp.DV2PCP05_AlarmL, PlcReadTemp.DV2PCP05_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP06, PlcReadTemp.DV2PCP06_AlarmR, PlcReadTemp.DV2PCP06_SetR, PlcReadTemp.DV2PCP06_AlarmL, PlcReadTemp.DV2PCP06_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP07, PlcReadTemp.DV2PCP07_AlarmR, PlcReadTemp.DV2PCP07_SetR, PlcReadTemp.DV2PCP07_AlarmL, PlcReadTemp.DV2PCP07_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP08, PlcReadTemp.DV2PCP08_AlarmR, PlcReadTemp.DV2PCP08_SetR, PlcReadTemp.DV2PCP08_AlarmL, PlcReadTemp.DV2PCP08_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP09, PlcReadTemp.DV2PCP09_AlarmR, PlcReadTemp.DV2PCP09_SetR, PlcReadTemp.DV2PCP09_AlarmL, PlcReadTemp.DV2PCP09_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP10, PlcReadTemp.DV2PCP10_AlarmR, PlcReadTemp.DV2PCP10_SetR, PlcReadTemp.DV2PCP10_AlarmL, PlcReadTemp.DV2PCP10_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP11, PlcReadTemp.DV2PCP11_AlarmR, PlcReadTemp.DV2PCP11_SetR, PlcReadTemp.DV2PCP11_AlarmL, PlcReadTemp.DV2PCP11_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP12, PlcReadTemp.DV2PCP12_AlarmR, PlcReadTemp.DV2PCP12_SetR, PlcReadTemp.DV2PCP12_AlarmL, PlcReadTemp.DV2PCP12_SetL); + SetThreeWayValve(ThreeValveE.DV2PCP13, PlcReadTemp.DV2PCP13_AlarmR, PlcReadTemp.DV2PCP13_SetR, PlcReadTemp.DV2PCP13_AlarmL, PlcReadTemp.DV2PCP13_SetL); + + SetLjSwith(SwithE.BU1ASF01, PlcReadTemp.BU1ASF01_Set, PlcReadTemp.BU1ASF01_Alarm); + SetLjSwith(SwithE.BU1BSF01, PlcReadTemp.BU1BSF01_Set, PlcReadTemp.BU1BSF01_Alarm); + SetLjSwith(SwithE.BU1CSF01, PlcReadTemp.BU1CSF01_Set, PlcReadTemp.BU1CSF01_Alarm); + SetLjSwith(SwithE.BU1DSF01, PlcReadTemp.BU1DSF01_Set, PlcReadTemp.BU1DSF01_Alarm); + SetLjSwith(SwithE.BU1ESF01, PlcReadTemp.BU1ESF01_Set, PlcReadTemp.BU1ESF01_Alarm); + SetLjSwith(SwithE.BU1FSF01, PlcReadTemp.BU1FSF01_Set, PlcReadTemp.BU1FSF01_Alarm); + SetLjSwith(SwithE.BU1GSF01, PlcReadTemp.BU1GSF01_Set, PlcReadTemp.BU1GSF01_Alarm); + SetLjSwith(SwithE.BU1HSF01, PlcReadTemp.BU1HSF01_Set, PlcReadTemp.BU1HSF01_Alarm); + SetLjSwith(SwithE.BU1ISF01, PlcReadTemp.BU1ISF01_Set, PlcReadTemp.BU1ISF01_Alarm); + SetLjSwith(SwithE.BU1JSF01, PlcReadTemp.BU1JSF01_Set, PlcReadTemp.BU1JSF01_Alarm); + SetLjSwith(SwithE.BU1KSF01, PlcReadTemp.BU1KSF01_Set, PlcReadTemp.BU1KSF01_Alarm); + SetLjSwith(SwithE.BU1LSF01, PlcReadTemp.BU1LSF01_Set, PlcReadTemp.BU1LSF01_Alarm); + SetLjSwith(SwithE.BU1MSF01, PlcReadTemp.BU1MSF01_Set, PlcReadTemp.BU1MSF01_Alarm); + SetLjSwith(SwithE.BU1NSF01, PlcReadTemp.BU1NSF01_Set, PlcReadTemp.BU1NSF01_Alarm); + SetLjSwith(SwithE.BU1OSF01, PlcReadTemp.BU1OSF01_Set, PlcReadTemp.BU1OSF01_Alarm); + SetLjSwith(SwithE.BU1BLT01, PlcReadTemp.BU1BLT01_Set, PlcReadTemp.BU1BLT01_Alarm); + SetLjSwith(SwithE.BU1BLT02, PlcReadTemp.BU1BLT02_Set, PlcReadTemp.BU1BLT02_Alarm); + SetLjSwith(SwithE.BU1BLT03, PlcReadTemp.BU1BLT03_Set, PlcReadTemp.BU1BLT03_Alarm); + SetLjSwith(SwithE.BU1BLT04, PlcReadTemp.BU1BLT04_Set, PlcReadTemp.BU1BLT04_Alarm); + SetLjSwith(SwithE.BU1BLT05, PlcReadTemp.BU1BLT05_Set, PlcReadTemp.BU1BLT05_Alarm); + SetLjSwith(SwithE.BU1BLT06, PlcReadTemp.BU1BLT06_Set, PlcReadTemp.BU1BLT06_Alarm); + SetLjSwith(SwithE.BU1BLT07, PlcReadTemp.BU1BLT07_Set, PlcReadTemp.BU1BLT07_Alarm); + SetLjSwith(SwithE.BU2BLT01, PlcReadTemp.BU2BLT01_Set, PlcReadTemp.BU2BLT01_Alarm); + SetLjSwith(SwithE.BU2BLT02, PlcReadTemp.BU2BLT02_Set, PlcReadTemp.BU2BLT02_Alarm); + SetLjSwith(SwithE.BU2BLT03, PlcReadTemp.BU2BLT03_Set, PlcReadTemp.BU2BLT03_Alarm); + SetLjSwith(SwithE.BU2BLT04, PlcReadTemp.BU2BLT04_Set, PlcReadTemp.BU2BLT04_Alarm); + SetLjSwith(SwithE.BU2BLT05, PlcReadTemp.BU2BLT05_Set, PlcReadTemp.BU2BLT05_Alarm); + SetLjSwith(SwithE.BU3BLT01, PlcReadTemp.BU3BLT01_Set, PlcReadTemp.BU3BLT01_Alarm); + SetLjSwith(SwithE.BU3BLT02, PlcReadTemp.BU3BLT02_Set, PlcReadTemp.BU3BLT02_Alarm); + SetLjSwith(SwithE.BU3BLT03, PlcReadTemp.BU3BLT03_Set, PlcReadTemp.BU3BLT03_Alarm); + SetLjSwith(SwithE.BU3BLT04, PlcReadTemp.BU3BLT04_Set, PlcReadTemp.BU3BLT04_Alarm); + SetLjSwith(SwithE.BU3BLT05, PlcReadTemp.BU3BLT05_Set, PlcReadTemp.BU3BLT05_Alarm); + SetLjSwith(SwithE.BU3BLT06, PlcReadTemp.BU3BLT06_Set, PlcReadTemp.BU3BLT06_Alarm); + SetLjSwith(SwithE.BU3BLT07, PlcReadTemp.BU3BLT07_Set, PlcReadTemp.BU3BLT07_Alarm); + SetLjSwith(SwithE.BU4BLT01, PlcReadTemp.BU4BLT01_Set, PlcReadTemp.BU4BLT01_Alarm); + SetLjSwith(SwithE.BU4BLT02, PlcReadTemp.BU4BLT02_Set, PlcReadTemp.BU4BLT02_Alarm); + SetLjSwith(SwithE.BU4BLT03, PlcReadTemp.BU4BLT03_Set, PlcReadTemp.BU4BLT03_Alarm); + SetLjSwith(SwithE.BU4BLT04, PlcReadTemp.BU4BLT04_Set, PlcReadTemp.BU4BLT04_Alarm); + SetLjSwith(SwithE.BU4BLT05, PlcReadTemp.BU4BLT05_Set, PlcReadTemp.BU4BLT05_Alarm); + SetLjSwith(SwithE.BU4BLT06, PlcReadTemp.BU4BLT06_Set, PlcReadTemp.BU4BLT06_Alarm); + SetLjSwith(SwithE.BU4BLT07, PlcReadTemp.BU4BLT07_Set, PlcReadTemp.BU4BLT07_Alarm); + SetLjSwith(SwithE.BU5BLT01, PlcReadTemp.BU5BLT01_Set, PlcReadTemp.BU5BLT01_Alarm); + SetLjSwith(SwithE.BU5BLT02, PlcReadTemp.BU5BLT02_Set, PlcReadTemp.BU5BLT02_Alarm); + SetLjSwith(SwithE.BU5BLT03, PlcReadTemp.BU5BLT03_Set, PlcReadTemp.BU5BLT03_Alarm); + SetLjSwith(SwithE.BU5BLT04, PlcReadTemp.BU5BLT04_Set, PlcReadTemp.BU5BLT04_Alarm); + SetLjSwith(SwithE.BU1ADB01, PlcReadTemp.BU1ADB01_Set, PlcReadTemp.BU1ADB01_Alarm); + SetLjSwith(SwithE.BU1BDB01, PlcReadTemp.BU1BDB01_Set, PlcReadTemp.BU1BDB01_Alarm); + SetLjSwith(SwithE.BU1CDB01, PlcReadTemp.BU1CDB01_Set, PlcReadTemp.BU1CDB01_Alarm); + SetLjSwith(SwithE.BU1DDB01, PlcReadTemp.BU1DDB01_Set, PlcReadTemp.BU1DDB01_Alarm); + SetLjSwith(SwithE.BU1EDB01, PlcReadTemp.BU1EDB01_Set, PlcReadTemp.BU1EDB01_Alarm); + SetLjSwith(SwithE.BU1FDB01, PlcReadTemp.BU1FDB01_Set, PlcReadTemp.BU1FDB01_Alarm); + SetLjSwith(SwithE.BU1GDB01, PlcReadTemp.BU1GDB01_Set, PlcReadTemp.BU1GDB01_Alarm); + SetLjSwith(SwithE.BU1HDB01, PlcReadTemp.BU1HDB01_Set, PlcReadTemp.BU1HDB01_Alarm); + SetLjSwith(SwithE.BU1IDB01, PlcReadTemp.BU1IDB01_Set, PlcReadTemp.BU1IDB01_Alarm); + SetLjSwith(SwithE.BU1JDB01, PlcReadTemp.BU1JDB01_Set, PlcReadTemp.BU1JDB01_Alarm); + SetLjSwith(SwithE.BU1KDB01, PlcReadTemp.BU1KDB01_Set, PlcReadTemp.BU1KDB01_Alarm); + SetLjSwith(SwithE.BU1LDB01, PlcReadTemp.BU1LDB01_Set, PlcReadTemp.BU1LDB01_Alarm); + SetLjSwith(SwithE.BU1GEB02, PlcReadTemp.BU1GEB02_Set, PlcReadTemp.BU1GEB02_Alarm); + SetLjSwith(SwithE.BU2GEB02, PlcReadTemp.BU2GEB02_Set, PlcReadTemp.BU2GEB02_Alarm); + SetLjSwith(SwithE.BU3GEB02, PlcReadTemp.BU3GEB02_Set, PlcReadTemp.BU3GEB02_Alarm); + SetLjSwith(SwithE.BU4GEB02, PlcReadTemp.BU4GEB02_Set, PlcReadTemp.BU4GEB02_Alarm); + SetLjSwith(SwithE.BU5GEB02, PlcReadTemp.BU5GEB02_Set, PlcReadTemp.BU5GEB02_Alarm); + SetLjSwith(SwithE.BU6GEB02, PlcReadTemp.BU6GEB02_Set, PlcReadTemp.BU6GEB02_Alarm); + SetLjSwith(SwithE.BU7GEB02, PlcReadTemp.BU7GEB02_Set, PlcReadTemp.BU7GEB02_Alarm); + SetLjSwith(SwithE.BU8GEB02, PlcReadTemp.BU8GEB02_Set, PlcReadTemp.BU8GEB02_Alarm); + SetLjSwith(SwithE.BU1DRB01, PlcReadTemp.BU1DRB01_Set, PlcReadTemp.BU1DRB01_Alarm); + SetLjSwith(SwithE.BU2DRB01, PlcReadTemp.BU2DRB01_Set, PlcReadTemp.BU2DRB01_Alarm); + SetLjSwith(SwithE.BU3DRB01, PlcReadTemp.BU3DRB01_Set, PlcReadTemp.BU3DRB01_Alarm); + SetLjSwith(SwithE.BU4DRB01, PlcReadTemp.BU4DRB01_Set, PlcReadTemp.BU4DRB01_Alarm); + SetLjSwith(SwithE.BU1GEB01, PlcReadTemp.BU1GEB01_Set, PlcReadTemp.BU1GEB01_Alarm); + SetLjSwith(SwithE.BU2GEB01, PlcReadTemp.BU2GEB01_Set, PlcReadTemp.BU2GEB01_Alarm); + SetLjSwith(SwithE.BU3GEB01, PlcReadTemp.BU3GEB01_Set, PlcReadTemp.BU3GEB01_Alarm); + SetLjSwith(SwithE.BU4GEB01, PlcReadTemp.BU4GEB01_Set, PlcReadTemp.BU4GEB01_Alarm); + SetLjSwith(SwithE.BU5GEB01, PlcReadTemp.BU5GEB01_Set, PlcReadTemp.BU5GEB01_Alarm); + SetLjSwith(SwithE.BU6GEB01, PlcReadTemp.BU6GEB01_Set, PlcReadTemp.BU6GEB01_Alarm); + SetLjSwith(SwithE.BU7GEB01, PlcReadTemp.BU7GEB01_Set, PlcReadTemp.BU7GEB01_Alarm); + SetLjSwith(SwithE.BU8GEB01, PlcReadTemp.BU8GEB01_Set, PlcReadTemp.BU8GEB01_Alarm); + SetLjSwith(SwithE.BU2ASF01, PlcReadTemp.BU2ASF01_Set, PlcReadTemp.BU2ASF01_Alarm); + SetLjSwith(SwithE.BU2ASF02, PlcReadTemp.BU2ASF02_Set, PlcReadTemp.BU2ASF02_Alarm); + SetLjSwith(SwithE.BU2BSF01, PlcReadTemp.BU2BSF01_Set, PlcReadTemp.BU2BSF01_Alarm); + SetLjSwith(SwithE.BU2BSF02, PlcReadTemp.BU2BSF02_Set, PlcReadTemp.BU2BSF02_Alarm); + SetLjSwith(SwithE.BU2CSF01, PlcReadTemp.BU2CSF01_Set, PlcReadTemp.BU2CSF01_Alarm); + SetLjSwith(SwithE.BU2CSF02, PlcReadTemp.BU2CSF02_Set, PlcReadTemp.BU2CSF02_Alarm); + SetLjSwith(SwithE.BU2DSF01, PlcReadTemp.BU2DSF01_Set, PlcReadTemp.BU2DSF01_Alarm); + SetLjSwith(SwithE.BU2DSF02, PlcReadTemp.BU2DSF02_Set, PlcReadTemp.BU2DSF02_Alarm); + SetLjSwith(SwithE.BUWeter1, PlcReadTemp.BUWeter1_Set, PlcReadTemp.BUWeter1_Alarm); + SetLjSwith(SwithE.BUWeter2, PlcReadTemp.BUWeter2_Set, PlcReadTemp.BUWeter2_Alarm); + SetLjSwith(SwithE.BUWeter3, PlcReadTemp.BUWeter3_Set, PlcReadTemp.BUWeter3_Alarm); + SetLjSwith(SwithE.BUWeter4, PlcReadTemp.BUWeter4_Set, PlcReadTemp.BUWeter4_Alarm); + SetLjSwith(SwithE.BUWeter5, PlcReadTemp.BUWeter5_Set, PlcReadTemp.BUWeter5_Alarm); + SetLjSwith(SwithE.BUWeter6, PlcReadTemp.BUWeter6_Set, PlcReadTemp.BUWeter6_Alarm); + SetLjSwith(SwithE.BUWeter7, PlcReadTemp.BUWeter7_Set, PlcReadTemp.BUWeter7_Alarm); + SetLjSwith(SwithE.BUWeter8, PlcReadTemp.BUWeter8_Set, PlcReadTemp.BUWeter8_Alarm); } /// @@ -851,97 +874,97 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl PlcReadTemp.DMWETER7_Alarm = DB2103.DMWETER7.Alarm; PlcReadTemp.DMWETER8_Alarm = DB2103.DMWETER8.Alarm; - SetMCLabel(DeviceDetailReportForm.DM1DRY1_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY1_ACT_Speed_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM1DRY2_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY2_ACT_Speed_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM1DRY3_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY3_ACT_Speed_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM1DRY4_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY4_ACT_Speed_Set, 2)); - - - SetMCLabel(DeviceDetailReportForm.DM1GEM, (float)Math.Round(PlcReadTemp.DM1GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM2GEM, (float)Math.Round(PlcReadTemp.DM2GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM3GEM, (float)Math.Round(PlcReadTemp.DM3GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM4GEM, (float)Math.Round(PlcReadTemp.DM4GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM5GEM, (float)Math.Round(PlcReadTemp.DM5GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM6GEM, (float)Math.Round(PlcReadTemp.DM6GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM7GEM, (float)Math.Round(PlcReadTemp.DM7GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM8GEM, (float)Math.Round(PlcReadTemp.DM8GEM_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM2ASF01, (float)Math.Round(PlcReadTemp.DM2ASF01_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM2BSF01, (float)Math.Round(PlcReadTemp.DM2BSF01_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM2CSF01, (float)Math.Round(PlcReadTemp.DM2CSF01_Set, 2)); - SetMCLabel(DeviceDetailReportForm.DM2DSF01, (float)Math.Round(PlcReadTemp.DM2DSF01_Set, 2)); - - - SetRSCREWBIG(DeviceDetailReportForm.DM1ASF01, PlcReadTemp.DM1ASF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1BSF01, PlcReadTemp.DM1BSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1CSF01, PlcReadTemp.DM1CSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1DSF01, PlcReadTemp.DM1DSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1ESF01, PlcReadTemp.DM1ESF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1FSF01, PlcReadTemp.DM1FSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1GSF01, PlcReadTemp.DM1GSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1HSF01, PlcReadTemp.DM1HSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1ISF01, PlcReadTemp.DM1ISF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1JSF01, PlcReadTemp.DM1JSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1KSF01, PlcReadTemp.DM1KSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1LSF01, PlcReadTemp.DM1LSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1MSF01, PlcReadTemp.DM1MSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM1NSF01, PlcReadTemp.DM1NSF01_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM1OSF01, PlcReadTemp.DM1OSF01_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM2ASF01L, PlcReadTemp.DM2ASF01L_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM2BSF01L, PlcReadTemp.DM2BSF01L_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM2CSF01L, PlcReadTemp.DM2CSF01L_Set); - SetLSCREWBIG(DeviceDetailReportForm.DM2DSF01L, PlcReadTemp.DM2DSF01L_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM2ASF01R, PlcReadTemp.DM2ASF01R_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM2BSF01R, PlcReadTemp.DM2BSF01R_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM2CSF01R, PlcReadTemp.DM2CSF01R_Set); - SetRSCREWBIG(DeviceDetailReportForm.DM2DSF01R, PlcReadTemp.DM2DSF01R_Set); - - - SetFan(DeviceDetailReportForm.DM1ADF01, PlcReadTemp.DM1ADF01_Set); - SetFan(DeviceDetailReportForm.DM1BDF01, PlcReadTemp.DM1BDF01_Set); - SetFan(DeviceDetailReportForm.DM1CDF01, PlcReadTemp.DM1CDF01_Set); - SetFan(DeviceDetailReportForm.DM1DDF01, PlcReadTemp.DM1DDF01_Set); - SetFan(DeviceDetailReportForm.DM1EDF01, PlcReadTemp.DM1EDF01_Set); - SetFan(DeviceDetailReportForm.DM1FDF01, PlcReadTemp.DM1FDF01_Set); - SetFan(DeviceDetailReportForm.DM1GDF01, PlcReadTemp.DM1GDF01_Set); - SetFan(DeviceDetailReportForm.DM1HDF01, PlcReadTemp.DM1HDF01_Set); - SetFan(DeviceDetailReportForm.DM1IDF01, PlcReadTemp.DM1IDF01_Set); - SetFan(DeviceDetailReportForm.DM1JDF01, PlcReadTemp.DM1JDF01_Set); - SetFan(DeviceDetailReportForm.DM1KDF01, PlcReadTemp.DM1KDF01_Set); - SetFan(DeviceDetailReportForm.DM1LDF01, PlcReadTemp.DM1LDF01_Set); - SetFan(DeviceDetailReportForm.DM1ADB01, PlcReadTemp.DM1ADB01_Set); - SetFan(DeviceDetailReportForm.DM1BDB01, PlcReadTemp.DM1BDB01_Set); - SetFan(DeviceDetailReportForm.DM1CDB01, PlcReadTemp.DM1CDB01_Set); - SetFan(DeviceDetailReportForm.DM1DDB01, PlcReadTemp.DM1DDB01_Set); - SetFan(DeviceDetailReportForm.DM1EDB01, PlcReadTemp.DM1EDB01_Set); - SetFan(DeviceDetailReportForm.DM1FDB01, PlcReadTemp.DM1FDB01_Set); - SetFan(DeviceDetailReportForm.DM1GDB01, PlcReadTemp.DM1GDB01_Set); - SetFan(DeviceDetailReportForm.DM1HDB01, PlcReadTemp.DM1HDB01_Set); - SetFan(DeviceDetailReportForm.DM1IDB01, PlcReadTemp.DM1IDB01_Set); - SetFan(DeviceDetailReportForm.DM1JDB01, PlcReadTemp.DM1JDB01_Set); - SetFan(DeviceDetailReportForm.DM1KDB01, PlcReadTemp.DM1KDB01_Set); - SetFan(DeviceDetailReportForm.DM1LDB01, PlcReadTemp.DM1LDB01_Set); - SetFan(DeviceDetailReportForm.DM1DRY1_Running, PlcReadTemp.DM1DRY1_Running_Set); - SetFan(DeviceDetailReportForm.DM1DRY2_Running, PlcReadTemp.DM1DRY2_Running_Set); - SetFan(DeviceDetailReportForm.DM1DRY3_Running, PlcReadTemp.DM1DRY3_Running_Set); - SetFan(DeviceDetailReportForm.DM1DRY4_Running, PlcReadTemp.DM1DRY4_Running_Set); - SetFan(DeviceDetailReportForm.PM3ADF01, PlcReadTemp.PM3ADF01_Set); - - SetSwitchLight(DeviceDetailReportForm.DMWETER1, PlcReadTemp.DMWETER1_Set, PlcReadTemp.DMWETER1_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER11, PlcReadTemp.DMWETER1_Set, PlcReadTemp.DMWETER1_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER2, PlcReadTemp.DMWETER2_Set, PlcReadTemp.DMWETER2_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER22, PlcReadTemp.DMWETER2_Set, PlcReadTemp.DMWETER2_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER3, PlcReadTemp.DMWETER3_Set, PlcReadTemp.DMWETER3_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER33, PlcReadTemp.DMWETER3_Set, PlcReadTemp.DMWETER3_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER4, PlcReadTemp.DMWETER4_Set, PlcReadTemp.DMWETER4_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER44, PlcReadTemp.DMWETER4_Set, PlcReadTemp.DMWETER4_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER5, PlcReadTemp.DMWETER5_Set, PlcReadTemp.DMWETER5_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER55, PlcReadTemp.DMWETER5_Set, PlcReadTemp.DMWETER5_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER6, PlcReadTemp.DMWETER6_Set, PlcReadTemp.DMWETER6_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER66, PlcReadTemp.DMWETER6_Set, PlcReadTemp.DMWETER6_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER7, PlcReadTemp.DMWETER7_Set, PlcReadTemp.DMWETER7_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER77, PlcReadTemp.DMWETER7_Set, PlcReadTemp.DMWETER7_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER8, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm); - SetSwitchLight(DeviceDetailReportForm.DMWETER88, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm); + SetMCLabel(LabelE.DM1DRY1_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY1_ACT_Speed_Set, 2)); + SetMCLabel(LabelE.DM1DRY2_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY2_ACT_Speed_Set, 2)); + SetMCLabel(LabelE.DM1DRY3_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY3_ACT_Speed_Set, 2)); + SetMCLabel(LabelE.DM1DRY4_ACT_Speed, (float)Math.Round(PlcReadTemp.DM1DRY4_ACT_Speed_Set, 2)); + + + SetMCLabel(LabelE.DM1GEM, (float)Math.Round(PlcReadTemp.DM1GEM_Set, 2)); + SetMCLabel(LabelE.DM2GEM, (float)Math.Round(PlcReadTemp.DM2GEM_Set, 2)); + SetMCLabel(LabelE.DM3GEM, (float)Math.Round(PlcReadTemp.DM3GEM_Set, 2)); + SetMCLabel(LabelE.DM4GEM, (float)Math.Round(PlcReadTemp.DM4GEM_Set, 2)); + SetMCLabel(LabelE.DM5GEM, (float)Math.Round(PlcReadTemp.DM5GEM_Set, 2)); + SetMCLabel(LabelE.DM6GEM, (float)Math.Round(PlcReadTemp.DM6GEM_Set, 2)); + SetMCLabel(LabelE.DM7GEM, (float)Math.Round(PlcReadTemp.DM7GEM_Set, 2)); + SetMCLabel(LabelE.DM8GEM, (float)Math.Round(PlcReadTemp.DM8GEM_Set, 2)); + SetMCLabel(LabelE.DM2ASF01, (float)Math.Round(PlcReadTemp.DM2ASF01_Set, 2)); + SetMCLabel(LabelE.DM2BSF01, (float)Math.Round(PlcReadTemp.DM2BSF01_Set, 2)); + SetMCLabel(LabelE.DM2CSF01, (float)Math.Round(PlcReadTemp.DM2CSF01_Set, 2)); + SetMCLabel(LabelE.DM2DSF01, (float)Math.Round(PlcReadTemp.DM2DSF01_Set, 2)); + + + SetRSCREWBIG(RSCREE.DM1ASF01, PlcReadTemp.DM1ASF01_Set); + SetRSCREWBIG(RSCREE.DM1BSF01, PlcReadTemp.DM1BSF01_Set); + SetLSCREWBIG(LSCREE.DM1CSF01, PlcReadTemp.DM1CSF01_Set); + SetLSCREWBIG(LSCREE.DM1DSF01, PlcReadTemp.DM1DSF01_Set); + SetRSCREWBIG(RSCREE.DM1ESF01, PlcReadTemp.DM1ESF01_Set); + SetLSCREWBIG(LSCREE.DM1FSF01, PlcReadTemp.DM1FSF01_Set); + SetRSCREWBIG(RSCREE.DM1GSF01, PlcReadTemp.DM1GSF01_Set); + SetRSCREWBIG(RSCREE.DM1HSF01, PlcReadTemp.DM1HSF01_Set); + SetLSCREWBIG(LSCREE.DM1ISF01, PlcReadTemp.DM1ISF01_Set); + SetLSCREWBIG(LSCREE.DM1JSF01, PlcReadTemp.DM1JSF01_Set); + SetRSCREWBIG(RSCREE.DM1KSF01, PlcReadTemp.DM1KSF01_Set); + SetRSCREWBIG(RSCREE.DM1LSF01, PlcReadTemp.DM1LSF01_Set); + SetLSCREWBIG(LSCREE.DM1MSF01, PlcReadTemp.DM1MSF01_Set); + SetLSCREWBIG(LSCREE.DM1NSF01, PlcReadTemp.DM1NSF01_Set); + SetRSCREWBIG(RSCREE.DM1OSF01, PlcReadTemp.DM1OSF01_Set); + SetLSCREWBIG(LSCREE.DM2ASF01L, PlcReadTemp.DM2ASF01L_Set); + SetLSCREWBIG(LSCREE.DM2BSF01L, PlcReadTemp.DM2BSF01L_Set); + SetLSCREWBIG(LSCREE.DM2CSF01L, PlcReadTemp.DM2CSF01L_Set); + SetLSCREWBIG(LSCREE.DM2DSF01L, PlcReadTemp.DM2DSF01L_Set); + SetRSCREWBIG(RSCREE.DM2ASF01R, PlcReadTemp.DM2ASF01R_Set); + SetRSCREWBIG(RSCREE.DM2BSF01R, PlcReadTemp.DM2BSF01R_Set); + SetRSCREWBIG(RSCREE.DM2CSF01R, PlcReadTemp.DM2CSF01R_Set); + SetRSCREWBIG(RSCREE.DM2DSF01R, PlcReadTemp.DM2DSF01R_Set); + + + SetFan(FanE.DM1ADF01, PlcReadTemp.DM1ADF01_Set); + SetFan(FanE.DM1BDF01, PlcReadTemp.DM1BDF01_Set); + SetFan(FanE.DM1CDF01, PlcReadTemp.DM1CDF01_Set); + SetFan(FanE.DM1DDF01, PlcReadTemp.DM1DDF01_Set); + SetFan(FanE.DM1EDF01, PlcReadTemp.DM1EDF01_Set); + SetFan(FanE.DM1FDF01, PlcReadTemp.DM1FDF01_Set); + SetFan(FanE.DM1GDF01, PlcReadTemp.DM1GDF01_Set); + SetFan(FanE.DM1HDF01, PlcReadTemp.DM1HDF01_Set); + SetFan(FanE.DM1IDF01, PlcReadTemp.DM1IDF01_Set); + SetFan(FanE.DM1JDF01, PlcReadTemp.DM1JDF01_Set); + SetFan(FanE.DM1KDF01, PlcReadTemp.DM1KDF01_Set); + SetFan(FanE.DM1LDF01, PlcReadTemp.DM1LDF01_Set); + SetFan(FanE.DM1ADB01, PlcReadTemp.DM1ADB01_Set); + SetFan(FanE.DM1BDB01, PlcReadTemp.DM1BDB01_Set); + SetFan(FanE.DM1CDB01, PlcReadTemp.DM1CDB01_Set); + SetFan(FanE.DM1DDB01, PlcReadTemp.DM1DDB01_Set); + SetFan(FanE.DM1EDB01, PlcReadTemp.DM1EDB01_Set); + SetFan(FanE.DM1FDB01, PlcReadTemp.DM1FDB01_Set); + SetFan(FanE.DM1GDB01, PlcReadTemp.DM1GDB01_Set); + SetFan(FanE.DM1HDB01, PlcReadTemp.DM1HDB01_Set); + SetFan(FanE.DM1IDB01, PlcReadTemp.DM1IDB01_Set); + SetFan(FanE.DM1JDB01, PlcReadTemp.DM1JDB01_Set); + SetFan(FanE.DM1KDB01, PlcReadTemp.DM1KDB01_Set); + SetFan(FanE.DM1LDB01, PlcReadTemp.DM1LDB01_Set); + SetFan(FanE.DM1DRY1_Running, PlcReadTemp.DM1DRY1_Running_Set); + SetFan(FanE.DM1DRY2_Running, PlcReadTemp.DM1DRY2_Running_Set); + SetFan(FanE.DM1DRY3_Running, PlcReadTemp.DM1DRY3_Running_Set); + SetFan(FanE.DM1DRY4_Running, PlcReadTemp.DM1DRY4_Running_Set); + SetFan(FanE.PM3ADF01, PlcReadTemp.PM3ADF01_Set); + + SetSwitchLight(LightE.DMWETER1, PlcReadTemp.DMWETER1_Set, PlcReadTemp.DMWETER1_Alarm); + SetSwitchLight(LightE.DMWETER11, PlcReadTemp.DMWETER1_Set, PlcReadTemp.DMWETER1_Alarm); + SetSwitchLight(LightE.DMWETER2, PlcReadTemp.DMWETER2_Set, PlcReadTemp.DMWETER2_Alarm); + SetSwitchLight(LightE.DMWETER22, PlcReadTemp.DMWETER2_Set, PlcReadTemp.DMWETER2_Alarm); + SetSwitchLight(LightE.DMWETER3, PlcReadTemp.DMWETER3_Set, PlcReadTemp.DMWETER3_Alarm); + SetSwitchLight(LightE.DMWETER33, PlcReadTemp.DMWETER3_Set, PlcReadTemp.DMWETER3_Alarm); + SetSwitchLight(LightE.DMWETER4, PlcReadTemp.DMWETER4_Set, PlcReadTemp.DMWETER4_Alarm); + SetSwitchLight(LightE.DMWETER44, PlcReadTemp.DMWETER4_Set, PlcReadTemp.DMWETER4_Alarm); + SetSwitchLight(LightE.DMWETER5, PlcReadTemp.DMWETER5_Set, PlcReadTemp.DMWETER5_Alarm); + SetSwitchLight(LightE.DMWETER55, PlcReadTemp.DMWETER5_Set, PlcReadTemp.DMWETER5_Alarm); + SetSwitchLight(LightE.DMWETER6, PlcReadTemp.DMWETER6_Set, PlcReadTemp.DMWETER6_Alarm); + SetSwitchLight(LightE.DMWETER66, PlcReadTemp.DMWETER6_Set, PlcReadTemp.DMWETER6_Alarm); + SetSwitchLight(LightE.DMWETER7, PlcReadTemp.DMWETER7_Set, PlcReadTemp.DMWETER7_Alarm); + SetSwitchLight(LightE.DMWETER77, PlcReadTemp.DMWETER7_Set, PlcReadTemp.DMWETER7_Alarm); + SetSwitchLight(LightE.DMWETER8, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm); + SetSwitchLight(LightE.DMWETER88, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm); } /// @@ -949,58 +972,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl /// private void NewThreadDb2107() { - - ParametersWithPCTable.Rows.Clear(); - - for (int i = 0; i < 4; i++) - { - DataRow dr = ParametersWithPCTable.NewRow(); - dr[0] = "Dryer" + i; - dr[1] = DB2107.Dryer[i].Mode; - dr[2] = DB2107.Dryer[i].Status; - dr[3] = DB2107.Dryer[i].Batch; - dr[4] = DB2107.Dryer[i].Step; - dr[5] = DB2107.Dryer[i].StepCode; - dr[6] = DB2107.Dryer[i].TotalTime; - dr[7] = DB2107.Dryer[i].StepTime; - dr[8] = DB2107.Dryer[i].Speed; - dr[9] = DB2107.Dryer[i].Currnet; - dr[10] = DB2107.Dryer[i].Pressure; - ParametersWithPCTable.Rows.Add(dr); - } - for (int i = 0; i < 8; i++) - { - DataRow dr = ParametersWithPCTable.NewRow(); - dr[0] = "Gelater" + i; - dr[1] = DB2107.Gelater[i].Mode; - dr[2] = DB2107.Gelater[i].Status; - dr[3] = DB2107.Gelater[i].Batch; - dr[4] = DB2107.Gelater[i].Step; - dr[5] = DB2107.Gelater[i].StepCode; - dr[6] = DB2107.Gelater[i].TotalTime; - dr[7] = DB2107.Gelater[i].StepTime; - dr[8] = DB2107.Gelater[i].Speed; - dr[9] = DB2107.Gelater[i].Currnet; - dr[10] = DB2107.Gelater[i].Pressure; - ParametersWithPCTable.Rows.Add(dr); - } - for (int i = 0; i < 8; i++) - { - DataRow dr = ParametersWithPCTable.NewRow(); - dr[0] = "Weter" + i; - dr[1] = DB2107.Weter[i].Mode; - dr[2] = DB2107.Weter[i].Status; - dr[3] = DB2107.Weter[i].Batch; - dr[4] = DB2107.Weter[i].Step; - dr[5] = DB2107.Weter[i].StepCode; - dr[6] = DB2107.Weter[i].TotalTime; - dr[7] = DB2107.Weter[i].StepTime; - dr[8] = DB2107.Weter[i].Speed; - dr[9] = DB2107.Weter[i].Currnet; - dr[10] = DB2107.Weter[i].Pressure; - ParametersWithPCTable.Rows.Add(dr); - } - var normalStatusWatchDog = DB2107.NormalStatus.WatchDog; PlcReadTemp.WatchDog_Set = normalStatusWatchDog >= 1 ? true : false; @@ -1154,1027 +1125,162 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl PlcReadTemp.ValueWeight2 = DB2119.Spiral_B.Value_Weight; PlcReadTemp.ValueWeight3 = DB2119.Spiral_C.Value_Weight; - SetMCLabel(DeviceDetailReportForm.ValueWeight1, PlcReadTemp.ValueWeight1); - SetMCLabel(DeviceDetailReportForm.ValueWeight2, PlcReadTemp.ValueWeight2); - SetMCLabel(DeviceDetailReportForm.ValueWeight3, PlcReadTemp.ValueWeight3); - - SetStateButton(DeviceDetailReportForm.WatchDog, PlcReadTemp.WatchDog_Set); - SetSystemStateShow(DeviceDetailReportForm.EMStop, PlcReadTemp.EMStop_Set); - - - SetSwitchLight(DeviceDetailReportForm.Vessel_1_HighLevel, PlcReadTemp.Vessel_1_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_2_HighLevel, PlcReadTemp.Vessel_2_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_3_HighLevel, PlcReadTemp.Vessel_3_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_4_HighLevel, PlcReadTemp.Vessel_4_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_5_HighLevel, PlcReadTemp.Vessel_5_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_1_LowLevel, PlcReadTemp.Vessel_1_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_2_LowLevel, PlcReadTemp.Vessel_2_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_3_LowLevel, PlcReadTemp.Vessel_3_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_4_LowLevel, PlcReadTemp.Vessel_4_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Vessel_5_LowLevel, PlcReadTemp.Vessel_5_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D1, PlcReadTemp.highLevel_D1_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D2, PlcReadTemp.highLevel_D2_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D3, PlcReadTemp.highLevel_D3_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D4, PlcReadTemp.highLevel_D4_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D5, PlcReadTemp.highLevel_D5_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D6, PlcReadTemp.highLevel_D6_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D7, PlcReadTemp.highLevel_D7_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D8, PlcReadTemp.highLevel_D8_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D9, PlcReadTemp.highLevel_D9_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D10, PlcReadTemp.highLevel_D10_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D11, PlcReadTemp.highLevel_D11_Set, false); - SetSwitchLight(DeviceDetailReportForm.highLevel_D12, PlcReadTemp.highLevel_D12_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D1, PlcReadTemp.lowLevel_D1_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D2, PlcReadTemp.lowLevel_D2_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D3, PlcReadTemp.lowLevel_D3_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D4, PlcReadTemp.lowLevel_D4_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D5, PlcReadTemp.lowLevel_D5_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D6, PlcReadTemp.lowLevel_D6_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D7, PlcReadTemp.lowLevel_D7_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D8, PlcReadTemp.lowLevel_D8_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D9, PlcReadTemp.lowLevel_D9_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D10, PlcReadTemp.lowLevel_D10_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D11, PlcReadTemp.lowLevel_D11_Set, false); - SetSwitchLight(DeviceDetailReportForm.lowLevel_D12, PlcReadTemp.lowLevel_D12_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_1_HighLevel, PlcReadTemp.Hopper_1_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_2_HighLevel, PlcReadTemp.Hopper_2_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_3_HighLevel, PlcReadTemp.Hopper_3_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_4_HighLevel, PlcReadTemp.Hopper_4_HighLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_1_LowLevel, PlcReadTemp.Hopper_1_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_2_LowLevel, PlcReadTemp.Hopper_2_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_3_LowLevel, PlcReadTemp.Hopper_3_LowLevel_Set, false); - SetSwitchLight(DeviceDetailReportForm.Hopper_4_LowLevel, PlcReadTemp.Hopper_4_LowLevel_Set, false); - - - SetMCLabel(DeviceDetailReportForm.topPressure_V1, (float)Math.Round(PlcReadTemp.topPressure_V2_Set, 2)); - SetMCLabel(DeviceDetailReportForm.topPressure_V2, (float)Math.Round(PlcReadTemp.topPressure_V2_Set, 2)); - SetMCLabel(DeviceDetailReportForm.topPressure_V3, (float)Math.Round(PlcReadTemp.topPressure_V3_Set, 2)); - SetMCLabel(DeviceDetailReportForm.topPressure_V4, (float)Math.Round(PlcReadTemp.topPressure_V4_Set, 2)); - SetMCLabel(DeviceDetailReportForm.topPressure_V5, (float)Math.Round(PlcReadTemp.topPressure_V5_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Vessel_1_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_1_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Vessel_2_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_2_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Vessel_3_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_3_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Vessel_4_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_4_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Vessel_5_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_5_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.conveyV1_PV, (float)Math.Round(PlcReadTemp.conveyV1_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.conveyV2_PV, (float)Math.Round(PlcReadTemp.conveyV2_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.conveyV3_PV, (float)Math.Round(PlcReadTemp.conveyV3_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.conveyV5_PV, (float)Math.Round(PlcReadTemp.conveyV5_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.mainPress_V1_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V1_ActualValue_Set, 2)); - SetMCLabel(DeviceDetailReportForm.mainPress_V2_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V2_ActualValue_Set, 2)); - SetMCLabel(DeviceDetailReportForm.mainPress_V3_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V3_ActualValue_Set, 2)); - SetMCLabel(DeviceDetailReportForm.mainPress_V5_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V5_ActualValue_Set, 2)); - SetMCLabel(DeviceDetailReportForm.purgeV1_PV, (float)Math.Round(PlcReadTemp.purgeV1_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.purgeV2_PV, (float)Math.Round(PlcReadTemp.purgeV2_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.purgeV3_PV, (float)Math.Round(PlcReadTemp.purgeV3_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.purgeV5_PV, (float)Math.Round(PlcReadTemp.purgeV5_PV_Set, 2)); - SetMCLabel(DeviceDetailReportForm.WScale_1_ActWeight, (float)Math.Round(PlcReadTemp.WScale_1_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.WScale_2_ActWeight, (float)Math.Round(PlcReadTemp.WScale_2_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.WScale_3_ActWeight, (float)Math.Round(PlcReadTemp.WScale_3_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.WScale_4_ActWeight, (float)Math.Round(PlcReadTemp.WScale_4_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Hopper_1_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_1_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Hopper_2_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_2_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Hopper_3_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_3_ActWeight_Set, 2)); - SetMCLabel(DeviceDetailReportForm.Hopper_4_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_4_ActWeight_Set, 2)); - - - SetJzf(DeviceDetailReportForm.AS1BLT01, PlcReadTemp.AS1BLT01_Set); - SetJzf(DeviceDetailReportForm.AS1BLT02, PlcReadTemp.AS1BLT02_Set); - SetJzf(DeviceDetailReportForm.AS1BLT03, PlcReadTemp.AS1BLT03_Set); - SetJzf(DeviceDetailReportForm.AS1BLT04, PlcReadTemp.AS1BLT04_Set); - SetJzf(DeviceDetailReportForm.AS1BLT05, PlcReadTemp.AS1BLT05_Set); - SetJzf(DeviceDetailReportForm.AS2BLT01, PlcReadTemp.AS2BLT01_Set); - SetJzf(DeviceDetailReportForm.AS2BLT02, PlcReadTemp.AS2BLT02_Set); - SetJzf(DeviceDetailReportForm.AS2BLT03, PlcReadTemp.AS2BLT03_Set); - SetJzf(DeviceDetailReportForm.AS2BLT04, PlcReadTemp.AS2BLT04_Set); - SetJzf(DeviceDetailReportForm.AS2BLT05, PlcReadTemp.AS2BLT05_Set); - SetJzf(DeviceDetailReportForm.AS3BLT01, PlcReadTemp.AS3BLT01_Set); - SetJzf(DeviceDetailReportForm.AS3BLT02, PlcReadTemp.AS3BLT02_Set); - SetJzf(DeviceDetailReportForm.AS3BLT03, PlcReadTemp.AS3BLT03_Set); - SetJzf(DeviceDetailReportForm.AS3BLT04, PlcReadTemp.AS3BLT04_Set); - SetJzf(DeviceDetailReportForm.AS3BLT05, PlcReadTemp.AS3BLT05_Set); - SetJzf(DeviceDetailReportForm.AS4BLT01, PlcReadTemp.AS4BLT01_Set); - SetJzf(DeviceDetailReportForm.AS4BLT03, PlcReadTemp.AS4BLT03_Set); - SetJzf(DeviceDetailReportForm.AS5BLT01, PlcReadTemp.AS5BLT01_Set); - SetJzf(DeviceDetailReportForm.AS5BLT02, PlcReadTemp.AS5BLT02_Set); - SetJzf(DeviceDetailReportForm.AS5BLT03, PlcReadTemp.AS5BLT03_Set); - SetJzf(DeviceDetailReportForm.AS5BLT04, PlcReadTemp.AS5BLT04_Set); - SetJzf(DeviceDetailReportForm.AS5BLT05, PlcReadTemp.AS5BLT05_Set); - SetJzf(DeviceDetailReportForm.AS2PCP01, PlcReadTemp.AS2PCP01_Set); - SetJzf(DeviceDetailReportForm.AS2PCP02, PlcReadTemp.AS2PCP02_Set); - SetJzf(DeviceDetailReportForm.AS2PCP03, PlcReadTemp.AS2PCP03_Set); - SetJzf(DeviceDetailReportForm.AS1OIS01, PlcReadTemp.AS1OIS01_Set); - SetJzf(DeviceDetailReportForm.AS1OIS02, PlcReadTemp.AS1OIS02_Set); - SetJzf(DeviceDetailReportForm.AS1OIS03, PlcReadTemp.AS1OIS03_Set); - SetJzf(DeviceDetailReportForm.AS2OIS01, PlcReadTemp.AS2OIS01_Set); - SetJzf(DeviceDetailReportForm.AS2OIS02, PlcReadTemp.AS2OIS02_Set); - SetJzf(DeviceDetailReportForm.AS2OIS03, PlcReadTemp.AS2OIS03_Set); - SetJzf(DeviceDetailReportForm.AS3OIS01, PlcReadTemp.AS3OIS01_Set); - SetJzf(DeviceDetailReportForm.AS3OIS02, PlcReadTemp.AS3OIS02_Set); - SetJzf(DeviceDetailReportForm.AS3OIS03, PlcReadTemp.AS3OIS03_Set); - SetJzf(DeviceDetailReportForm.AS4OIS01, PlcReadTemp.AS4OIS01_Set); - SetJzf(DeviceDetailReportForm.AS4OIS02, PlcReadTemp.AS4OIS02_Set); - SetJzf(DeviceDetailReportForm.AS4OIS03, PlcReadTemp.AS4OIS03_Set); - SetJzf(DeviceDetailReportForm.AS1GET01, PlcReadTemp.AS1GET01_Set); - SetJzf(DeviceDetailReportForm.AS1GET02, PlcReadTemp.AS1GET02_Set); - SetJzf(DeviceDetailReportForm.AS2GET01, PlcReadTemp.AS2GET01_Set); - SetJzf(DeviceDetailReportForm.AS2GET02, PlcReadTemp.AS2GET02_Set); - SetJzf(DeviceDetailReportForm.AS3GET01, PlcReadTemp.AS3GET01_Set); - SetJzf(DeviceDetailReportForm.AS3GET02, PlcReadTemp.AS3GET02_Set); - SetJzf(DeviceDetailReportForm.AS4GET01, PlcReadTemp.AS4GET01_Set); - SetJzf(DeviceDetailReportForm.AS4GET02, PlcReadTemp.AS4GET02_Set); - SetJzf(DeviceDetailReportForm.AS5GET01, PlcReadTemp.AS5GET01_Set); - SetJzf(DeviceDetailReportForm.AS5GET02, PlcReadTemp.AS5GET02_Set); - SetJzf(DeviceDetailReportForm.AS6GET01, PlcReadTemp.AS6GET01_Set); - SetJzf(DeviceDetailReportForm.AS6GET02, PlcReadTemp.AS6GET02_Set); - SetJzf(DeviceDetailReportForm.AS7GET01, PlcReadTemp.AS7GET01_Set); - SetJzf(DeviceDetailReportForm.AS7GET02, PlcReadTemp.AS7GET02_Set); - SetJzf(DeviceDetailReportForm.AS8GET01, PlcReadTemp.AS8GET01_Set); - SetJzf(DeviceDetailReportForm.AS8GET02, PlcReadTemp.AS8GET02_Set); - - - SetControlCabinet(DeviceDetailReportForm.PM1ADF01, PlcReadTemp.PM1ADF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1BDF01, PlcReadTemp.PM1BDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1CDF01, PlcReadTemp.PM1CDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1DDF01, PlcReadTemp.PM1DDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1EDF01, PlcReadTemp.PM1EDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1FDF01, PlcReadTemp.PM1FDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1GDF01, PlcReadTemp.PM1GDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1HDF01, PlcReadTemp.PM1HDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1IDF01, PlcReadTemp.PM1IDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1JDF01, PlcReadTemp.PM1JDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1KDF01, PlcReadTemp.PM1KDF01_Set); - SetControlCabinet(DeviceDetailReportForm.PM1LDF01, PlcReadTemp.PM1LDF01_Set); - - - foreach (DataRow row in ParametersWithPCTable.Rows) - { - string id = row["Id"].ToString(); - System.Drawing.Color modeColor = System.Drawing.Color.White; - string mode; - if ((bool)row["mode"]) - { - mode = "自动"; - modeColor = System.Drawing.Color.Green; - } - else - { - mode = "手动"; - modeColor = System.Drawing.Color.Yellow; - } - string status; - System.Drawing.Color statusColor = System.Drawing.Color.White; - if ((bool)row["status"]) - { - status = "运行"; - statusColor = System.Drawing.Color.Green; - } - else - { - status = "空闲"; - statusColor = System.Drawing.Color.Yellow; - } - int batch = (int)row["batch"]; - int step = (int)row["step"]; - string stepName = Convert.ToString(row["stepName"]); - int totalTime = (int)row["totalTime"]; - int stepTime = (int)row["stepTime"]; - float speed = (float)Math.Round(Convert.ToSingle(row["speed"]), 2); - float current = (float)Math.Round(Convert.ToSingle(row["currnet"]), 2); - float pressure = (float)Math.Round(Convert.ToSingle(row["pressure"]), 2); - - //根据ID对应一组控件 - switch (id) - { - case "Dryer0": - this.DeviceDetailReportForm.DAMode.MCValue = mode; - this.DeviceDetailReportForm.DAMode.ForeColor = modeColor; - this.DeviceDetailReportForm.DAStatus.MCValue = status; - this.DeviceDetailReportForm.DAStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.DABatch.MCValue = batch; - this.DeviceDetailReportForm.DAStep.MCValue = step; - this.DeviceDetailReportForm.DAStepCode.MCValue = stepName; - this.DeviceDetailReportForm.DATotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.DAStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.DASpeed.MCValue = speed; - break; - case "Dryer1": - this.DeviceDetailReportForm.DBMode.MCValue = mode; - this.DeviceDetailReportForm.DBMode.ForeColor = modeColor; - this.DeviceDetailReportForm.DBStatus.MCValue = status; - this.DeviceDetailReportForm.DBStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.DBBatch.MCValue = batch; - this.DeviceDetailReportForm.DBStep.MCValue = step; - this.DeviceDetailReportForm.DBStepCode.MCValue = stepName; - this.DeviceDetailReportForm.DBTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.DBStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.DBSpeed.MCValue = speed; - break; - case "Dryer2": - this.DeviceDetailReportForm.DCMode.MCValue = mode; - this.DeviceDetailReportForm.DCMode.ForeColor = modeColor; - this.DeviceDetailReportForm.DCStatus.MCValue = status; - this.DeviceDetailReportForm.DCStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.DCBatch.MCValue = batch; - this.DeviceDetailReportForm.DCStep.MCValue = step; - this.DeviceDetailReportForm.DCStepCode.MCValue = stepName; - this.DeviceDetailReportForm.DCTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.DCStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.DCSpeed.MCValue = speed; - break; - case "Dryer3": - this.DeviceDetailReportForm.DDMode.MCValue = mode; - this.DeviceDetailReportForm.DDMode.ForeColor = modeColor; - this.DeviceDetailReportForm.DDStatus.MCValue = status; - this.DeviceDetailReportForm.DDStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.DDBatch.MCValue = batch; - this.DeviceDetailReportForm.DDStep.MCValue = step; - this.DeviceDetailReportForm.DDStepCode.MCValue = stepName; - this.DeviceDetailReportForm.DDTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.DDStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.DDSpeed.MCValue = speed; - break; - case "Weter0": - this.DeviceDetailReportForm.WAMode.MCValue = mode; - this.DeviceDetailReportForm.WAMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WAStatus.MCValue = status; - this.DeviceDetailReportForm.WAStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WABatch.MCValue = batch; - this.DeviceDetailReportForm.WAStep.MCValue = step; - this.DeviceDetailReportForm.WAStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WATotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WAStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WASpeed.MCValue = speed; - this.DeviceDetailReportForm.WACurrent.MCValue = current; - this.DeviceDetailReportForm.WAPressure.MCValue = pressure; - break; - case "Weter1": - this.DeviceDetailReportForm.WBMode.MCValue = mode; - this.DeviceDetailReportForm.WBMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WBStatus.MCValue = status; - this.DeviceDetailReportForm.WBStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WBBatch.MCValue = batch; - this.DeviceDetailReportForm.WBStep.MCValue = step; - this.DeviceDetailReportForm.WBStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WBTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WBStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WBSpeed.MCValue = speed; - this.DeviceDetailReportForm.WBCurrent.MCValue = current; - this.DeviceDetailReportForm.WBPressure.MCValue = pressure; - break; - case "Weter2": - this.DeviceDetailReportForm.WCMode.MCValue = mode; - this.DeviceDetailReportForm.WCMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WCStatus.MCValue = status; - this.DeviceDetailReportForm.WCStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WCBatch.MCValue = batch; - this.DeviceDetailReportForm.WCStep.MCValue = step; - this.DeviceDetailReportForm.WCStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WCTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WCStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WCSpeed.MCValue = speed; - this.DeviceDetailReportForm.WCCurrent.MCValue = current; - this.DeviceDetailReportForm.WCPressure.MCValue = pressure; - break; - case "Weter3": - this.DeviceDetailReportForm.WDMode.MCValue = mode; - this.DeviceDetailReportForm.WDMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WDStatus.MCValue = status; - this.DeviceDetailReportForm.WDStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WDBatch.MCValue = batch; - this.DeviceDetailReportForm.WDStep.MCValue = step; - this.DeviceDetailReportForm.WDStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WDTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WDStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WDSpeed.MCValue = speed; - this.DeviceDetailReportForm.WDCurrent.MCValue = current; - this.DeviceDetailReportForm.WDPressure.MCValue = pressure; - break; - case "Weter4": - this.DeviceDetailReportForm.WEMode.MCValue = mode; - this.DeviceDetailReportForm.WEMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WEStatus.MCValue = status; - this.DeviceDetailReportForm.WEStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WEBatch.MCValue = batch; - this.DeviceDetailReportForm.WEStep.MCValue = step; - this.DeviceDetailReportForm.WEStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WETotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WEStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WESpeed.MCValue = speed; - this.DeviceDetailReportForm.WECurrent.MCValue = current; - this.DeviceDetailReportForm.WEPressure.MCValue = pressure; - break; - case "Weter5": - this.DeviceDetailReportForm.WFMode.MCValue = mode; - this.DeviceDetailReportForm.WFMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WFStatus.MCValue = status; - this.DeviceDetailReportForm.WFStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WFBatch.MCValue = batch; - this.DeviceDetailReportForm.WFStep.MCValue = step; - this.DeviceDetailReportForm.WFStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WFTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WFStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WFSpeed.MCValue = speed; - this.DeviceDetailReportForm.WFCurrent.MCValue = current; - this.DeviceDetailReportForm.WFPressure.MCValue = pressure; - break; - case "Weter6": - this.DeviceDetailReportForm.WGMode.MCValue = mode; - this.DeviceDetailReportForm.WGMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WGStatus.MCValue = status; - this.DeviceDetailReportForm.WGStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WGBatch.MCValue = batch; - this.DeviceDetailReportForm.WGStep.MCValue = step; - this.DeviceDetailReportForm.WGStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WGTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WGStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WGSpeed.MCValue = speed; - this.DeviceDetailReportForm.WGCurrent.MCValue = current; - this.DeviceDetailReportForm.WGPressure.MCValue = pressure; - break; - case "Weter7": - this.DeviceDetailReportForm.WHMode.MCValue = mode; - this.DeviceDetailReportForm.WHMode.ForeColor = modeColor; - this.DeviceDetailReportForm.WHStatus.MCValue = status; - this.DeviceDetailReportForm.WHStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.WHBatch.MCValue = batch; - this.DeviceDetailReportForm.WHStep.MCValue = step; - this.DeviceDetailReportForm.WHStepCode.MCValue = stepName; - this.DeviceDetailReportForm.WHTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.WHStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.WHSpeed.MCValue = speed; - this.DeviceDetailReportForm.WHCurrent.MCValue = current; - this.DeviceDetailReportForm.WHPressure.MCValue = pressure; - break; - case "Gelater0": - this.DeviceDetailReportForm.GAMode.MCValue = mode; - this.DeviceDetailReportForm.GAMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GAStatus.MCValue = status; - this.DeviceDetailReportForm.GAStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GABatch.MCValue = batch; - this.DeviceDetailReportForm.GAStep.MCValue = step; - this.DeviceDetailReportForm.GAStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GATotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GAStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GASpeed.MCValue = speed; - break; - case "Gelater1": - this.DeviceDetailReportForm.GBMode.MCValue = mode; - this.DeviceDetailReportForm.GBMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GBStatus.MCValue = status; - this.DeviceDetailReportForm.GBStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GBBatch.MCValue = batch; - this.DeviceDetailReportForm.GBStep.MCValue = step; - this.DeviceDetailReportForm.GBStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GBTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GBStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GBSpeed.MCValue = speed; - break; - case "Gelater2": - this.DeviceDetailReportForm.GCMode.MCValue = mode; - this.DeviceDetailReportForm.GCMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GCStatus.MCValue = status; - this.DeviceDetailReportForm.GCStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GCBatch.MCValue = batch; - this.DeviceDetailReportForm.GCStep.MCValue = step; - this.DeviceDetailReportForm.GCStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GCTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GCStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GCSpeed.MCValue = speed; - break; - case "Gelater3": - this.DeviceDetailReportForm.GDMode.MCValue = mode; - this.DeviceDetailReportForm.GDMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GDStatus.MCValue = status; - this.DeviceDetailReportForm.GDStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GDBatch.MCValue = batch; - this.DeviceDetailReportForm.GDStep.MCValue = step; - this.DeviceDetailReportForm.GDStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GDTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GDStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GDSpeed.MCValue = speed; - break; - case "Gelater4": - this.DeviceDetailReportForm.GEMode.MCValue = mode; - this.DeviceDetailReportForm.GEMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GEStatus.MCValue = status; - this.DeviceDetailReportForm.GEStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GEBatch.MCValue = batch; - this.DeviceDetailReportForm.GEStep.MCValue = step; - this.DeviceDetailReportForm.GEStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GETotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GEStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GESpeed.MCValue = speed; - break; - case "Gelater5": - this.DeviceDetailReportForm.GFMode.MCValue = mode; - this.DeviceDetailReportForm.GFMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GFStatus.MCValue = status; - this.DeviceDetailReportForm.GFStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GFBatch.MCValue = batch; - this.DeviceDetailReportForm.GFStep.MCValue = step; - this.DeviceDetailReportForm.GFStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GFTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GFStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GFSpeed.MCValue = speed; - break; - case "Gelater6": - this.DeviceDetailReportForm.GGMode.MCValue = mode; - this.DeviceDetailReportForm.GGMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GGStatus.MCValue = status; - this.DeviceDetailReportForm.GGStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GGBatch.MCValue = batch; - this.DeviceDetailReportForm.GGStep.MCValue = step; - this.DeviceDetailReportForm.GGStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GGTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GGStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GGSpeed.MCValue = speed; - break; - case "Gelater7": - this.DeviceDetailReportForm.GHMode.MCValue = mode; - this.DeviceDetailReportForm.GHMode.ForeColor = modeColor; - this.DeviceDetailReportForm.GHStatus.MCValue = status; - this.DeviceDetailReportForm.GHStatus.ForeColor = statusColor; - this.DeviceDetailReportForm.GHBatch.MCValue = batch; - this.DeviceDetailReportForm.GHStep.MCValue = step; - this.DeviceDetailReportForm.GHStepCode.MCValue = stepName; - this.DeviceDetailReportForm.GHTotalTime.MCValue = totalTime; - this.DeviceDetailReportForm.GHStepTime.MCValue = stepTime; - this.DeviceDetailReportForm.GHSpeed.MCValue = speed; - break; - default: break; - } - - } + SetMCLabel(LabelE.ValueWeight1, PlcReadTemp.ValueWeight1); + SetMCLabel(LabelE.ValueWeight2, PlcReadTemp.ValueWeight2); + SetMCLabel(LabelE.ValueWeight3, PlcReadTemp.ValueWeight3); + + SetStateButton(DetailE.WatchDog, PlcReadTemp.WatchDog_Set); + SetSystemStateShow(DetailE.EMStop, PlcReadTemp.EMStop_Set); + + + SetSwitchLight(LightE.Vessel_1_HighLevel, PlcReadTemp.Vessel_1_HighLevel_Set, false); + SetSwitchLight(LightE.Vessel_2_HighLevel, PlcReadTemp.Vessel_2_HighLevel_Set, false); + SetSwitchLight(LightE.Vessel_3_HighLevel, PlcReadTemp.Vessel_3_HighLevel_Set, false); + SetSwitchLight(LightE.Vessel_4_HighLevel, PlcReadTemp.Vessel_4_HighLevel_Set, false); + SetSwitchLight(LightE.Vessel_5_HighLevel, PlcReadTemp.Vessel_5_HighLevel_Set, false); + SetSwitchLight(LightE.Vessel_1_LowLevel, PlcReadTemp.Vessel_1_LowLevel_Set, false); + SetSwitchLight(LightE.Vessel_2_LowLevel, PlcReadTemp.Vessel_2_LowLevel_Set, false); + SetSwitchLight(LightE.Vessel_3_LowLevel, PlcReadTemp.Vessel_3_LowLevel_Set, false); + SetSwitchLight(LightE.Vessel_4_LowLevel, PlcReadTemp.Vessel_4_LowLevel_Set, false); + SetSwitchLight(LightE.Vessel_5_LowLevel, PlcReadTemp.Vessel_5_LowLevel_Set, false); + SetSwitchLight(LightE.highLevel_D1, PlcReadTemp.highLevel_D1_Set, false); + SetSwitchLight(LightE.highLevel_D2, PlcReadTemp.highLevel_D2_Set, false); + SetSwitchLight(LightE.highLevel_D3, PlcReadTemp.highLevel_D3_Set, false); + SetSwitchLight(LightE.highLevel_D4, PlcReadTemp.highLevel_D4_Set, false); + SetSwitchLight(LightE.highLevel_D5, PlcReadTemp.highLevel_D5_Set, false); + SetSwitchLight(LightE.highLevel_D6, PlcReadTemp.highLevel_D6_Set, false); + SetSwitchLight(LightE.highLevel_D7, PlcReadTemp.highLevel_D7_Set, false); + SetSwitchLight(LightE.highLevel_D8, PlcReadTemp.highLevel_D8_Set, false); + SetSwitchLight(LightE.highLevel_D9, PlcReadTemp.highLevel_D9_Set, false); + SetSwitchLight(LightE.highLevel_D10, PlcReadTemp.highLevel_D10_Set, false); + SetSwitchLight(LightE.highLevel_D11, PlcReadTemp.highLevel_D11_Set, false); + SetSwitchLight(LightE.highLevel_D12, PlcReadTemp.highLevel_D12_Set, false); + SetSwitchLight(LightE.lowLevel_D1, PlcReadTemp.lowLevel_D1_Set, false); + SetSwitchLight(LightE.lowLevel_D2, PlcReadTemp.lowLevel_D2_Set, false); + SetSwitchLight(LightE.lowLevel_D3, PlcReadTemp.lowLevel_D3_Set, false); + SetSwitchLight(LightE.lowLevel_D4, PlcReadTemp.lowLevel_D4_Set, false); + SetSwitchLight(LightE.lowLevel_D5, PlcReadTemp.lowLevel_D5_Set, false); + SetSwitchLight(LightE.lowLevel_D6, PlcReadTemp.lowLevel_D6_Set, false); + SetSwitchLight(LightE.lowLevel_D7, PlcReadTemp.lowLevel_D7_Set, false); + SetSwitchLight(LightE.lowLevel_D8, PlcReadTemp.lowLevel_D8_Set, false); + SetSwitchLight(LightE.lowLevel_D9, PlcReadTemp.lowLevel_D9_Set, false); + SetSwitchLight(LightE.lowLevel_D10, PlcReadTemp.lowLevel_D10_Set, false); + SetSwitchLight(LightE.lowLevel_D11, PlcReadTemp.lowLevel_D11_Set, false); + SetSwitchLight(LightE.lowLevel_D12, PlcReadTemp.lowLevel_D12_Set, false); + SetSwitchLight(LightE.Hopper_1_HighLevel, PlcReadTemp.Hopper_1_HighLevel_Set, false); + SetSwitchLight(LightE.Hopper_2_HighLevel, PlcReadTemp.Hopper_2_HighLevel_Set, false); + SetSwitchLight(LightE.Hopper_3_HighLevel, PlcReadTemp.Hopper_3_HighLevel_Set, false); + SetSwitchLight(LightE.Hopper_4_HighLevel, PlcReadTemp.Hopper_4_HighLevel_Set, false); + SetSwitchLight(LightE.Hopper_1_LowLevel, PlcReadTemp.Hopper_1_LowLevel_Set, false); + SetSwitchLight(LightE.Hopper_2_LowLevel, PlcReadTemp.Hopper_2_LowLevel_Set, false); + SetSwitchLight(LightE.Hopper_3_LowLevel, PlcReadTemp.Hopper_3_LowLevel_Set, false); + SetSwitchLight(LightE.Hopper_4_LowLevel, PlcReadTemp.Hopper_4_LowLevel_Set, false); + + + SetMCLabel(LabelE.topPressure_V1, (float)Math.Round(PlcReadTemp.topPressure_V2_Set, 2)); + SetMCLabel(LabelE.topPressure_V2, (float)Math.Round(PlcReadTemp.topPressure_V2_Set, 2)); + SetMCLabel(LabelE.topPressure_V3, (float)Math.Round(PlcReadTemp.topPressure_V3_Set, 2)); + SetMCLabel(LabelE.topPressure_V4, (float)Math.Round(PlcReadTemp.topPressure_V4_Set, 2)); + SetMCLabel(LabelE.topPressure_V5, (float)Math.Round(PlcReadTemp.topPressure_V5_Set, 2)); + SetMCLabel(LabelE.Vessel_1_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_1_ActWeight_Set, 2)); + SetMCLabel(LabelE.Vessel_2_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_2_ActWeight_Set, 2)); + SetMCLabel(LabelE.Vessel_3_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_3_ActWeight_Set, 2)); + SetMCLabel(LabelE.Vessel_4_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_4_ActWeight_Set, 2)); + SetMCLabel(LabelE.Vessel_5_ActWeight, (float)Math.Round(PlcReadTemp.Vessel_5_ActWeight_Set, 2)); + SetMCLabel(LabelE.conveyV1_PV, (float)Math.Round(PlcReadTemp.conveyV1_PV_Set, 2)); + SetMCLabel(LabelE.conveyV2_PV, (float)Math.Round(PlcReadTemp.conveyV2_PV_Set, 2)); + SetMCLabel(LabelE.conveyV3_PV, (float)Math.Round(PlcReadTemp.conveyV3_PV_Set, 2)); + SetMCLabel(LabelE.conveyV5_PV, (float)Math.Round(PlcReadTemp.conveyV5_PV_Set, 2)); + SetMCLabel(LabelE.mainPress_V1_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V1_ActualValue_Set, 2)); + SetMCLabel(LabelE.mainPress_V2_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V2_ActualValue_Set, 2)); + SetMCLabel(LabelE.mainPress_V3_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V3_ActualValue_Set, 2)); + SetMCLabel(LabelE.mainPress_V5_ActualValue, (float)Math.Round(PlcReadTemp.mainPress_V5_ActualValue_Set, 2)); + SetMCLabel(LabelE.purgeV1_PV, (float)Math.Round(PlcReadTemp.purgeV1_PV_Set, 2)); + SetMCLabel(LabelE.purgeV2_PV, (float)Math.Round(PlcReadTemp.purgeV2_PV_Set, 2)); + SetMCLabel(LabelE.purgeV3_PV, (float)Math.Round(PlcReadTemp.purgeV3_PV_Set, 2)); + SetMCLabel(LabelE.purgeV5_PV, (float)Math.Round(PlcReadTemp.purgeV5_PV_Set, 2)); + SetMCLabel(LabelE.WScale_1_ActWeight, (float)Math.Round(PlcReadTemp.WScale_1_ActWeight_Set, 2)); + SetMCLabel(LabelE.WScale_2_ActWeight, (float)Math.Round(PlcReadTemp.WScale_2_ActWeight_Set, 2)); + SetMCLabel(LabelE.WScale_3_ActWeight, (float)Math.Round(PlcReadTemp.WScale_3_ActWeight_Set, 2)); + SetMCLabel(LabelE.WScale_4_ActWeight, (float)Math.Round(PlcReadTemp.WScale_4_ActWeight_Set, 2)); + SetMCLabel(LabelE.Hopper_1_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_1_ActWeight_Set, 2)); + SetMCLabel(LabelE.Hopper_2_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_2_ActWeight_Set, 2)); + SetMCLabel(LabelE.Hopper_3_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_3_ActWeight_Set, 2)); + SetMCLabel(LabelE.Hopper_4_ActWeight, (float)Math.Round(PlcReadTemp.Hopper_4_ActWeight_Set, 2)); + + + SetJzf(JzfE.AS1BLT01, PlcReadTemp.AS1BLT01_Set); + SetJzf(JzfE.AS1BLT02, PlcReadTemp.AS1BLT02_Set); + SetJzf(JzfE.AS1BLT03, PlcReadTemp.AS1BLT03_Set); + SetJzf(JzfE.AS1BLT04, PlcReadTemp.AS1BLT04_Set); + SetJzf(JzfE.AS1BLT05, PlcReadTemp.AS1BLT05_Set); + SetJzf(JzfE.AS2BLT01, PlcReadTemp.AS2BLT01_Set); + SetJzf(JzfE.AS2BLT02, PlcReadTemp.AS2BLT02_Set); + SetJzf(JzfE.AS2BLT03, PlcReadTemp.AS2BLT03_Set); + SetJzf(JzfE.AS2BLT04, PlcReadTemp.AS2BLT04_Set); + SetJzf(JzfE.AS2BLT05, PlcReadTemp.AS2BLT05_Set); + SetJzf(JzfE.AS3BLT01, PlcReadTemp.AS3BLT01_Set); + SetJzf(JzfE.AS3BLT02, PlcReadTemp.AS3BLT02_Set); + SetJzf(JzfE.AS3BLT03, PlcReadTemp.AS3BLT03_Set); + SetJzf(JzfE.AS3BLT04, PlcReadTemp.AS3BLT04_Set); + SetJzf(JzfE.AS3BLT05, PlcReadTemp.AS3BLT05_Set); + SetJzf(JzfE.AS4BLT01, PlcReadTemp.AS4BLT01_Set); + SetJzf(JzfE.AS4BLT03, PlcReadTemp.AS4BLT03_Set); + SetJzf(JzfE.AS5BLT01, PlcReadTemp.AS5BLT01_Set); + SetJzf(JzfE.AS5BLT02, PlcReadTemp.AS5BLT02_Set); + SetJzf(JzfE.AS5BLT03, PlcReadTemp.AS5BLT03_Set); + SetJzf(JzfE.AS5BLT04, PlcReadTemp.AS5BLT04_Set); + SetJzf(JzfE.AS5BLT05, PlcReadTemp.AS5BLT05_Set); + SetJzf(JzfE.AS2PCP01, PlcReadTemp.AS2PCP01_Set); + SetJzf(JzfE.AS2PCP02, PlcReadTemp.AS2PCP02_Set); + SetJzf(JzfE.AS2PCP03, PlcReadTemp.AS2PCP03_Set); + SetJzf(JzfE.AS1OIS01, PlcReadTemp.AS1OIS01_Set); + SetJzf(JzfE.AS1OIS02, PlcReadTemp.AS1OIS02_Set); + SetJzf(JzfE.AS1OIS03, PlcReadTemp.AS1OIS03_Set); + SetJzf(JzfE.AS2OIS01, PlcReadTemp.AS2OIS01_Set); + SetJzf(JzfE.AS2OIS02, PlcReadTemp.AS2OIS02_Set); + SetJzf(JzfE.AS2OIS03, PlcReadTemp.AS2OIS03_Set); + SetJzf(JzfE.AS3OIS01, PlcReadTemp.AS3OIS01_Set); + SetJzf(JzfE.AS3OIS02, PlcReadTemp.AS3OIS02_Set); + SetJzf(JzfE.AS3OIS03, PlcReadTemp.AS3OIS03_Set); + SetJzf(JzfE.AS4OIS01, PlcReadTemp.AS4OIS01_Set); + SetJzf(JzfE.AS4OIS02, PlcReadTemp.AS4OIS02_Set); + SetJzf(JzfE.AS4OIS03, PlcReadTemp.AS4OIS03_Set); + SetJzf(JzfE.AS1GET01, PlcReadTemp.AS1GET01_Set); + SetJzf(JzfE.AS1GET02, PlcReadTemp.AS1GET02_Set); + SetJzf(JzfE.AS2GET01, PlcReadTemp.AS2GET01_Set); + SetJzf(JzfE.AS2GET02, PlcReadTemp.AS2GET02_Set); + SetJzf(JzfE.AS3GET01, PlcReadTemp.AS3GET01_Set); + SetJzf(JzfE.AS3GET02, PlcReadTemp.AS3GET02_Set); + SetJzf(JzfE.AS4GET01, PlcReadTemp.AS4GET01_Set); + SetJzf(JzfE.AS4GET02, PlcReadTemp.AS4GET02_Set); + SetJzf(JzfE.AS5GET01, PlcReadTemp.AS5GET01_Set); + SetJzf(JzfE.AS5GET02, PlcReadTemp.AS5GET02_Set); + SetJzf(JzfE.AS6GET01, PlcReadTemp.AS6GET01_Set); + SetJzf(JzfE.AS6GET02, PlcReadTemp.AS6GET02_Set); + SetJzf(JzfE.AS7GET01, PlcReadTemp.AS7GET01_Set); + SetJzf(JzfE.AS7GET02, PlcReadTemp.AS7GET02_Set); + SetJzf(JzfE.AS8GET01, PlcReadTemp.AS8GET01_Set); + SetJzf(JzfE.AS8GET02, PlcReadTemp.AS8GET02_Set); + + + SetControlCabinet(ControlCabinetE.PM1ADF01, PlcReadTemp.PM1ADF01_Set); + SetControlCabinet(ControlCabinetE.PM1BDF01, PlcReadTemp.PM1BDF01_Set); + SetControlCabinet(ControlCabinetE.PM1CDF01, PlcReadTemp.PM1CDF01_Set); + SetControlCabinet(ControlCabinetE.PM1DDF01, PlcReadTemp.PM1DDF01_Set); + SetControlCabinet(ControlCabinetE.PM1EDF01, PlcReadTemp.PM1EDF01_Set); + SetControlCabinet(ControlCabinetE.PM1FDF01, PlcReadTemp.PM1FDF01_Set); + SetControlCabinet(ControlCabinetE.PM1GDF01, PlcReadTemp.PM1GDF01_Set); + SetControlCabinet(ControlCabinetE.PM1HDF01, PlcReadTemp.PM1HDF01_Set); + SetControlCabinet(ControlCabinetE.PM1IDF01, PlcReadTemp.PM1IDF01_Set); + SetControlCabinet(ControlCabinetE.PM1JDF01, PlcReadTemp.PM1JDF01_Set); + SetControlCabinet(ControlCabinetE.PM1KDF01, PlcReadTemp.PM1KDF01_Set); + SetControlCabinet(ControlCabinetE.PM1LDF01, PlcReadTemp.PM1LDF01_Set); } #endregion - #region 控件获取 - - /// - /// 控件获取 - /// - private void SetControl() - { - - #region 报表实体类对应前端控件 - - DeviceDetailReportForm.DAMode = StringToLable("DAMode"); - DeviceDetailReportForm.DAStatus = StringToLable("DAStatus"); - DeviceDetailReportForm.DABatch = StringToLable("DABatch"); - DeviceDetailReportForm.DAStep = StringToLable("DAStep"); - DeviceDetailReportForm.DAStepCode = StringToLable("DAStepCode"); - DeviceDetailReportForm.DATotalTime = StringToLable("DATotalTime"); - DeviceDetailReportForm.DAStepTime = StringToLable("DAStepTime"); - DeviceDetailReportForm.DASpeed = StringToLable("DASpeed"); - - DeviceDetailReportForm.DBMode = StringToLable("DBMode"); - DeviceDetailReportForm.DBStatus = StringToLable("DBStatus"); - DeviceDetailReportForm.DBBatch = StringToLable("DBBatch"); - DeviceDetailReportForm.DBStep = StringToLable("DBStep"); - DeviceDetailReportForm.DBStepCode = StringToLable("DBStepCode"); - DeviceDetailReportForm.DBTotalTime = StringToLable("DBTotalTime"); - DeviceDetailReportForm.DBStepTime = StringToLable("DBStepTime"); - DeviceDetailReportForm.DBSpeed = StringToLable("DBSpeed"); - - DeviceDetailReportForm.DCMode = StringToLable("DCMode"); - DeviceDetailReportForm.DCStatus = StringToLable("DCStatus"); - DeviceDetailReportForm.DCBatch = StringToLable("DCBatch"); - DeviceDetailReportForm.DCStep = StringToLable("DCStep"); - DeviceDetailReportForm.DCStepCode = StringToLable("DCStepCode"); - DeviceDetailReportForm.DCTotalTime = StringToLable("DCTotalTime"); - DeviceDetailReportForm.DCStepTime = StringToLable("DCStepTime"); - DeviceDetailReportForm.DCSpeed = StringToLable("DCSpeed"); - - DeviceDetailReportForm.DDMode = StringToLable("DDMode"); - DeviceDetailReportForm.DDStatus = StringToLable("DDStatus"); - DeviceDetailReportForm.DDBatch = StringToLable("DDBatch"); - DeviceDetailReportForm.DDStep = StringToLable("DDStep"); - DeviceDetailReportForm.DDStepCode = StringToLable("DDStepCode"); - DeviceDetailReportForm.DDTotalTime = StringToLable("DDTotalTime"); - DeviceDetailReportForm.DDStepTime = StringToLable("DDStepTime"); - DeviceDetailReportForm.DDSpeed = StringToLable("DDSpeed"); - - - - DeviceDetailReportForm.WAMode = StringToLable("WAMode"); - DeviceDetailReportForm.WAStatus = StringToLable("WAStatus"); - DeviceDetailReportForm.WABatch = StringToLable("WABatch"); - DeviceDetailReportForm.WAStep = StringToLable("WAStep"); - DeviceDetailReportForm.WAStepCode = StringToLable("WAStepCode"); - DeviceDetailReportForm.WATotalTime = StringToLable("WATotalTime"); - DeviceDetailReportForm.WAStepTime = StringToLable("WAStepTime"); - DeviceDetailReportForm.WASpeed = StringToLable("WASpeed"); - DeviceDetailReportForm.WACurrent = StringToLable("WACurrent"); - DeviceDetailReportForm.WAPressure = StringToLable("WAPressure"); - - DeviceDetailReportForm.WBMode = StringToLable("WBMode"); - DeviceDetailReportForm.WBStatus = StringToLable("WBStatus"); - DeviceDetailReportForm.WBBatch = StringToLable("WBBatch"); - DeviceDetailReportForm.WBStep = StringToLable("WBStep"); - DeviceDetailReportForm.WBStepCode = StringToLable("WBStepCode"); - DeviceDetailReportForm.WBTotalTime = StringToLable("WBTotalTime"); - DeviceDetailReportForm.WBStepTime = StringToLable("WBStepTime"); - DeviceDetailReportForm.WBSpeed = StringToLable("WBSpeed"); - DeviceDetailReportForm.WBCurrent = StringToLable("WBCurrent"); - DeviceDetailReportForm.WBPressure = StringToLable("WBPressure"); - - DeviceDetailReportForm.WCMode = StringToLable("WCMode"); - DeviceDetailReportForm.WCStatus = StringToLable("WCStatus"); - DeviceDetailReportForm.WCBatch = StringToLable("WCBatch"); - DeviceDetailReportForm.WCStep = StringToLable("WCStep"); - DeviceDetailReportForm.WCStepCode = StringToLable("WCStepCode"); - DeviceDetailReportForm.WCTotalTime = StringToLable("WCTotalTime"); - DeviceDetailReportForm.WCStepTime = StringToLable("WCStepTime"); - DeviceDetailReportForm.WCSpeed = StringToLable("WCSpeed"); - DeviceDetailReportForm.WCCurrent = StringToLable("WCCurrent"); - DeviceDetailReportForm.WCPressure = StringToLable("WCPressure"); - - DeviceDetailReportForm.WDMode = StringToLable("WDMode"); - DeviceDetailReportForm.WDStatus = StringToLable("WDStatus"); - DeviceDetailReportForm.WDBatch = StringToLable("WDBatch"); - DeviceDetailReportForm.WDStep = StringToLable("WDStep"); - DeviceDetailReportForm.WDStepCode = StringToLable("WDStepCode"); - DeviceDetailReportForm.WDTotalTime = StringToLable("WDTotalTime"); - DeviceDetailReportForm.WDStepTime = StringToLable("WDStepTime"); - DeviceDetailReportForm.WDSpeed = StringToLable("WDSpeed"); - DeviceDetailReportForm.WDCurrent = StringToLable("WDCurrent"); - DeviceDetailReportForm.WDPressure = StringToLable("WDPressure"); - - DeviceDetailReportForm.WEMode = StringToLable("WEMode"); - DeviceDetailReportForm.WEStatus = StringToLable("WEStatus"); - DeviceDetailReportForm.WEBatch = StringToLable("WEBatch"); - DeviceDetailReportForm.WEStep = StringToLable("WEStep"); - DeviceDetailReportForm.WEStepCode = StringToLable("WEStepCode"); - DeviceDetailReportForm.WETotalTime = StringToLable("WETotalTime"); - DeviceDetailReportForm.WEStepTime = StringToLable("WEStepTime"); - DeviceDetailReportForm.WESpeed = StringToLable("WESpeed"); - DeviceDetailReportForm.WECurrent = StringToLable("WECurrent"); - DeviceDetailReportForm.WEPressure = StringToLable("WEPressure"); - - DeviceDetailReportForm.WFMode = StringToLable("WFMode"); - DeviceDetailReportForm.WFStatus = StringToLable("WFStatus"); - DeviceDetailReportForm.WFBatch = StringToLable("WFBatch"); - DeviceDetailReportForm.WFStep = StringToLable("WFStep"); - DeviceDetailReportForm.WFStepCode = StringToLable("WFStepCode"); - DeviceDetailReportForm.WFTotalTime = StringToLable("WFTotalTime"); - DeviceDetailReportForm.WFStepTime = StringToLable("WFStepTime"); - DeviceDetailReportForm.WFSpeed = StringToLable("WFSpeed"); - DeviceDetailReportForm.WFCurrent = StringToLable("WFCurrent"); - DeviceDetailReportForm.WFPressure = StringToLable("WFPressure"); - - DeviceDetailReportForm.WGMode = StringToLable("WGMode"); - DeviceDetailReportForm.WGStatus = StringToLable("WGStatus"); - DeviceDetailReportForm.WGBatch = StringToLable("WGBatch"); - DeviceDetailReportForm.WGStep = StringToLable("WGStep"); - DeviceDetailReportForm.WGStepCode = StringToLable("WGStepCode"); - DeviceDetailReportForm.WGTotalTime = StringToLable("WGTotalTime"); - DeviceDetailReportForm.WGStepTime = StringToLable("WGStepTime"); - DeviceDetailReportForm.WGSpeed = StringToLable("WGSpeed"); - DeviceDetailReportForm.WGCurrent = StringToLable("WGCurrent"); - DeviceDetailReportForm.WGPressure = StringToLable("WGPressure"); - - DeviceDetailReportForm.WHMode = StringToLable("WHMode"); - DeviceDetailReportForm.WHStatus = StringToLable("WHStatus"); - DeviceDetailReportForm.WHBatch = StringToLable("WHBatch"); - DeviceDetailReportForm.WHStep = StringToLable("WHStep"); - DeviceDetailReportForm.WHStepCode = StringToLable("WHStepCode"); - DeviceDetailReportForm.WHTotalTime = StringToLable("WHTotalTime"); - DeviceDetailReportForm.WHStepTime = StringToLable("WHStepTime"); - DeviceDetailReportForm.WHSpeed = StringToLable("WHSpeed"); - DeviceDetailReportForm.WHCurrent = StringToLable("WHCurrent"); - DeviceDetailReportForm.WHPressure = StringToLable("WHPressure"); - - - - DeviceDetailReportForm.GAMode = StringToLable("GAMode"); - DeviceDetailReportForm.GAStatus = StringToLable("GAStatus"); - DeviceDetailReportForm.GABatch = StringToLable("GABatch"); - DeviceDetailReportForm.GAStep = StringToLable("GAStep"); - DeviceDetailReportForm.GAStepCode = StringToLable("GAStepCode"); - DeviceDetailReportForm.GATotalTime = StringToLable("GATotalTime"); - DeviceDetailReportForm.GAStepTime = StringToLable("GAStepTime"); - DeviceDetailReportForm.GASpeed = StringToLable("GASpeed"); - - DeviceDetailReportForm.GBMode = StringToLable("GBMode"); - DeviceDetailReportForm.GBStatus = StringToLable("GBStatus"); - DeviceDetailReportForm.GBBatch = StringToLable("GBBatch"); - DeviceDetailReportForm.GBStep = StringToLable("GBStep"); - DeviceDetailReportForm.GBStepCode = StringToLable("GBStepCode"); - DeviceDetailReportForm.GBTotalTime = StringToLable("GBTotalTime"); - DeviceDetailReportForm.GBStepTime = StringToLable("GBStepTime"); - DeviceDetailReportForm.GBSpeed = StringToLable("GBSpeed"); - - DeviceDetailReportForm.GCMode = StringToLable("GCMode"); - DeviceDetailReportForm.GCStatus = StringToLable("GCStatus"); - DeviceDetailReportForm.GCBatch = StringToLable("GCBatch"); - DeviceDetailReportForm.GCStep = StringToLable("GCStep"); - DeviceDetailReportForm.GCStepCode = StringToLable("GCStepCode"); - DeviceDetailReportForm.GCTotalTime = StringToLable("GCTotalTime"); - DeviceDetailReportForm.GCStepTime = StringToLable("GCStepTime"); - DeviceDetailReportForm.GCSpeed = StringToLable("GCSpeed"); - - DeviceDetailReportForm.GDMode = StringToLable("GDMode"); - DeviceDetailReportForm.GDStatus = StringToLable("GDStatus"); - DeviceDetailReportForm.GDBatch = StringToLable("GDBatch"); - DeviceDetailReportForm.GDStep = StringToLable("GDStep"); - DeviceDetailReportForm.GDStepCode = StringToLable("GDStepCode"); - DeviceDetailReportForm.GDTotalTime = StringToLable("GDTotalTime"); - DeviceDetailReportForm.GDStepTime = StringToLable("GDStepTime"); - DeviceDetailReportForm.GDSpeed = StringToLable("GDSpeed"); - - DeviceDetailReportForm.GEMode = StringToLable("GEMode"); - DeviceDetailReportForm.GEStatus = StringToLable("GEStatus"); - DeviceDetailReportForm.GEBatch = StringToLable("GEBatch"); - DeviceDetailReportForm.GEStep = StringToLable("GEStep"); - DeviceDetailReportForm.GEStepCode = StringToLable("GEStepCode"); - DeviceDetailReportForm.GETotalTime = StringToLable("GETotalTime"); - DeviceDetailReportForm.GEStepTime = StringToLable("GEStepTime"); - DeviceDetailReportForm.GESpeed = StringToLable("GESpeed"); - - DeviceDetailReportForm.GFMode = StringToLable("GFMode"); - DeviceDetailReportForm.GFStatus = StringToLable("GFStatus"); - DeviceDetailReportForm.GFBatch = StringToLable("GFBatch"); - DeviceDetailReportForm.GFStep = StringToLable("GFStep"); - DeviceDetailReportForm.GFStepCode = StringToLable("GFStepCode"); - DeviceDetailReportForm.GFTotalTime = StringToLable("GFTotalTime"); - DeviceDetailReportForm.GFStepTime = StringToLable("GFStepTime"); - DeviceDetailReportForm.GFSpeed = StringToLable("GFSpeed"); - - DeviceDetailReportForm.GGMode = StringToLable("GGMode"); - DeviceDetailReportForm.GGStatus = StringToLable("GGStatus"); - DeviceDetailReportForm.GGBatch = StringToLable("GGBatch"); - DeviceDetailReportForm.GGStep = StringToLable("GGStep"); - DeviceDetailReportForm.GGStepCode = StringToLable("GGStepCode"); - DeviceDetailReportForm.GGTotalTime = StringToLable("GGTotalTime"); - DeviceDetailReportForm.GGStepTime = StringToLable("GGStepTime"); - DeviceDetailReportForm.GGSpeed = StringToLable("GGSpeed"); - - DeviceDetailReportForm.GHMode = StringToLable("GHMode"); - DeviceDetailReportForm.GHStatus = StringToLable("GHStatus"); - DeviceDetailReportForm.GHBatch = StringToLable("GHBatch"); - DeviceDetailReportForm.GHStep = StringToLable("GHStep"); - DeviceDetailReportForm.GHStepCode = StringToLable("GHStepCode"); - DeviceDetailReportForm.GHTotalTime = StringToLable("GHTotalTime"); - DeviceDetailReportForm.GHStepTime = StringToLable("GHStepTime"); - DeviceDetailReportForm.GHSpeed = StringToLable("GHSpeed"); - #endregion - - #region 图像变量对应前端控件 - - DeviceDetailReportForm.WatchDog = GetStateButton("WatchDog"); - DeviceDetailReportForm.EMStop = GetSystemStateShow("EMStop"); - - DeviceDetailReportForm.Vessel_1_HighLevel = GetSwitchLight("Vessel_1_HighLevel"); - DeviceDetailReportForm.Vessel_2_HighLevel = GetSwitchLight("Vessel_2_HighLevel"); - DeviceDetailReportForm.Vessel_3_HighLevel = GetSwitchLight("Vessel_3_HighLevel"); - DeviceDetailReportForm.Vessel_4_HighLevel = GetSwitchLight("Vessel_4_HighLevel"); - DeviceDetailReportForm.Vessel_5_HighLevel = GetSwitchLight("Vessel_5_HighLevel"); - DeviceDetailReportForm.Vessel_1_LowLevel = GetSwitchLight("Vessel_1_LowLevel"); - DeviceDetailReportForm.Vessel_2_LowLevel = GetSwitchLight("Vessel_2_LowLevel"); - DeviceDetailReportForm.Vessel_3_LowLevel = GetSwitchLight("Vessel_3_LowLevel"); - DeviceDetailReportForm.Vessel_4_LowLevel = GetSwitchLight("Vessel_4_LowLevel"); - DeviceDetailReportForm.Vessel_5_LowLevel = GetSwitchLight("Vessel_5_LowLevel"); - DeviceDetailReportForm.highLevel_D1 = GetSwitchLight("highLevel_D1"); - DeviceDetailReportForm.highLevel_D2 = GetSwitchLight("highLevel_D2"); - DeviceDetailReportForm.highLevel_D3 = GetSwitchLight("highLevel_D3"); - DeviceDetailReportForm.highLevel_D4 = GetSwitchLight("highLevel_D4"); - DeviceDetailReportForm.highLevel_D5 = GetSwitchLight("highLevel_D5"); - DeviceDetailReportForm.highLevel_D6 = GetSwitchLight("highLevel_D6"); - DeviceDetailReportForm.highLevel_D7 = GetSwitchLight("highLevel_D7"); - DeviceDetailReportForm.highLevel_D8 = GetSwitchLight("highLevel_D8"); - DeviceDetailReportForm.highLevel_D9 = GetSwitchLight("highLevel_D9"); - DeviceDetailReportForm.highLevel_D10 = GetSwitchLight("highLevel_D10"); - DeviceDetailReportForm.highLevel_D11 = GetSwitchLight("highLevel_D11"); - DeviceDetailReportForm.highLevel_D12 = GetSwitchLight("highLevel_D12"); - DeviceDetailReportForm.lowLevel_D1 = GetSwitchLight("lowLevel_D1"); - DeviceDetailReportForm.lowLevel_D2 = GetSwitchLight("lowLevel_D2"); - DeviceDetailReportForm.lowLevel_D3 = GetSwitchLight("lowLevel_D3"); - DeviceDetailReportForm.lowLevel_D4 = GetSwitchLight("lowLevel_D4"); - DeviceDetailReportForm.lowLevel_D5 = GetSwitchLight("lowLevel_D5"); - DeviceDetailReportForm.lowLevel_D6 = GetSwitchLight("lowLevel_D6"); - DeviceDetailReportForm.lowLevel_D7 = GetSwitchLight("lowLevel_D7"); - DeviceDetailReportForm.lowLevel_D8 = GetSwitchLight("lowLevel_D8"); - DeviceDetailReportForm.lowLevel_D9 = GetSwitchLight("lowLevel_D9"); - DeviceDetailReportForm.lowLevel_D10 = GetSwitchLight("lowLevel_D10"); - DeviceDetailReportForm.lowLevel_D11 = GetSwitchLight("lowLevel_D11"); - DeviceDetailReportForm.lowLevel_D12 = GetSwitchLight("lowLevel_D12"); - DeviceDetailReportForm.Hopper_1_HighLevel = GetSwitchLight("Hopper_1_HighLevel"); - DeviceDetailReportForm.Hopper_2_HighLevel = GetSwitchLight("Hopper_2_HighLevel"); - DeviceDetailReportForm.Hopper_3_HighLevel = GetSwitchLight("Hopper_3_HighLevel"); - DeviceDetailReportForm.Hopper_4_HighLevel = GetSwitchLight("Hopper_4_HighLevel"); - DeviceDetailReportForm.Hopper_1_LowLevel = GetSwitchLight("Hopper_1_LowLevel"); - DeviceDetailReportForm.Hopper_2_LowLevel = GetSwitchLight("Hopper_2_LowLevel"); - DeviceDetailReportForm.Hopper_3_LowLevel = GetSwitchLight("Hopper_3_LowLevel"); - DeviceDetailReportForm.Hopper_4_LowLevel = GetSwitchLight("Hopper_4_LowLevel"); - DeviceDetailReportForm.DMWETER1 = GetSwitchLight("DMWETER1"); - DeviceDetailReportForm.DMWETER11 = GetSwitchLight("DMWETER11"); - DeviceDetailReportForm.DMWETER2 = GetSwitchLight("DMWETER2"); - DeviceDetailReportForm.DMWETER22 = GetSwitchLight("DMWETER22"); - DeviceDetailReportForm.DMWETER3 = GetSwitchLight("DMWETER3"); - DeviceDetailReportForm.DMWETER33 = GetSwitchLight("DMWETER33"); - DeviceDetailReportForm.DMWETER4 = GetSwitchLight("DMWETER4"); - DeviceDetailReportForm.DMWETER44 = GetSwitchLight("DMWETER44"); - DeviceDetailReportForm.DMWETER5 = GetSwitchLight("DMWETER5"); - DeviceDetailReportForm.DMWETER55 = GetSwitchLight("DMWETER55"); - DeviceDetailReportForm.DMWETER6 = GetSwitchLight("DMWETER6"); - DeviceDetailReportForm.DMWETER66 = GetSwitchLight("DMWETER66"); - DeviceDetailReportForm.DMWETER7 = GetSwitchLight("DMWETER7"); - DeviceDetailReportForm.DMWETER77 = GetSwitchLight("DMWETER77"); - DeviceDetailReportForm.DMWETER8 = GetSwitchLight("DMWETER8"); - DeviceDetailReportForm.DMWETER88 = GetSwitchLight("DMWETER88"); - - DeviceDetailReportForm.topPressure_V1 = GetMCLabel("topPressure_V1"); - DeviceDetailReportForm.topPressure_V2 = GetMCLabel("topPressure_V2"); - DeviceDetailReportForm.topPressure_V3 = GetMCLabel("topPressure_V3"); - DeviceDetailReportForm.topPressure_V4 = GetMCLabel("topPressure_V4"); - DeviceDetailReportForm.topPressure_V5 = GetMCLabel("topPressure_V5"); - DeviceDetailReportForm.Vessel_1_ActWeight = GetMCLabel("Vessel_1_ActWeight"); - DeviceDetailReportForm.Vessel_2_ActWeight = GetMCLabel("Vessel_2_ActWeight"); - DeviceDetailReportForm.Vessel_3_ActWeight = GetMCLabel("Vessel_3_ActWeight"); - DeviceDetailReportForm.Vessel_4_ActWeight = GetMCLabel("Vessel_4_ActWeight"); - DeviceDetailReportForm.Vessel_5_ActWeight = GetMCLabel("Vessel_5_ActWeight"); - DeviceDetailReportForm.conveyV1_PV = GetMCLabel("conveyV1_PV"); - DeviceDetailReportForm.conveyV2_PV = GetMCLabel("conveyV2_PV"); - DeviceDetailReportForm.conveyV3_PV = GetMCLabel("conveyV3_PV"); - DeviceDetailReportForm.conveyV5_PV = GetMCLabel("conveyV5_PV"); - DeviceDetailReportForm.mainPress_V1_ActualValue = GetMCLabel("mainPress_V1_ActualValue"); - DeviceDetailReportForm.mainPress_V2_ActualValue = GetMCLabel("mainPress_V2_ActualValue"); - DeviceDetailReportForm.mainPress_V3_ActualValue = GetMCLabel("mainPress_V3_ActualValue"); - DeviceDetailReportForm.mainPress_V5_ActualValue = GetMCLabel("mainPress_V5_ActualValue"); - DeviceDetailReportForm.purgeV1_PV = GetMCLabel("purgeV1_PV"); - DeviceDetailReportForm.purgeV2_PV = GetMCLabel("purgeV2_PV"); - DeviceDetailReportForm.purgeV3_PV = GetMCLabel("purgeV3_PV"); - DeviceDetailReportForm.purgeV5_PV = GetMCLabel("purgeV5_PV"); - DeviceDetailReportForm.WScale_1_ActWeight = GetMCLabel("WScale_1_ActWeight"); - DeviceDetailReportForm.WScale_2_ActWeight = GetMCLabel("WScale_2_ActWeight"); - DeviceDetailReportForm.WScale_3_ActWeight = GetMCLabel("WScale_3_ActWeight"); - DeviceDetailReportForm.WScale_4_ActWeight = GetMCLabel("WScale_4_ActWeight"); - DeviceDetailReportForm.DM1DRY1_ACT_Speed = GetMCLabel("DM1DRY1_ACT_Speed"); - DeviceDetailReportForm.DM1DRY2_ACT_Speed = GetMCLabel("DM1DRY2_ACT_Speed"); - DeviceDetailReportForm.DM1DRY3_ACT_Speed = GetMCLabel("DM1DRY3_ACT_Speed"); - DeviceDetailReportForm.DM1DRY4_ACT_Speed = GetMCLabel("DM1DRY4_ACT_Speed"); - DeviceDetailReportForm.Hopper_1_ActWeight = GetMCLabel("Hopper_1_ActWeight"); - DeviceDetailReportForm.Hopper_2_ActWeight = GetMCLabel("Hopper_2_ActWeight"); - DeviceDetailReportForm.Hopper_3_ActWeight = GetMCLabel("Hopper_3_ActWeight"); - DeviceDetailReportForm.Hopper_4_ActWeight = GetMCLabel("Hopper_4_ActWeight"); - DeviceDetailReportForm.DM1GEM = GetMCLabel("DM1GEM"); - DeviceDetailReportForm.DM2GEM = GetMCLabel("DM2GEM"); - DeviceDetailReportForm.DM3GEM = GetMCLabel("DM3GEM"); - DeviceDetailReportForm.DM4GEM = GetMCLabel("DM4GEM"); - DeviceDetailReportForm.DM5GEM = GetMCLabel("DM5GEM"); - DeviceDetailReportForm.DM6GEM = GetMCLabel("DM6GEM"); - DeviceDetailReportForm.DM7GEM = GetMCLabel("DM7GEM"); - DeviceDetailReportForm.DM8GEM = GetMCLabel("DM8GEM"); - DeviceDetailReportForm.DM2ASF01 = GetMCLabel("DM2ASF01"); - DeviceDetailReportForm.DM2BSF01 = GetMCLabel("DM2BSF01"); - DeviceDetailReportForm.DM2CSF01 = GetMCLabel("DM2CSF01"); - DeviceDetailReportForm.DM2DSF01 = GetMCLabel("DM2DSF01"); - DeviceDetailReportForm.ValueWeight1 = GetMCLabel("ValueWeight1"); - DeviceDetailReportForm.ValueWeight2 = GetMCLabel("ValueWeight2"); - DeviceDetailReportForm.ValueWeight3 = GetMCLabel("ValueWeight3"); - DeviceDetailReportForm.ValueWeight4 = GetMCLabel("ValueWeight4"); - - DeviceDetailReportForm.DM1ASF01 = GetRSCREWBIG("DM1ASF01"); - DeviceDetailReportForm.DM1BSF01 = GetRSCREWBIG("DM1BSF01"); - DeviceDetailReportForm.DM1CSF01 = GetLSCREWBIG("DM1CSF01"); - DeviceDetailReportForm.DM1DSF01 = GetLSCREWBIG("DM1DSF01"); - DeviceDetailReportForm.DM1ESF01 = GetRSCREWBIG("DM1ESF01"); - DeviceDetailReportForm.DM1FSF01 = GetLSCREWBIG("DM1FSF01"); - DeviceDetailReportForm.DM1GSF01 = GetRSCREWBIG("DM1GSF01"); - DeviceDetailReportForm.DM1HSF01 = GetRSCREWBIG("DM1HSF01"); - DeviceDetailReportForm.DM1ISF01 = GetLSCREWBIG("DM1ISF01"); - DeviceDetailReportForm.DM1JSF01 = GetLSCREWBIG("DM1JSF01"); - DeviceDetailReportForm.DM1KSF01 = GetRSCREWBIG("DM1KSF01"); - DeviceDetailReportForm.DM1LSF01 = GetRSCREWBIG("DM1LSF01"); - DeviceDetailReportForm.DM1MSF01 = GetLSCREWBIG("DM1MSF01"); - DeviceDetailReportForm.DM1NSF01 = GetLSCREWBIG("DM1NSF01"); - DeviceDetailReportForm.DM1OSF01 = GetRSCREWBIG("DM1OSF01"); - DeviceDetailReportForm.DM2ASF01L = GetLSCREWBIG("DM2ASF01L"); - DeviceDetailReportForm.DM2BSF01L = GetLSCREWBIG("DM2BSF01L"); - DeviceDetailReportForm.DM2CSF01L = GetLSCREWBIG("DM2CSF01L"); - DeviceDetailReportForm.DM2DSF01L = GetLSCREWBIG("DM2DSF01L"); - DeviceDetailReportForm.DM2ASF01R = GetRSCREWBIG("DM2ASF01R"); - DeviceDetailReportForm.DM2BSF01R = GetRSCREWBIG("DM2BSF01R"); - DeviceDetailReportForm.DM2CSF01R = GetRSCREWBIG("DM2CSF01R"); - DeviceDetailReportForm.DM2DSF01R = GetRSCREWBIG("DM2DSF01R"); - - DeviceDetailReportForm.AS1BLT01 = GetJzf("AS1BLT01"); - DeviceDetailReportForm.AS1BLT02 = GetJzf("AS1BLT02"); - DeviceDetailReportForm.AS1BLT03 = GetJzf("AS1BLT03"); - DeviceDetailReportForm.AS1BLT04 = GetJzf("AS1BLT04"); - DeviceDetailReportForm.AS1BLT05 = GetJzf("AS1BLT05"); - DeviceDetailReportForm.AS2BLT01 = GetJzf("AS2BLT01"); - DeviceDetailReportForm.AS2BLT02 = GetJzf("AS2BLT02"); - DeviceDetailReportForm.AS2BLT03 = GetJzf("AS2BLT03"); - DeviceDetailReportForm.AS2BLT04 = GetJzf("AS2BLT04"); - DeviceDetailReportForm.AS2BLT05 = GetJzf("AS2BLT05"); - DeviceDetailReportForm.AS3BLT01 = GetJzf("AS3BLT01"); - DeviceDetailReportForm.AS3BLT02 = GetJzf("AS3BLT02"); - DeviceDetailReportForm.AS3BLT03 = GetJzf("AS3BLT03"); - DeviceDetailReportForm.AS3BLT04 = GetJzf("AS3BLT04"); - DeviceDetailReportForm.AS3BLT05 = GetJzf("AS3BLT05"); - DeviceDetailReportForm.AS4BLT01 = GetJzf("AS4BLT01"); - DeviceDetailReportForm.AS4BLT03 = GetJzf("AS4BLT03"); - DeviceDetailReportForm.AS5BLT01 = GetJzf("AS5BLT01"); - DeviceDetailReportForm.AS5BLT02 = GetJzf("AS5BLT02"); - DeviceDetailReportForm.AS5BLT03 = GetJzf("AS5BLT03"); - DeviceDetailReportForm.AS5BLT04 = GetJzf("AS5BLT04"); - DeviceDetailReportForm.AS5BLT05 = GetJzf("AS5BLT05"); - DeviceDetailReportForm.AS2PCP01 = GetJzf("AS2PCP01"); - DeviceDetailReportForm.AS2PCP02 = GetJzf("AS2PCP02"); - DeviceDetailReportForm.AS2PCP03 = GetJzf("AS2PCP03"); - DeviceDetailReportForm.AS1OIS01 = GetJzf("AS1OIS01"); - DeviceDetailReportForm.AS1OIS02 = GetJzf("AS1OIS02"); - DeviceDetailReportForm.AS1OIS03 = GetJzf("AS1OIS03"); - DeviceDetailReportForm.AS2OIS01 = GetJzf("AS2OIS01"); - DeviceDetailReportForm.AS2OIS02 = GetJzf("AS2OIS02"); - DeviceDetailReportForm.AS2OIS03 = GetJzf("AS2OIS03"); - DeviceDetailReportForm.AS3OIS01 = GetJzf("AS3OIS01"); - DeviceDetailReportForm.AS3OIS02 = GetJzf("AS3OIS02"); - DeviceDetailReportForm.AS3OIS03 = GetJzf("AS3OIS03"); - DeviceDetailReportForm.AS4OIS01 = GetJzf("AS4OIS01"); - DeviceDetailReportForm.AS4OIS02 = GetJzf("AS4OIS02"); - DeviceDetailReportForm.AS4OIS03 = GetJzf("AS4OIS03"); - DeviceDetailReportForm.AS1GET01 = GetJzf("AS1GET01"); - DeviceDetailReportForm.AS1GET02 = GetJzf("AS1GET02"); - DeviceDetailReportForm.AS2GET01 = GetJzf("AS2GET01"); - DeviceDetailReportForm.AS2GET02 = GetJzf("AS2GET02"); - DeviceDetailReportForm.AS3GET01 = GetJzf("AS3GET01"); - DeviceDetailReportForm.AS3GET02 = GetJzf("AS3GET02"); - DeviceDetailReportForm.AS4GET01 = GetJzf("AS4GET01"); - DeviceDetailReportForm.AS4GET02 = GetJzf("AS4GET02"); - DeviceDetailReportForm.AS5GET01 = GetJzf("AS5GET01"); - DeviceDetailReportForm.AS5GET02 = GetJzf("AS5GET02"); - DeviceDetailReportForm.AS6GET01 = GetJzf("AS6GET01"); - DeviceDetailReportForm.AS6GET02 = GetJzf("AS6GET02"); - DeviceDetailReportForm.AS7GET01 = GetJzf("AS7GET01"); - DeviceDetailReportForm.AS7GET02 = GetJzf("AS7GET02"); - DeviceDetailReportForm.AS8GET01 = GetJzf("AS8GET01"); - DeviceDetailReportForm.AS8GET02 = GetJzf("AS8GET02"); - - DeviceDetailReportForm.DM1ADF01 = GetFan("DM1ADF01"); - DeviceDetailReportForm.DM1BDF01 = GetFan("DM1BDF01"); - DeviceDetailReportForm.DM1CDF01 = GetFan("DM1CDF01"); - DeviceDetailReportForm.DM1DDF01 = GetFan("DM1DDF01"); - DeviceDetailReportForm.DM1EDF01 = GetFan("DM1EDF01"); - DeviceDetailReportForm.DM1FDF01 = GetFan("DM1FDF01"); - DeviceDetailReportForm.DM1GDF01 = GetFan("DM1GDF01"); - DeviceDetailReportForm.DM1HDF01 = GetFan("DM1HDF01"); - DeviceDetailReportForm.DM1IDF01 = GetFan("DM1IDF01"); - DeviceDetailReportForm.DM1JDF01 = GetFan("DM1JDF01"); - DeviceDetailReportForm.DM1KDF01 = GetFan("DM1KDF01"); - DeviceDetailReportForm.DM1LDF01 = GetFan("DM1LDF01"); - DeviceDetailReportForm.DM1ADB01 = GetFan("DM1ADB01"); - DeviceDetailReportForm.DM1BDB01 = GetFan("DM1BDB01"); - DeviceDetailReportForm.DM1CDB01 = GetFan("DM1CDB01"); - DeviceDetailReportForm.DM1DDB01 = GetFan("DM1DDB01"); - DeviceDetailReportForm.DM1EDB01 = GetFan("DM1EDB01"); - DeviceDetailReportForm.DM1FDB01 = GetFan("DM1FDB01"); - DeviceDetailReportForm.DM1GDB01 = GetFan("DM1GDB01"); - DeviceDetailReportForm.DM1HDB01 = GetFan("DM1HDB01"); - DeviceDetailReportForm.DM1IDB01 = GetFan("DM1IDB01"); - DeviceDetailReportForm.DM1JDB01 = GetFan("DM1JDB01"); - DeviceDetailReportForm.DM1KDB01 = GetFan("DM1KDB01"); - DeviceDetailReportForm.DM1LDB01 = GetFan("DM1LDB01"); - DeviceDetailReportForm.DM1DRY1_Running = GetFan("DM1DRY1_Running"); - DeviceDetailReportForm.DM1DRY2_Running = GetFan("DM1DRY2_Running"); - DeviceDetailReportForm.DM1DRY3_Running = GetFan("DM1DRY3_Running"); - DeviceDetailReportForm.DM1DRY4_Running = GetFan("DM1DRY4_Running"); - DeviceDetailReportForm.PM3ADF01 = GetFan("PM3ADF01"); - - DeviceDetailReportForm.PM1ADF01 = GetControlCabinet("PM1ADF01"); - DeviceDetailReportForm.PM1BDF01 = GetControlCabinet("PM1BDF01"); - DeviceDetailReportForm.PM1CDF01 = GetControlCabinet("PM1CDF01"); - DeviceDetailReportForm.PM1DDF01 = GetControlCabinet("PM1DDF01"); - DeviceDetailReportForm.PM1EDF01 = GetControlCabinet("PM1EDF01"); - DeviceDetailReportForm.PM1FDF01 = GetControlCabinet("PM1FDF01"); - DeviceDetailReportForm.PM1GDF01 = GetControlCabinet("PM1GDF01"); - DeviceDetailReportForm.PM1HDF01 = GetControlCabinet("PM1HDF01"); - DeviceDetailReportForm.PM1IDF01 = GetControlCabinet("PM1IDF01"); - DeviceDetailReportForm.PM1JDF01 = GetControlCabinet("PM1JDF01"); - DeviceDetailReportForm.PM1KDF01 = GetControlCabinet("PM1KDF01"); - DeviceDetailReportForm.PM1LDF01 = GetControlCabinet("PM1LDF01"); - - DeviceDetailReportForm.BU1ASF01 = GetLjSwith("BU1ASF01"); - DeviceDetailReportForm.BU1BSF01 = GetLjSwith("BU1BSF01"); - DeviceDetailReportForm.BU1CSF01 = GetLjSwith("BU1CSF01"); - DeviceDetailReportForm.BU1DSF01 = GetLjSwith("BU1DSF01"); - DeviceDetailReportForm.BU1ESF01 = GetLjSwith("BU1ESF01"); - DeviceDetailReportForm.BU1FSF01 = GetLjSwith("BU1FSF01"); - DeviceDetailReportForm.BU1GSF01 = GetLjSwith("BU1GSF01"); - DeviceDetailReportForm.BU1HSF01 = GetLjSwith("BU1HSF01"); - DeviceDetailReportForm.BU1ISF01 = GetLjSwith("BU1ISF01"); - DeviceDetailReportForm.BU1JSF01 = GetLjSwith("BU1JSF01"); - DeviceDetailReportForm.BU1KSF01 = GetLjSwith("BU1KSF01"); - DeviceDetailReportForm.BU1LSF01 = GetLjSwith("BU1LSF01"); - DeviceDetailReportForm.BU1MSF01 = GetLjSwith("BU1MSF01"); - DeviceDetailReportForm.BU1NSF01 = GetLjSwith("BU1NSF01"); - DeviceDetailReportForm.BU1OSF01 = GetLjSwith("BU1OSF01"); - DeviceDetailReportForm.BU1BLT01 = GetLjSwith("BU1BLT01"); - DeviceDetailReportForm.BU1BLT02 = GetLjSwith("BU1BLT02"); - DeviceDetailReportForm.BU1BLT03 = GetLjSwith("BU1BLT03"); - DeviceDetailReportForm.BU1BLT04 = GetLjSwith("BU1BLT04"); - DeviceDetailReportForm.BU1BLT05 = GetLjSwith("BU1BLT05"); - DeviceDetailReportForm.BU1BLT06 = GetLjSwith("BU1BLT06"); - DeviceDetailReportForm.BU1BLT07 = GetLjSwith("BU1BLT07"); - DeviceDetailReportForm.BU2BLT01 = GetLjSwith("BU2BLT01"); - DeviceDetailReportForm.BU2BLT02 = GetLjSwith("BU2BLT02"); - DeviceDetailReportForm.BU2BLT03 = GetLjSwith("BU2BLT03"); - DeviceDetailReportForm.BU2BLT04 = GetLjSwith("BU2BLT04"); - DeviceDetailReportForm.BU2BLT05 = GetLjSwith("BU2BLT05"); - DeviceDetailReportForm.BU3BLT01 = GetLjSwith("BU3BLT01"); - DeviceDetailReportForm.BU3BLT02 = GetLjSwith("BU3BLT02"); - DeviceDetailReportForm.BU3BLT03 = GetLjSwith("BU3BLT03"); - DeviceDetailReportForm.BU3BLT04 = GetLjSwith("BU3BLT04"); - DeviceDetailReportForm.BU3BLT05 = GetLjSwith("BU3BLT05"); - DeviceDetailReportForm.BU3BLT06 = GetLjSwith("BU3BLT06"); - DeviceDetailReportForm.BU3BLT07 = GetLjSwith("BU3BLT07"); - DeviceDetailReportForm.BU4BLT01 = GetLjSwith("BU4BLT01"); - DeviceDetailReportForm.BU4BLT02 = GetLjSwith("BU4BLT02"); - DeviceDetailReportForm.BU4BLT03 = GetLjSwith("BU4BLT03"); - DeviceDetailReportForm.BU4BLT04 = GetLjSwith("BU4BLT04"); - DeviceDetailReportForm.BU4BLT05 = GetLjSwith("BU4BLT05"); - DeviceDetailReportForm.BU4BLT06 = GetLjSwith("BU4BLT06"); - DeviceDetailReportForm.BU4BLT07 = GetLjSwith("BU4BLT07"); - DeviceDetailReportForm.BU5BLT01 = GetLjSwith("BU5BLT01"); - DeviceDetailReportForm.BU5BLT02 = GetLjSwith("BU5BLT02"); - DeviceDetailReportForm.BU5BLT03 = GetLjSwith("BU5BLT03"); - DeviceDetailReportForm.BU5BLT04 = GetLjSwith("BU5BLT04"); - DeviceDetailReportForm.BU1ADB01 = GetLjSwith("BU1ADB01"); - DeviceDetailReportForm.BU1BDB01 = GetLjSwith("BU1BDB01"); - DeviceDetailReportForm.BU1CDB01 = GetLjSwith("BU1CDB01"); - DeviceDetailReportForm.BU1DDB01 = GetLjSwith("BU1DDB01"); - DeviceDetailReportForm.BU1EDB01 = GetLjSwith("BU1EDB01"); - DeviceDetailReportForm.BU1FDB01 = GetLjSwith("BU1FDB01"); - DeviceDetailReportForm.BU1GDB01 = GetLjSwith("BU1GDB01"); - DeviceDetailReportForm.BU1HDB01 = GetLjSwith("BU1HDB01"); - DeviceDetailReportForm.BU1IDB01 = GetLjSwith("BU1IDB01"); - DeviceDetailReportForm.BU1JDB01 = GetLjSwith("BU1JDB01"); - DeviceDetailReportForm.BU1KDB01 = GetLjSwith("BU1KDB01"); - DeviceDetailReportForm.BU1LDB01 = GetLjSwith("BU1LDB01"); - DeviceDetailReportForm.BU1GEB02 = GetLjSwith("BU1GEB02"); - DeviceDetailReportForm.BU2GEB02 = GetLjSwith("BU2GEB02"); - DeviceDetailReportForm.BU3GEB02 = GetLjSwith("BU3GEB02"); - DeviceDetailReportForm.BU4GEB02 = GetLjSwith("BU4GEB02"); - DeviceDetailReportForm.BU5GEB02 = GetLjSwith("BU5GEB02"); - DeviceDetailReportForm.BU6GEB02 = GetLjSwith("BU6GEB02"); - DeviceDetailReportForm.BU7GEB02 = GetLjSwith("BU7GEB02"); - DeviceDetailReportForm.BU8GEB02 = GetLjSwith("BU8GEB02"); - DeviceDetailReportForm.BU1DRB01 = GetLjSwith("BU1DRB01"); - DeviceDetailReportForm.BU2DRB01 = GetLjSwith("BU2DRB01"); - DeviceDetailReportForm.BU3DRB01 = GetLjSwith("BU3DRB01"); - DeviceDetailReportForm.BU4DRB01 = GetLjSwith("BU4DRB01"); - DeviceDetailReportForm.BU1GEB01 = GetLjSwith("BU1GEB01"); - DeviceDetailReportForm.BU2GEB01 = GetLjSwith("BU2GEB01"); - DeviceDetailReportForm.BU3GEB01 = GetLjSwith("BU3GEB01"); - DeviceDetailReportForm.BU4GEB01 = GetLjSwith("BU4GEB01"); - DeviceDetailReportForm.BU5GEB01 = GetLjSwith("BU5GEB01"); - DeviceDetailReportForm.BU6GEB01 = GetLjSwith("BU6GEB01"); - DeviceDetailReportForm.BU7GEB01 = GetLjSwith("BU7GEB01"); - DeviceDetailReportForm.BU8GEB01 = GetLjSwith("BU8GEB01"); - DeviceDetailReportForm.BU2ASF01 = GetLjSwith("BU2ASF01"); - DeviceDetailReportForm.BU2ASF02 = GetLjSwith("BU2ASF02"); - DeviceDetailReportForm.BU2BSF01 = GetLjSwith("BU2BSF01"); - DeviceDetailReportForm.BU2BSF02 = GetLjSwith("BU2BSF02"); - DeviceDetailReportForm.BU2CSF01 = GetLjSwith("BU2CSF01"); - DeviceDetailReportForm.BU2CSF02 = GetLjSwith("BU2CSF02"); - DeviceDetailReportForm.BU2DSF01 = GetLjSwith("BU2DSF01"); - DeviceDetailReportForm.BU2DSF02 = GetLjSwith("BU2DSF02"); - DeviceDetailReportForm.BUWeter1 = GetLjSwith("BUWeter1"); - DeviceDetailReportForm.BUWeter2 = GetLjSwith("BUWeter2"); - DeviceDetailReportForm.BUWeter3 = GetLjSwith("BUWeter3"); - DeviceDetailReportForm.BUWeter4 = GetLjSwith("BUWeter4"); - DeviceDetailReportForm.BUWeter5 = GetLjSwith("BUWeter5"); - DeviceDetailReportForm.BUWeter6 = GetLjSwith("BUWeter6"); - DeviceDetailReportForm.BUWeter7 = GetLjSwith("BUWeter7"); - DeviceDetailReportForm.BUWeter8 = GetLjSwith("BUWeter8"); - - DeviceDetailReportForm.DV2PCP01 = GetThreeWayValve("DV2PCP01"); - DeviceDetailReportForm.DV2PCP02 = GetThreeWayValve("DV2PCP02"); - DeviceDetailReportForm.DV2PCP03 = GetThreeWayValve("DV2PCP03"); - DeviceDetailReportForm.DV2PCP04 = GetThreeWayValve("DV2PCP04"); - DeviceDetailReportForm.DV2PCP05 = GetThreeWayValve("DV2PCP05"); - DeviceDetailReportForm.DV2PCP06 = GetThreeWayValve("DV2PCP06"); - DeviceDetailReportForm.DV2PCP07 = GetThreeWayValve("DV2PCP07"); - DeviceDetailReportForm.DV2PCP08 = GetThreeWayValve("DV2PCP08"); - DeviceDetailReportForm.DV2PCP09 = GetThreeWayValve("DV2PCP09"); - DeviceDetailReportForm.DV2PCP10 = GetThreeWayValve("DV2PCP10"); - DeviceDetailReportForm.DV2PCP11 = GetThreeWayValve("DV2PCP11"); - DeviceDetailReportForm.DV2PCP12 = GetThreeWayValve("DV2PCP12"); - DeviceDetailReportForm.DV2PCP13 = GetThreeWayValve("DV2PCP13"); - - #endregion - } - - public MCLabel StringToLable(string lableName) - { - return McControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey == lableName).FirstOrDefault().BaseControl as MCLabel; - } - - #endregion #region 图像控件交互 @@ -2195,11 +1301,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public StateButton GetStateButton(string name) - { - return Controls.First(x => x.Name == name) as StateButton; - } - /// /// 停止状态 /// @@ -2217,11 +1318,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public SystemStateShow GetSystemStateShow(string name) - { - return Controls.First(x => x.Name == name) as SystemStateShow; - } - /// /// 指示灯 /// @@ -2244,11 +1340,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public SwitchLight GetSwitchLight(string name) - { - return Controls.First(x => x.Name == name) as SwitchLight; - } - /// /// 阀门 /// @@ -2274,11 +1365,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public LjSwith GetLjSwith(string name) - { - return Controls.First(x => x.Name == name) as LjSwith; - } - /// /// 螺旋给料器R /// @@ -2296,11 +1382,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public RSCREWBIG GetRSCREWBIG(string name) - { - return Controls.First(x => x.Name == name) as RSCREWBIG; - } - /// /// 螺旋给料器L /// @@ -2318,11 +1399,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public LSCREWBIG GetLSCREWBIG(string name) - { - return Controls.First(x => x.Name == name) as LSCREWBIG; - } - /// /// 脚座阀 /// @@ -2340,11 +1416,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public Jzf GetJzf(string name) - { - return Controls.First(x => x.Name == name) as Jzf; - } - /// /// 文本标签 /// @@ -2355,11 +1426,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl obj.Text = Convert.ToString(set); } - public MCLabel GetMCLabel(string name) - { - return Controls.First(x => x.Name == name) as MCLabel; - } - /// /// 三通 /// @@ -2376,11 +1442,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl obj.ALMDValue = alarml; } - public ThreeWayValve GetThreeWayValve(string name) - { - return Controls.First(x => x.Name == name) as ThreeWayValve; - } - /// /// 风扇电机 /// @@ -2398,11 +1459,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public Fan GetFan(string name) - { - return Controls.First(x => x.Name == name) as Fan; - } - /// /// 称量柜 /// @@ -2420,11 +1476,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - public ControlCabinet GetControlCabinet(string name) - { - return Controls.First(x => x.Name == name) as ControlCabinet; - } - public void SetHslLanternAlarm(HslLanternAlarm lanternAlarm, RGVEntity rGV) { lanternAlarm.IsAlarm = false; @@ -2443,8 +1494,6 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl lanternAlarm.NormalColor = Color.DarkGray; } } - - } public void SetHslLanternSimple(HslLanternSimple lanternSimple, bool su) @@ -2458,13 +1507,11 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl { lanternSimple.LanternBackground = Color.Transparent; } - } public void SetHslLanternSimpleRequest(HslLanternSimple lanternSimple, bool su) { - if (su == true) { lanternSimple.LanternBackground = Color.SlateBlue; @@ -2473,40 +1520,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl { lanternSimple.LanternBackground = Color.Transparent; } - - } - - //HslLanternSimpleEntity - - private void FillControlHslLanternAlarm() - { - hslAlarmEntity = new HslLanternAlarmEntity(); - var sourceType = hslAlarmEntity.GetType(); - PropertyInfo[] sourcePropertyInfoList = sourceType.GetProperties(); - foreach (PropertyInfo sourceProperty in sourcePropertyInfoList) - { - string name = sourceProperty.Name; - var pro = Controls.FirstOrDefault(x => x.Name == name) as HslLanternAlarm; - sourceProperty.SetValue(hslAlarmEntity, pro); - } - - } - - private void FillHslLanternSimple() - { - hslLanternSimpleEntity=new HslLanternSimpleEntity(); - - var sourceType = hslLanternSimpleEntity.GetType(); - PropertyInfo[] sourcePropertyInfoList = sourceType.GetProperties(); - foreach (PropertyInfo sourceProperty in sourcePropertyInfoList) - { - string name = sourceProperty.Name; - var pro = Controls.FirstOrDefault(x => x.Name == name) as HslLanternSimple; - sourceProperty.SetValue(hslLanternSimpleEntity, pro); - } - } - - + } #endregion diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index a6784d7..1d8febf 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -284,6 +284,9 @@ FormClientManager.cs + + + @@ -521,7 +524,8 @@ Loading.cs - + + @@ -587,7 +591,6 @@ True Resources.resx - @@ -722,6 +725,7 @@ + diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/DeviceDetail2Report/DeviceDetail2ReportAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/DeviceDetail2Report/DeviceDetail2ReportAction.cs deleted file mode 100644 index 99716b9..0000000 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/DeviceDetail2Report/DeviceDetail2ReportAction.cs +++ /dev/null @@ -1,799 +0,0 @@ -using Mesnac.Action.Base; -using Mesnac.Controls.Base; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using Mesnac.Codd.Session; -using Mesnac.Action.ChemicalWeighing.LjMaterial; -using System.Data; -using Mesnac.Action.ChemicalWeighing; -using Mesnac.Controls.Default; -using Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity; - -namespace Mesnac.Action.ChemicalWeighing.Report.DeviceDetail2Report -{ - public class DeviceDetail2ReportAction : DatabaseAction, IAction - { - - List McControllist; - - DeviceDetailEntity DeviceDetailForm = new DeviceDetailEntity(); - private DbMCControl AlarmForm = null; //物料列表控件 - - Timer timer1; - - public void Run(RuntimeParameter runtime) - { - base.RunIni(runtime); //必须调用 - - McControllist = GetAllDbMCControlsByOption(DbOptionTypes.InitData);//获取所有待初始化控件 - - this.AlarmForm = McControllist.FirstOrDefault(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey == "AlarmForm"); - - //this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "AlarmForm").FirstOrDefault(); //获取物料数据控件 - - #region 实体类对应前端控件 - - DeviceDetailForm.DAMode = StringToLable("DAMode"); - DeviceDetailForm.DAStatus = StringToLable("DAStatus"); - DeviceDetailForm.DABatch = StringToLable("DABatch"); - DeviceDetailForm.DAStep = StringToLable("DAStep"); - DeviceDetailForm.DAStepCode = StringToLable("DAStepCode"); - DeviceDetailForm.DATotalTime = StringToLable("DATotalTime"); - DeviceDetailForm.DAStepTime = StringToLable("DAStepTime"); - DeviceDetailForm.DASpeed = StringToLable("DASpeed"); - - DeviceDetailForm.DBMode = StringToLable("DBMode"); - DeviceDetailForm.DBStatus = StringToLable("DBStatus"); - DeviceDetailForm.DBBatch = StringToLable("DBBatch"); - DeviceDetailForm.DBStep = StringToLable("DBStep"); - DeviceDetailForm.DBStepCode = StringToLable("DBStepCode"); - DeviceDetailForm.DBTotalTime = StringToLable("DBTotalTime"); - DeviceDetailForm.DBStepTime = StringToLable("DBStepTime"); - DeviceDetailForm.DBSpeed = StringToLable("DBSpeed"); - - DeviceDetailForm.DCMode = StringToLable("DCMode"); - DeviceDetailForm.DCStatus = StringToLable("DCStatus"); - DeviceDetailForm.DCBatch = StringToLable("DCBatch"); - DeviceDetailForm.DCStep = StringToLable("DCStep"); - DeviceDetailForm.DCStepCode = StringToLable("DCStepCode"); - DeviceDetailForm.DCTotalTime = StringToLable("DCTotalTime"); - DeviceDetailForm.DCStepTime = StringToLable("DCStepTime"); - DeviceDetailForm.DCSpeed = StringToLable("DCSpeed"); - - DeviceDetailForm.DDMode = StringToLable("DDMode"); - DeviceDetailForm.DDStatus = StringToLable("DDStatus"); - DeviceDetailForm.DDBatch = StringToLable("DDBatch"); - DeviceDetailForm.DDStep = StringToLable("DDStep"); - DeviceDetailForm.DDStepCode = StringToLable("DDStepCode"); - DeviceDetailForm.DDTotalTime = StringToLable("DDTotalTime"); - DeviceDetailForm.DDStepTime = StringToLable("DDStepTime"); - DeviceDetailForm.DDSpeed = StringToLable("DDSpeed"); - - - - DeviceDetailForm.WAMode = StringToLable("WAMode"); - DeviceDetailForm.WAStatus = StringToLable("WAStatus"); - DeviceDetailForm.WABatch = StringToLable("WABatch"); - DeviceDetailForm.WAStep = StringToLable("WAStep"); - DeviceDetailForm.WAStepCode = StringToLable("WAStepCode"); - DeviceDetailForm.WATotalTime = StringToLable("WATotalTime"); - DeviceDetailForm.WAStepTime = StringToLable("WAStepTime"); - DeviceDetailForm.WASpeed = StringToLable("WASpeed"); - DeviceDetailForm.WACurrent = StringToLable("WACurrent"); - DeviceDetailForm.WAPressure = StringToLable("WAPressure"); - - DeviceDetailForm.WBMode = StringToLable("WBMode"); - DeviceDetailForm.WBStatus = StringToLable("WBStatus"); - DeviceDetailForm.WBBatch = StringToLable("WBBatch"); - DeviceDetailForm.WBStep = StringToLable("WBStep"); - DeviceDetailForm.WBStepCode = StringToLable("WBStepCode"); - DeviceDetailForm.WBTotalTime = StringToLable("WBTotalTime"); - DeviceDetailForm.WBStepTime = StringToLable("WBStepTime"); - DeviceDetailForm.WBSpeed = StringToLable("WBSpeed"); - DeviceDetailForm.WBCurrent = StringToLable("WBCurrent"); - DeviceDetailForm.WBPressure = StringToLable("WBPressure"); - - DeviceDetailForm.WCMode = StringToLable("WCMode"); - DeviceDetailForm.WCStatus = StringToLable("WCStatus"); - DeviceDetailForm.WCBatch = StringToLable("WCBatch"); - DeviceDetailForm.WCStep = StringToLable("WCStep"); - DeviceDetailForm.WCStepCode = StringToLable("WCStepCode"); - DeviceDetailForm.WCTotalTime = StringToLable("WCTotalTime"); - DeviceDetailForm.WCStepTime = StringToLable("WCStepTime"); - DeviceDetailForm.WCSpeed = StringToLable("WCSpeed"); - DeviceDetailForm.WCCurrent = StringToLable("WCCurrent"); - DeviceDetailForm.WCPressure = StringToLable("WCPressure"); - - DeviceDetailForm.WDMode = StringToLable("WDMode"); - DeviceDetailForm.WDStatus = StringToLable("WDStatus"); - DeviceDetailForm.WDBatch = StringToLable("WDBatch"); - DeviceDetailForm.WDStep = StringToLable("WDStep"); - DeviceDetailForm.WDStepCode = StringToLable("WDStepCode"); - DeviceDetailForm.WDTotalTime = StringToLable("WDTotalTime"); - DeviceDetailForm.WDStepTime = StringToLable("WDStepTime"); - DeviceDetailForm.WDSpeed = StringToLable("WDSpeed"); - DeviceDetailForm.WDCurrent = StringToLable("WDCurrent"); - DeviceDetailForm.WDPressure = StringToLable("WDPressure"); - - DeviceDetailForm.WEMode = StringToLable("WEMode"); - DeviceDetailForm.WEStatus = StringToLable("WEStatus"); - DeviceDetailForm.WEBatch = StringToLable("WEBatch"); - DeviceDetailForm.WEStep = StringToLable("WEStep"); - DeviceDetailForm.WEStepCode = StringToLable("WEStepCode"); - DeviceDetailForm.WETotalTime = StringToLable("WETotalTime"); - DeviceDetailForm.WEStepTime = StringToLable("WEStepTime"); - DeviceDetailForm.WESpeed = StringToLable("WESpeed"); - DeviceDetailForm.WECurrent = StringToLable("WECurrent"); - DeviceDetailForm.WEPressure = StringToLable("WEPressure"); - - DeviceDetailForm.WFMode = StringToLable("WFMode"); - DeviceDetailForm.WFStatus = StringToLable("WFStatus"); - DeviceDetailForm.WFBatch = StringToLable("WFBatch"); - DeviceDetailForm.WFStep = StringToLable("WFStep"); - DeviceDetailForm.WFStepCode = StringToLable("WFStepCode"); - DeviceDetailForm.WFTotalTime = StringToLable("WFTotalTime"); - DeviceDetailForm.WFStepTime = StringToLable("WFStepTime"); - DeviceDetailForm.WFSpeed = StringToLable("WFSpeed"); - DeviceDetailForm.WFCurrent = StringToLable("WFCurrent"); - DeviceDetailForm.WFPressure = StringToLable("WFPressure"); - - DeviceDetailForm.WGMode = StringToLable("WGMode"); - DeviceDetailForm.WGStatus = StringToLable("WGStatus"); - DeviceDetailForm.WGBatch = StringToLable("WGBatch"); - DeviceDetailForm.WGStep = StringToLable("WGStep"); - DeviceDetailForm.WGStepCode = StringToLable("WGStepCode"); - DeviceDetailForm.WGTotalTime = StringToLable("WGTotalTime"); - DeviceDetailForm.WGStepTime = StringToLable("WGStepTime"); - DeviceDetailForm.WGSpeed = StringToLable("WGSpeed"); - DeviceDetailForm.WGCurrent = StringToLable("WGCurrent"); - DeviceDetailForm.WGPressure = StringToLable("WGPressure"); - - DeviceDetailForm.WHMode = StringToLable("WHMode"); - DeviceDetailForm.WHStatus = StringToLable("WHStatus"); - DeviceDetailForm.WHBatch = StringToLable("WHBatch"); - DeviceDetailForm.WHStep = StringToLable("WHStep"); - DeviceDetailForm.WHStepCode = StringToLable("WHStepCode"); - DeviceDetailForm.WHTotalTime = StringToLable("WHTotalTime"); - DeviceDetailForm.WHStepTime = StringToLable("WHStepTime"); - DeviceDetailForm.WHSpeed = StringToLable("WHSpeed"); - DeviceDetailForm.WHCurrent = StringToLable("WHCurrent"); - DeviceDetailForm.WHPressure = StringToLable("WHPressure"); - - - - DeviceDetailForm.GAMode = StringToLable("GAMode"); - DeviceDetailForm.GAStatus = StringToLable("GAStatus"); - DeviceDetailForm.GABatch = StringToLable("GABatch"); - DeviceDetailForm.GAStep = StringToLable("GAStep"); - DeviceDetailForm.GAStepCode = StringToLable("GAStepCode"); - DeviceDetailForm.GATotalTime = StringToLable("GATotalTime"); - DeviceDetailForm.GAStepTime = StringToLable("GAStepTime"); - DeviceDetailForm.GASpeed = StringToLable("GASpeed"); - - DeviceDetailForm.GBMode = StringToLable("GBMode"); - DeviceDetailForm.GBStatus = StringToLable("GBStatus"); - DeviceDetailForm.GBBatch = StringToLable("GBBatch"); - DeviceDetailForm.GBStep = StringToLable("GBStep"); - DeviceDetailForm.GBStepCode = StringToLable("GBStepCode"); - DeviceDetailForm.GBTotalTime = StringToLable("GBTotalTime"); - DeviceDetailForm.GBStepTime = StringToLable("GBStepTime"); - DeviceDetailForm.GBSpeed = StringToLable("GBSpeed"); - - DeviceDetailForm.GCMode = StringToLable("GCMode"); - DeviceDetailForm.GCStatus = StringToLable("GCStatus"); - DeviceDetailForm.GCBatch = StringToLable("GCBatch"); - DeviceDetailForm.GCStep = StringToLable("GCStep"); - DeviceDetailForm.GCStepCode = StringToLable("GCStepCode"); - DeviceDetailForm.GCTotalTime = StringToLable("GCTotalTime"); - DeviceDetailForm.GCStepTime = StringToLable("GCStepTime"); - DeviceDetailForm.GCSpeed = StringToLable("GCSpeed"); - - DeviceDetailForm.GDMode = StringToLable("GDMode"); - DeviceDetailForm.GDStatus = StringToLable("GDStatus"); - DeviceDetailForm.GDBatch = StringToLable("GDBatch"); - DeviceDetailForm.GDStep = StringToLable("GDStep"); - DeviceDetailForm.GDStepCode = StringToLable("GDStepCode"); - DeviceDetailForm.GDTotalTime = StringToLable("GDTotalTime"); - DeviceDetailForm.GDStepTime = StringToLable("GDStepTime"); - DeviceDetailForm.GDSpeed = StringToLable("GDSpeed"); - - DeviceDetailForm.GEMode = StringToLable("GEMode"); - DeviceDetailForm.GEStatus = StringToLable("GEStatus"); - DeviceDetailForm.GEBatch = StringToLable("GEBatch"); - DeviceDetailForm.GEStep = StringToLable("GEStep"); - DeviceDetailForm.GEStepCode = StringToLable("GEStepCode"); - DeviceDetailForm.GETotalTime = StringToLable("GETotalTime"); - DeviceDetailForm.GEStepTime = StringToLable("GEStepTime"); - DeviceDetailForm.GESpeed = StringToLable("GESpeed"); - - DeviceDetailForm.GFMode = StringToLable("GFMode"); - DeviceDetailForm.GFStatus = StringToLable("GFStatus"); - DeviceDetailForm.GFBatch = StringToLable("GFBatch"); - DeviceDetailForm.GFStep = StringToLable("GFStep"); - DeviceDetailForm.GFStepCode = StringToLable("GFStepCode"); - DeviceDetailForm.GFTotalTime = StringToLable("GFTotalTime"); - DeviceDetailForm.GFStepTime = StringToLable("GFStepTime"); - DeviceDetailForm.GFSpeed = StringToLable("GFSpeed"); - - DeviceDetailForm.GGMode = StringToLable("GGMode"); - DeviceDetailForm.GGStatus = StringToLable("GGStatus"); - DeviceDetailForm.GGBatch = StringToLable("GGBatch"); - DeviceDetailForm.GGStep = StringToLable("GGStep"); - DeviceDetailForm.GGStepCode = StringToLable("GGStepCode"); - DeviceDetailForm.GGTotalTime = StringToLable("GGTotalTime"); - DeviceDetailForm.GGStepTime = StringToLable("GGStepTime"); - DeviceDetailForm.GGSpeed = StringToLable("GGSpeed"); - - DeviceDetailForm.GHMode = StringToLable("GHMode"); - DeviceDetailForm.GHStatus = StringToLable("GHStatus"); - DeviceDetailForm.GHBatch = StringToLable("GHBatch"); - DeviceDetailForm.GHStep = StringToLable("GHStep"); - DeviceDetailForm.GHStepCode = StringToLable("GHStepCode"); - DeviceDetailForm.GHTotalTime = StringToLable("GHTotalTime"); - DeviceDetailForm.GHStepTime = StringToLable("GHStepTime"); - DeviceDetailForm.GHSpeed = StringToLable("GHSpeed"); - #endregion - - timer1 = new Timer(); - timer1.Interval = 2000; - timer1.Enabled = true; - timer1.Tick += new EventHandler(GetDataFromPLCToForm);//添加事件 - } - - /// - /// 从Plc读取数据在lable上显示 - /// - /// - /// - public void GetDataFromPLCToForm(object source, EventArgs e) - { - - if (GetAllDbMCControlsByOption(DbOptionTypes.InitData).Count == 0) - { - timer1.Stop(); - timer1.Dispose(); - } - - DataTable AlarmTable = DBHelp.GetTable(@"SELECT - t2.Alarm_ID, - t2.Alarm_Other_Info, - t2.Alarm_Block, - t2.Alarm_Word, - t2.Alarm_Bit, - t1.Alarm_OccurTime - FROM - LR_Alarmlog t1 - LEFT JOIN Pmt_Alarm t2 ON t1.Alarm_ID = t2.Alarm_ID - WHERE - t1.Alarm_Status = 1 - ORDER BY - t1.Alarm_OccurTime desc"); - - if (this.AlarmForm != null && this.AlarmForm.BaseControl != null) - { - this.AlarmForm.BaseControl.BindDataSource = null; - this.AlarmForm.BaseControl.BindDataSource = AlarmTable; - //DBLog("成功!"); - } - - DataTable parametersWithPCTable = DBHelp.GetTable("select Id, mode, status, batch, step, stepName, totalTime, stepTime, temperature, speed, currnet, pressure from ParametersWithPC"); - - foreach (DataRow row in parametersWithPCTable.Rows) - { - string id = row["Id"].ToString(); - System.Drawing.Color modeColor = System.Drawing.Color.White; - string mode; - if ((bool)row["mode"]) - { - mode = "自动"; - modeColor = System.Drawing.Color.Green; - } - else - { - mode = "手动"; - modeColor = System.Drawing.Color.Yellow; - } - string status; - System.Drawing.Color statusColor = System.Drawing.Color.White; - if ((bool)row["status"]) - { - status = "运行"; - statusColor = System.Drawing.Color.Green; - } - else - { - status = "空闲"; - statusColor = System.Drawing.Color.Yellow; - } - int batch = (int)row["batch"]; - int step = (int)row["step"]; - string stepName = Convert.ToString(row["stepName"]); - int totalTime = (int)row["totalTime"]; - int stepTime = (int)row["stepTime"]; - float speed = (float)Math.Round(Convert.ToSingle(row["speed"]), 2); - float current = (float)Math.Round(Convert.ToSingle(row["currnet"]), 2); - float pressure = (float)Math.Round(Convert.ToSingle(row["pressure"]), 2); - - #region 控件赋值 - switch (id) - { - case "Dryer0": - this.DeviceDetailForm.DAMode.MCValue = mode; - this.DeviceDetailForm.DAMode.ForeColor = modeColor; - this.DeviceDetailForm.DAStatus.MCValue = status; - this.DeviceDetailForm.DAStatus.ForeColor = statusColor; - this.DeviceDetailForm.DABatch.MCValue = batch; - this.DeviceDetailForm.DAStep.MCValue = step; - this.DeviceDetailForm.DAStepCode.MCValue = stepName; - this.DeviceDetailForm.DATotalTime.MCValue = totalTime; - this.DeviceDetailForm.DAStepTime.MCValue = stepTime; - this.DeviceDetailForm.DASpeed.MCValue = speed; - break; - case "Dryer1": - this.DeviceDetailForm.DBMode.MCValue = mode; - this.DeviceDetailForm.DBMode.ForeColor = modeColor; - this.DeviceDetailForm.DBStatus.MCValue = status; - this.DeviceDetailForm.DBStatus.ForeColor = statusColor; - this.DeviceDetailForm.DBBatch.MCValue = batch; - this.DeviceDetailForm.DBStep.MCValue = step; - this.DeviceDetailForm.DBStepCode.MCValue = stepName; - this.DeviceDetailForm.DBTotalTime.MCValue = totalTime; - this.DeviceDetailForm.DBStepTime.MCValue = stepTime; - this.DeviceDetailForm.DBSpeed.MCValue = speed; - break; - case "Dryer2": - this.DeviceDetailForm.DCMode.MCValue = mode; - this.DeviceDetailForm.DCMode.ForeColor = modeColor; - this.DeviceDetailForm.DCStatus.MCValue = status; - this.DeviceDetailForm.DCStatus.ForeColor = statusColor; - this.DeviceDetailForm.DCBatch.MCValue = batch; - this.DeviceDetailForm.DCStep.MCValue = step; - this.DeviceDetailForm.DCStepCode.MCValue = stepName; - this.DeviceDetailForm.DCTotalTime.MCValue = totalTime; - this.DeviceDetailForm.DCStepTime.MCValue = stepTime; - this.DeviceDetailForm.DCSpeed.MCValue = speed; - break; - case "Dryer3": - this.DeviceDetailForm.DDMode.MCValue = mode; - this.DeviceDetailForm.DDMode.ForeColor = modeColor; - this.DeviceDetailForm.DDStatus.MCValue = status; - this.DeviceDetailForm.DDStatus.ForeColor = statusColor; - this.DeviceDetailForm.DDBatch.MCValue = batch; - this.DeviceDetailForm.DDStep.MCValue = step; - this.DeviceDetailForm.DDStepCode.MCValue = stepName; - this.DeviceDetailForm.DDTotalTime.MCValue = totalTime; - this.DeviceDetailForm.DDStepTime.MCValue = stepTime; - this.DeviceDetailForm.DDSpeed.MCValue = speed; - break; - case "Weter0": - this.DeviceDetailForm.WAMode.MCValue = mode; - this.DeviceDetailForm.WAMode.ForeColor = modeColor; - this.DeviceDetailForm.WAStatus.MCValue = status; - this.DeviceDetailForm.WAStatus.ForeColor = statusColor; - this.DeviceDetailForm.WABatch.MCValue = batch; - this.DeviceDetailForm.WAStep.MCValue = step; - this.DeviceDetailForm.WAStepCode.MCValue = stepName; - this.DeviceDetailForm.WATotalTime.MCValue = totalTime; - this.DeviceDetailForm.WAStepTime.MCValue = stepTime; - this.DeviceDetailForm.WASpeed.MCValue = speed; - this.DeviceDetailForm.WACurrent.MCValue = current; - this.DeviceDetailForm.WAPressure.MCValue = pressure; - break; - case "Weter1": - this.DeviceDetailForm.WBMode.MCValue = mode; - this.DeviceDetailForm.WBMode.ForeColor = modeColor; - this.DeviceDetailForm.WBStatus.MCValue = status; - this.DeviceDetailForm.WBStatus.ForeColor = statusColor; - this.DeviceDetailForm.WBBatch.MCValue = batch; - this.DeviceDetailForm.WBStep.MCValue = step; - this.DeviceDetailForm.WBStepCode.MCValue = stepName; - this.DeviceDetailForm.WBTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WBStepTime.MCValue = stepTime; - this.DeviceDetailForm.WBSpeed.MCValue = speed; - this.DeviceDetailForm.WBCurrent.MCValue = current; - this.DeviceDetailForm.WBPressure.MCValue = pressure; - break; - case "Weter2": - this.DeviceDetailForm.WCMode.MCValue = mode; - this.DeviceDetailForm.WCMode.ForeColor = modeColor; - this.DeviceDetailForm.WCStatus.MCValue = status; - this.DeviceDetailForm.WCStatus.ForeColor = statusColor; - this.DeviceDetailForm.WCBatch.MCValue = batch; - this.DeviceDetailForm.WCStep.MCValue = step; - this.DeviceDetailForm.WCStepCode.MCValue = stepName; - this.DeviceDetailForm.WCTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WCStepTime.MCValue = stepTime; - this.DeviceDetailForm.WCSpeed.MCValue = speed; - this.DeviceDetailForm.WCCurrent.MCValue = current; - this.DeviceDetailForm.WCPressure.MCValue = pressure; - break; - case "Weter3": - this.DeviceDetailForm.WDMode.MCValue = mode; - this.DeviceDetailForm.WDMode.ForeColor = modeColor; - this.DeviceDetailForm.WDStatus.MCValue = status; - this.DeviceDetailForm.WDStatus.ForeColor = statusColor; - this.DeviceDetailForm.WDBatch.MCValue = batch; - this.DeviceDetailForm.WDStep.MCValue = step; - this.DeviceDetailForm.WDStepCode.MCValue = stepName; - this.DeviceDetailForm.WDTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WDStepTime.MCValue = stepTime; - this.DeviceDetailForm.WDSpeed.MCValue = speed; - this.DeviceDetailForm.WDCurrent.MCValue = current; - this.DeviceDetailForm.WDPressure.MCValue = pressure; - break; - case "Weter4": - this.DeviceDetailForm.WEMode.MCValue = mode; - this.DeviceDetailForm.WEMode.ForeColor = modeColor; - this.DeviceDetailForm.WEStatus.MCValue = status; - this.DeviceDetailForm.WEStatus.ForeColor = statusColor; - this.DeviceDetailForm.WEBatch.MCValue = batch; - this.DeviceDetailForm.WEStep.MCValue = step; - this.DeviceDetailForm.WEStepCode.MCValue = stepName; - this.DeviceDetailForm.WETotalTime.MCValue = totalTime; - this.DeviceDetailForm.WEStepTime.MCValue = stepTime; - this.DeviceDetailForm.WESpeed.MCValue = speed; - this.DeviceDetailForm.WECurrent.MCValue = current; - this.DeviceDetailForm.WEPressure.MCValue = pressure; - break; - case "Weter5": - this.DeviceDetailForm.WFMode.MCValue = mode; - this.DeviceDetailForm.WFMode.ForeColor = modeColor; - this.DeviceDetailForm.WFStatus.MCValue = status; - this.DeviceDetailForm.WFStatus.ForeColor = statusColor; - this.DeviceDetailForm.WFBatch.MCValue = batch; - this.DeviceDetailForm.WFStep.MCValue = step; - this.DeviceDetailForm.WFStepCode.MCValue = stepName; - this.DeviceDetailForm.WFTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WFStepTime.MCValue = stepTime; - this.DeviceDetailForm.WFSpeed.MCValue = speed; - this.DeviceDetailForm.WFCurrent.MCValue = current; - this.DeviceDetailForm.WFPressure.MCValue = pressure; - break; - case "Weter6": - this.DeviceDetailForm.WGMode.MCValue = mode; - this.DeviceDetailForm.WGMode.ForeColor = modeColor; - this.DeviceDetailForm.WGStatus.MCValue = status; - this.DeviceDetailForm.WGStatus.ForeColor = statusColor; - this.DeviceDetailForm.WGBatch.MCValue = batch; - this.DeviceDetailForm.WGStep.MCValue = step; - this.DeviceDetailForm.WGStepCode.MCValue = stepName; - this.DeviceDetailForm.WGTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WGStepTime.MCValue = stepTime; - this.DeviceDetailForm.WGSpeed.MCValue = speed; - this.DeviceDetailForm.WGCurrent.MCValue = current; - this.DeviceDetailForm.WGPressure.MCValue = pressure; - break; - case "Weter7": - this.DeviceDetailForm.WHMode.MCValue = mode; - this.DeviceDetailForm.WHMode.ForeColor = modeColor; - this.DeviceDetailForm.WHStatus.MCValue = status; - this.DeviceDetailForm.WHStatus.ForeColor = statusColor; - this.DeviceDetailForm.WHBatch.MCValue = batch; - this.DeviceDetailForm.WHStep.MCValue = step; - this.DeviceDetailForm.WHStepCode.MCValue = stepName; - this.DeviceDetailForm.WHTotalTime.MCValue = totalTime; - this.DeviceDetailForm.WHStepTime.MCValue = stepTime; - this.DeviceDetailForm.WHSpeed.MCValue = speed; - this.DeviceDetailForm.WHCurrent.MCValue = current; - this.DeviceDetailForm.WHPressure.MCValue = pressure; - break; - case "Gelater0": - this.DeviceDetailForm.GAMode.MCValue = mode; - this.DeviceDetailForm.GAMode.ForeColor = modeColor; - this.DeviceDetailForm.GAStatus.MCValue = status; - this.DeviceDetailForm.GAStatus.ForeColor = statusColor; - this.DeviceDetailForm.GABatch.MCValue = batch; - this.DeviceDetailForm.GAStep.MCValue = step; - this.DeviceDetailForm.GAStepCode.MCValue = stepName; - this.DeviceDetailForm.GATotalTime.MCValue = totalTime; - this.DeviceDetailForm.GAStepTime.MCValue = stepTime; - this.DeviceDetailForm.GASpeed.MCValue = speed; - break; - case "Gelater1": - this.DeviceDetailForm.GBMode.MCValue = mode; - this.DeviceDetailForm.GBMode.ForeColor = modeColor; - this.DeviceDetailForm.GBStatus.MCValue = status; - this.DeviceDetailForm.GBStatus.ForeColor = statusColor; - this.DeviceDetailForm.GBBatch.MCValue = batch; - this.DeviceDetailForm.GBStep.MCValue = step; - this.DeviceDetailForm.GBStepCode.MCValue = stepName; - this.DeviceDetailForm.GBTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GBStepTime.MCValue = stepTime; - this.DeviceDetailForm.GBSpeed.MCValue = speed; - break; - case "Gelater2": - this.DeviceDetailForm.GCMode.MCValue = mode; - this.DeviceDetailForm.GCMode.ForeColor = modeColor; - this.DeviceDetailForm.GCStatus.MCValue = status; - this.DeviceDetailForm.GCStatus.ForeColor = statusColor; - this.DeviceDetailForm.GCBatch.MCValue = batch; - this.DeviceDetailForm.GCStep.MCValue = step; - this.DeviceDetailForm.GCStepCode.MCValue = stepName; - this.DeviceDetailForm.GCTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GCStepTime.MCValue = stepTime; - this.DeviceDetailForm.GCSpeed.MCValue = speed; - break; - case "Gelater3": - this.DeviceDetailForm.GDMode.MCValue = mode; - this.DeviceDetailForm.GDMode.ForeColor = modeColor; - this.DeviceDetailForm.GDStatus.MCValue = status; - this.DeviceDetailForm.GDStatus.ForeColor = statusColor; - this.DeviceDetailForm.GDBatch.MCValue = batch; - this.DeviceDetailForm.GDStep.MCValue = step; - this.DeviceDetailForm.GDStepCode.MCValue = stepName; - this.DeviceDetailForm.GDTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GDStepTime.MCValue = stepTime; - this.DeviceDetailForm.GDSpeed.MCValue = speed; - break; - case "Gelater4": - this.DeviceDetailForm.GEMode.MCValue = mode; - this.DeviceDetailForm.GEMode.ForeColor = modeColor; - this.DeviceDetailForm.GEStatus.MCValue = status; - this.DeviceDetailForm.GEStatus.ForeColor = statusColor; - this.DeviceDetailForm.GEBatch.MCValue = batch; - this.DeviceDetailForm.GEStep.MCValue = step; - this.DeviceDetailForm.GEStepCode.MCValue = stepName; - this.DeviceDetailForm.GETotalTime.MCValue = totalTime; - this.DeviceDetailForm.GEStepTime.MCValue = stepTime; - this.DeviceDetailForm.GESpeed.MCValue = speed; - break; - case "Gelater5": - this.DeviceDetailForm.GFMode.MCValue = mode; - this.DeviceDetailForm.GFMode.ForeColor = modeColor; - this.DeviceDetailForm.GFStatus.MCValue = status; - this.DeviceDetailForm.GFStatus.ForeColor = statusColor; - this.DeviceDetailForm.GFBatch.MCValue = batch; - this.DeviceDetailForm.GFStep.MCValue = step; - this.DeviceDetailForm.GFStepCode.MCValue = stepName; - this.DeviceDetailForm.GFTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GFStepTime.MCValue = stepTime; - this.DeviceDetailForm.GFSpeed.MCValue = speed; - break; - case "Gelater6": - this.DeviceDetailForm.GGMode.MCValue = mode; - this.DeviceDetailForm.GGMode.ForeColor = modeColor; - this.DeviceDetailForm.GGStatus.MCValue = status; - this.DeviceDetailForm.GGStatus.ForeColor = statusColor; - this.DeviceDetailForm.GGBatch.MCValue = batch; - this.DeviceDetailForm.GGStep.MCValue = step; - this.DeviceDetailForm.GGStepCode.MCValue = stepName; - this.DeviceDetailForm.GGTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GGStepTime.MCValue = stepTime; - this.DeviceDetailForm.GGSpeed.MCValue = speed; - break; - case "Gelater7": - this.DeviceDetailForm.GHMode.MCValue = mode; - this.DeviceDetailForm.GHMode.ForeColor = modeColor; - this.DeviceDetailForm.GHStatus.MCValue = status; - this.DeviceDetailForm.GHStatus.ForeColor = statusColor; - this.DeviceDetailForm.GHBatch.MCValue = batch; - this.DeviceDetailForm.GHStep.MCValue = step; - this.DeviceDetailForm.GHStepCode.MCValue = stepName; - this.DeviceDetailForm.GHTotalTime.MCValue = totalTime; - this.DeviceDetailForm.GHStepTime.MCValue = stepTime; - this.DeviceDetailForm.GHSpeed.MCValue = speed; - break; - default: break; - } - #endregion - } - - - } - - public MCLabel StringToLable(string lableName) - { - return McControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey == lableName).FirstOrDefault().BaseControl as MCLabel; - } - } -} - - -#region 废案 -//this.BaseControl.DAMode.MCValue = BasePlcHelper.Instance.Dryer0_mode.NowValue.ToInt(); -//this.BaseControl.DAStatus.MCValue = BasePlcHelper.Instance.Dryer0_status.NowValue.ToInt(); -//this.BaseControl.DABatch.MCValue = BasePlcHelper.Instance.Dryer0_batch.NowValue.ToInt(); -//this.BaseControl.DAStep.MCValue = BasePlcHelper.Instance.Dryer0_step.NowValue.ToInt(); -//this.BaseControl.DAStepCode.MCValue = BasePlcHelper.Instance.Dryer0_stepCode.NowValue.ToInt(); -//this.BaseControl.DATotalTime.MCValue = BasePlcHelper.Instance.Dryer0_totalTime.NowValue.ToInt(); -//this.BaseControl.DAStepTime.MCValue = BasePlcHelper.Instance.Dryer0_stepTime.NowValue.ToInt(); -//this.BaseControl.DATemperature.MCValue = BasePlcHelper.Instance.Dryer0_temperature.NowValue.ToFloat(); -//this.BaseControl.DASpeed.MCValue = BasePlcHelper.Instance.Dryer0_speed.NowValue.ToFloat(); - -//this.BaseControl.DBMode.MCValue = BasePlcHelper.Instance.Dryer1_mode.NowValue.ToInt(); -//this.BaseControl.DBStatus.MCValue = BasePlcHelper.Instance.Dryer1_status.NowValue.ToInt(); -//this.BaseControl.DBBatch.MCValue = BasePlcHelper.Instance.Dryer1_batch.NowValue.ToInt(); -//this.BaseControl.DBStep.MCValue = BasePlcHelper.Instance.Dryer1_step.NowValue.ToInt(); -//this.BaseControl.DBStepCode.MCValue = BasePlcHelper.Instance.Dryer1_stepCode.NowValue.ToInt(); -//this.BaseControl.DBTotalTime.MCValue = BasePlcHelper.Instance.Dryer1_totalTime.NowValue.ToInt(); -//this.BaseControl.DBStepTime.MCValue = BasePlcHelper.Instance.Dryer1_stepTime.NowValue.ToInt(); -//this.BaseControl.DBTemperature.MCValue = BasePlcHelper.Instance.Dryer1_temperature.NowValue.ToFloat(); -//this.BaseControl.DBSpeed.MCValue = BasePlcHelper.Instance.Dryer1_speed.NowValue.ToFloat(); - -//this.BaseControl.DCMode.MCValue = BasePlcHelper.Instance.Dryer2_mode.NowValue.ToInt(); -//this.BaseControl.DCStatus.MCValue = BasePlcHelper.Instance.Dryer2_status.NowValue.ToInt(); -//this.BaseControl.DCBatch.MCValue = BasePlcHelper.Instance.Dryer2_batch.NowValue.ToInt(); -//this.BaseControl.DCStep.MCValue = BasePlcHelper.Instance.Dryer2_step.NowValue.ToInt(); -//this.BaseControl.DCStepCode.MCValue = BasePlcHelper.Instance.Dryer2_stepCode.NowValue.ToInt(); -//this.BaseControl.DCTotalTime.MCValue = BasePlcHelper.Instance.Dryer2_totalTime.NowValue.ToInt(); -//this.BaseControl.DCStepTime.MCValue = BasePlcHelper.Instance.Dryer2_stepTime.NowValue.ToInt(); -//this.BaseControl.DCTemperature.MCValue = BasePlcHelper.Instance.Dryer2_temperature.NowValue.ToFloat(); -//this.BaseControl.DCSpeed.MCValue = BasePlcHelper.Instance.Dryer2_speed.NowValue.ToFloat(); - -//this.BaseControl.DDMode.MCValue = BasePlcHelper.Instance.Dryer3_mode.NowValue.ToInt(); -//this.BaseControl.DDStatus.MCValue = BasePlcHelper.Instance.Dryer3_status.NowValue.ToInt(); -//this.BaseControl.DDBatch.MCValue = BasePlcHelper.Instance.Dryer3_batch.NowValue.ToInt(); -//this.BaseControl.DDStep.MCValue = BasePlcHelper.Instance.Dryer3_step.NowValue.ToInt(); -//this.BaseControl.DDStepCode.MCValue = BasePlcHelper.Instance.Dryer3_stepCode.NowValue.ToInt(); -//this.BaseControl.DDTotalTime.MCValue = BasePlcHelper.Instance.Dryer3_totalTime.NowValue.ToInt(); -//this.BaseControl.DDStepTime.MCValue = BasePlcHelper.Instance.Dryer3_stepTime.NowValue.ToInt(); -//this.BaseControl.DDTemperature.MCValue = BasePlcHelper.Instance.Dryer3_temperature.NowValue.ToFloat(); -//this.BaseControl.DDSpeed.MCValue = BasePlcHelper.Instance.Dryer3_speed.NowValue.ToFloat(); - - - -//this.BaseControl.WAMode.MCValue = BasePlcHelper.Instance.Weter0_mode.NowValue.ToInt(); -//this.BaseControl.WAStatus.MCValue = BasePlcHelper.Instance.Weter0_status.NowValue.ToInt(); -//this.BaseControl.WABatch.MCValue = BasePlcHelper.Instance.Weter0_batch.NowValue.ToInt(); -//this.BaseControl.WAStep.MCValue = BasePlcHelper.Instance.Weter0_step.NowValue.ToInt(); -//this.BaseControl.WAStepCode.MCValue = BasePlcHelper.Instance.Weter0_stepCode.NowValue.ToInt(); -//this.BaseControl.WATotalTime.MCValue = BasePlcHelper.Instance.Weter0_totalTime.NowValue.ToInt(); -//this.BaseControl.WAStepTime.MCValue = BasePlcHelper.Instance.Weter0_stepTime.NowValue.ToInt(); -//this.BaseControl.WATemperature.MCValue = BasePlcHelper.Instance.Weter0_temperature.NowValue.ToFloat(); -//this.BaseControl.WASpeed.MCValue = BasePlcHelper.Instance.Weter0_speed.NowValue.ToFloat(); - -//this.BaseControl.WBMode.MCValue = BasePlcHelper.Instance.Weter1_mode.NowValue.ToInt(); -//this.BaseControl.WBStatus.MCValue = BasePlcHelper.Instance.Weter1_status.NowValue.ToInt(); -//this.BaseControl.WBBatch.MCValue = BasePlcHelper.Instance.Weter1_batch.NowValue.ToInt(); -//this.BaseControl.WBStep.MCValue = BasePlcHelper.Instance.Weter1_step.NowValue.ToInt(); -//this.BaseControl.WBStepCode.MCValue = BasePlcHelper.Instance.Weter1_stepCode.NowValue.ToInt(); -//this.BaseControl.WBTotalTime.MCValue = BasePlcHelper.Instance.Weter1_totalTime.NowValue.ToInt(); -//this.BaseControl.WBStepTime.MCValue = BasePlcHelper.Instance.Weter1_stepTime.NowValue.ToInt(); -//this.BaseControl.WBTemperature.MCValue = BasePlcHelper.Instance.Weter1_temperature.NowValue.ToFloat(); -//this.BaseControl.WBSpeed.MCValue = BasePlcHelper.Instance.Weter1_speed.NowValue.ToFloat(); - -//this.BaseControl.WCMode.MCValue = BasePlcHelper.Instance.Weter2_mode.NowValue.ToInt(); -//this.BaseControl.WCStatus.MCValue = BasePlcHelper.Instance.Weter2_status.NowValue.ToInt(); -//this.BaseControl.WCBatch.MCValue = BasePlcHelper.Instance.Weter2_batch.NowValue.ToInt(); -//this.BaseControl.WCStep.MCValue = BasePlcHelper.Instance.Weter2_step.NowValue.ToInt(); -//this.BaseControl.WCStepCode.MCValue = BasePlcHelper.Instance.Weter2_stepCode.NowValue.ToInt(); -//this.BaseControl.WCTotalTime.MCValue = BasePlcHelper.Instance.Weter2_totalTime.NowValue.ToInt(); -//this.BaseControl.WCStepTime.MCValue = BasePlcHelper.Instance.Weter2_stepTime.NowValue.ToInt(); -//this.BaseControl.WCTemperature.MCValue = BasePlcHelper.Instance.Weter2_temperature.NowValue.ToFloat(); -//this.BaseControl.WCSpeed.MCValue = BasePlcHelper.Instance.Weter2_speed.NowValue.ToFloat(); - -//this.BaseControl.WDMode.MCValue = BasePlcHelper.Instance.Weter3_mode.NowValue.ToInt(); -//this.BaseControl.WDStatus.MCValue = BasePlcHelper.Instance.Weter3_status.NowValue.ToInt(); -//this.BaseControl.WDBatch.MCValue = BasePlcHelper.Instance.Weter3_batch.NowValue.ToInt(); -//this.BaseControl.WDStep.MCValue = BasePlcHelper.Instance.Weter3_step.NowValue.ToInt(); -//this.BaseControl.WDStepCode.MCValue = BasePlcHelper.Instance.Weter3_stepCode.NowValue.ToInt(); -//this.BaseControl.WDTotalTime.MCValue = BasePlcHelper.Instance.Weter3_totalTime.NowValue.ToInt(); -//this.BaseControl.WDStepTime.MCValue = BasePlcHelper.Instance.Weter3_stepTime.NowValue.ToInt(); -//this.BaseControl.WDTemperature.MCValue = BasePlcHelper.Instance.Weter3_temperature.NowValue.ToFloat(); -//this.BaseControl.WDSpeed.MCValue = BasePlcHelper.Instance.Weter3_speed.NowValue.ToFloat(); - -//this.BaseControl.WEMode.MCValue = BasePlcHelper.Instance.Weter4_mode.NowValue.ToInt(); -//this.BaseControl.WEStatus.MCValue = BasePlcHelper.Instance.Weter4_status.NowValue.ToInt(); -//this.BaseControl.WEBatch.MCValue = BasePlcHelper.Instance.Weter4_batch.NowValue.ToInt(); -//this.BaseControl.WEStep.MCValue = BasePlcHelper.Instance.Weter4_step.NowValue.ToInt(); -//this.BaseControl.WEStepCode.MCValue = BasePlcHelper.Instance.Weter4_stepCode.NowValue.ToInt(); -//this.BaseControl.WETotalTime.MCValue = BasePlcHelper.Instance.Weter4_totalTime.NowValue.ToInt(); -//this.BaseControl.WEStepTime.MCValue = BasePlcHelper.Instance.Weter4_stepTime.NowValue.ToInt(); -//this.BaseControl.WETemperature.MCValue = BasePlcHelper.Instance.Weter4_temperature.NowValue.ToFloat(); -//this.BaseControl.WESpeed.MCValue = BasePlcHelper.Instance.Weter4_speed.NowValue.ToFloat(); - -//this.BaseControl.WFMode.MCValue = BasePlcHelper.Instance.Weter5_mode.NowValue.ToInt(); -//this.BaseControl.WFStatus.MCValue = BasePlcHelper.Instance.Weter5_status.NowValue.ToInt(); -//this.BaseControl.WFBatch.MCValue = BasePlcHelper.Instance.Weter5_batch.NowValue.ToInt(); -//this.BaseControl.WFStep.MCValue = BasePlcHelper.Instance.Weter5_step.NowValue.ToInt(); -//this.BaseControl.WFStepCode.MCValue = BasePlcHelper.Instance.Weter5_stepCode.NowValue.ToInt(); -//this.BaseControl.WFTotalTime.MCValue = BasePlcHelper.Instance.Weter5_totalTime.NowValue.ToInt(); -//this.BaseControl.WFStepTime.MCValue = BasePlcHelper.Instance.Weter5_stepTime.NowValue.ToInt(); -//this.BaseControl.WFTemperature.MCValue = BasePlcHelper.Instance.Weter5_temperature.NowValue.ToFloat(); -//this.BaseControl.WFSpeed.MCValue = BasePlcHelper.Instance.Weter5_speed.NowValue.ToFloat(); - -//this.BaseControl.WGMode.MCValue = BasePlcHelper.Instance.Weter6_mode.NowValue.ToInt(); -//this.BaseControl.WGStatus.MCValue = BasePlcHelper.Instance.Weter6_status.NowValue.ToInt(); -//this.BaseControl.WGBatch.MCValue = BasePlcHelper.Instance.Weter6_batch.NowValue.ToInt(); -//this.BaseControl.WGStep.MCValue = BasePlcHelper.Instance.Weter6_step.NowValue.ToInt(); -//this.BaseControl.WGStepCode.MCValue = BasePlcHelper.Instance.Weter6_stepCode.NowValue.ToInt(); -//this.BaseControl.WGTotalTime.MCValue = BasePlcHelper.Instance.Weter6_totalTime.NowValue.ToInt(); -//this.BaseControl.WGStepTime.MCValue = BasePlcHelper.Instance.Weter6_stepTime.NowValue.ToInt(); -//this.BaseControl.WGTemperature.MCValue = BasePlcHelper.Instance.Weter6_temperature.NowValue.ToFloat(); -//this.BaseControl.WGSpeed.MCValue = BasePlcHelper.Instance.Weter6_speed.NowValue.ToFloat(); - -//this.BaseControl.WHMode.MCValue = BasePlcHelper.Instance.Weter7_mode.NowValue.ToInt(); -//this.BaseControl.WHStatus.MCValue = BasePlcHelper.Instance.Weter7_status.NowValue.ToInt(); -//this.BaseControl.WHBatch.MCValue = BasePlcHelper.Instance.Weter7_batch.NowValue.ToInt(); -//this.BaseControl.WHStep.MCValue = BasePlcHelper.Instance.Weter7_step.NowValue.ToInt(); -//this.BaseControl.WHStepCode.MCValue = BasePlcHelper.Instance.Weter7_stepCode.NowValue.ToInt(); -//this.BaseControl.WHTotalTime.MCValue = BasePlcHelper.Instance.Weter7_totalTime.NowValue.ToInt(); -//this.BaseControl.WHStepTime.MCValue = BasePlcHelper.Instance.Weter7_stepTime.NowValue.ToInt(); -//this.BaseControl.WHTemperature.MCValue = BasePlcHelper.Instance.Weter7_temperature.NowValue.ToFloat(); -//this.BaseControl.WHSpeed.MCValue = BasePlcHelper.Instance.Weter7_speed.NowValue.ToFloat(); - - -//this.BaseControl.GAMode.MCValue = BasePlcHelper.Instance.Gelater0_mode.NowValue.ToInt(); -//this.BaseControl.GAStatus.MCValue = BasePlcHelper.Instance.Gelater0_status.NowValue.ToInt(); -//this.BaseControl.GABatch.MCValue = BasePlcHelper.Instance.Gelater0_batch.NowValue.ToInt(); -//this.BaseControl.GAStep.MCValue = BasePlcHelper.Instance.Gelater0_step.NowValue.ToInt(); -//this.BaseControl.GAStepCode.MCValue = BasePlcHelper.Instance.Gelater0_stepCode.NowValue.ToInt(); -//this.BaseControl.GATotalTime.MCValue = BasePlcHelper.Instance.Gelater0_totalTime.NowValue.ToInt(); -//this.BaseControl.GAStepTime.MCValue = BasePlcHelper.Instance.Gelater0_stepTime.NowValue.ToInt(); -//this.BaseControl.GATemperature.MCValue = BasePlcHelper.Instance.Gelater0_temperature.NowValue.ToFloat(); -//this.BaseControl.GASpeed.MCValue = BasePlcHelper.Instance.Gelater0_speed.NowValue.ToFloat(); - -//this.BaseControl.GBMode.MCValue = BasePlcHelper.Instance.Gelater1_mode.NowValue.ToInt(); -//this.BaseControl.GBStatus.MCValue = BasePlcHelper.Instance.Gelater1_status.NowValue.ToInt(); -//this.BaseControl.GBBatch.MCValue = BasePlcHelper.Instance.Gelater1_batch.NowValue.ToInt(); -//this.BaseControl.GBStep.MCValue = BasePlcHelper.Instance.Gelater1_step.NowValue.ToInt(); -//this.BaseControl.GBStepCode.MCValue = BasePlcHelper.Instance.Gelater1_stepCode.NowValue.ToInt(); -//this.BaseControl.GBTotalTime.MCValue = BasePlcHelper.Instance.Gelater1_totalTime.NowValue.ToInt(); -//this.BaseControl.GBStepTime.MCValue = BasePlcHelper.Instance.Gelater1_stepTime.NowValue.ToInt(); -//this.BaseControl.GBTemperature.MCValue = BasePlcHelper.Instance.Gelater1_temperature.NowValue.ToFloat(); -//this.BaseControl.GBSpeed.MCValue = BasePlcHelper.Instance.Gelater1_speed.NowValue.ToFloat(); - -//this.BaseControl.GCMode.MCValue = BasePlcHelper.Instance.Gelater2_mode.NowValue.ToInt(); -//this.BaseControl.GCStatus.MCValue = BasePlcHelper.Instance.Gelater2_status.NowValue.ToInt(); -//this.BaseControl.GCBatch.MCValue = BasePlcHelper.Instance.Gelater2_batch.NowValue.ToInt(); -//this.BaseControl.GCStep.MCValue = BasePlcHelper.Instance.Gelater2_step.NowValue.ToInt(); -//this.BaseControl.GCStepCode.MCValue = BasePlcHelper.Instance.Gelater2_stepCode.NowValue.ToInt(); -//this.BaseControl.GCTotalTime.MCValue = BasePlcHelper.Instance.Gelater2_totalTime.NowValue.ToInt(); -//this.BaseControl.GCStepTime.MCValue = BasePlcHelper.Instance.Gelater2_stepTime.NowValue.ToInt(); -//this.BaseControl.GCTemperature.MCValue = BasePlcHelper.Instance.Gelater2_temperature.NowValue.ToFloat(); -//this.BaseControl.GCSpeed.MCValue = BasePlcHelper.Instance.Gelater2_speed.NowValue.ToFloat(); - -//this.BaseControl.GDMode.MCValue = BasePlcHelper.Instance.Gelater3_mode.NowValue.ToInt(); -//this.BaseControl.GDStatus.MCValue = BasePlcHelper.Instance.Gelater3_status.NowValue.ToInt(); -//this.BaseControl.GDBatch.MCValue = BasePlcHelper.Instance.Gelater3_batch.NowValue.ToInt(); -//this.BaseControl.GDStep.MCValue = BasePlcHelper.Instance.Gelater3_step.NowValue.ToInt(); -//this.BaseControl.GDStepCode.MCValue = BasePlcHelper.Instance.Gelater3_stepCode.NowValue.ToInt(); -//this.BaseControl.GDTotalTime.MCValue = BasePlcHelper.Instance.Gelater3_totalTime.NowValue.ToInt(); -//this.BaseControl.GDStepTime.MCValue = BasePlcHelper.Instance.Gelater3_stepTime.NowValue.ToInt(); -//this.BaseControl.GDTemperature.MCValue = BasePlcHelper.Instance.Gelater3_temperature.NowValue.ToFloat(); -//this.BaseControl.GDSpeed.MCValue = BasePlcHelper.Instance.Gelater3_speed.NowValue.ToFloat(); - -//this.BaseControl.GEMode.MCValue = BasePlcHelper.Instance.Gelater4_mode.NowValue.ToInt(); -//this.BaseControl.GEStatus.MCValue = BasePlcHelper.Instance.Gelater4_status.NowValue.ToInt(); -//this.BaseControl.GEBatch.MCValue = BasePlcHelper.Instance.Gelater4_batch.NowValue.ToInt(); -//this.BaseControl.GEStep.MCValue = BasePlcHelper.Instance.Gelater4_step.NowValue.ToInt(); -//this.BaseControl.GEStepCode.MCValue = BasePlcHelper.Instance.Gelater4_stepCode.NowValue.ToInt(); -//this.BaseControl.GETotalTime.MCValue = BasePlcHelper.Instance.Gelater4_totalTime.NowValue.ToInt(); -//this.BaseControl.GEStepTime.MCValue = BasePlcHelper.Instance.Gelater4_stepTime.NowValue.ToInt(); -//this.BaseControl.GETemperature.MCValue = BasePlcHelper.Instance.Gelater4_temperature.NowValue.ToFloat(); -//this.BaseControl.GESpeed.MCValue = BasePlcHelper.Instance.Gelater4_speed.NowValue.ToFloat(); - -//this.BaseControl.GFMode.MCValue = BasePlcHelper.Instance.Gelater5_mode.NowValue.ToInt(); -//this.BaseControl.GFStatus.MCValue = BasePlcHelper.Instance.Gelater5_status.NowValue.ToInt(); -//this.BaseControl.GFBatch.MCValue = BasePlcHelper.Instance.Gelater5_batch.NowValue.ToInt(); -//this.BaseControl.GFStep.MCValue = BasePlcHelper.Instance.Gelater5_step.NowValue.ToInt(); -//this.BaseControl.GFStepCode.MCValue = BasePlcHelper.Instance.Gelater5_stepCode.NowValue.ToInt(); -//this.BaseControl.GFTotalTime.MCValue = BasePlcHelper.Instance.Gelater5_totalTime.NowValue.ToInt(); -//this.BaseControl.GFStepTime.MCValue = BasePlcHelper.Instance.Gelater5_stepTime.NowValue.ToInt(); -//this.BaseControl.GFTemperature.MCValue = BasePlcHelper.Instance.Gelater5_temperature.NowValue.ToFloat(); -//this.BaseControl.GFSpeed.MCValue = BasePlcHelper.Instance.Gelater5_speed.NowValue.ToFloat(); - -//this.BaseControl.GGMode.MCValue = BasePlcHelper.Instance.Gelater6_mode.NowValue.ToInt(); -//this.BaseControl.GGStatus.MCValue = BasePlcHelper.Instance.Gelater6_status.NowValue.ToInt(); -//this.BaseControl.GGBatch.MCValue = BasePlcHelper.Instance.Gelater6_batch.NowValue.ToInt(); -//this.BaseControl.GGStep.MCValue = BasePlcHelper.Instance.Gelater6_step.NowValue.ToInt(); -//this.BaseControl.GGStepCode.MCValue = BasePlcHelper.Instance.Gelater6_stepCode.NowValue.ToInt(); -//this.BaseControl.GGTotalTime.MCValue = BasePlcHelper.Instance.Gelater6_totalTime.NowValue.ToInt(); -//this.BaseControl.GGStepTime.MCValue = BasePlcHelper.Instance.Gelater6_stepTime.NowValue.ToInt(); -//this.BaseControl.GGTemperature.MCValue = BasePlcHelper.Instance.Gelater6_temperature.NowValue.ToFloat(); -//this.BaseControl.GGSpeed.MCValue = BasePlcHelper.Instance.Gelater6_speed.NowValue.ToFloat(); - -//this.BaseControl.GHMode.MCValue = BasePlcHelper.Instance.Gelater7_mode.NowValue.ToInt(); -//this.BaseControl.GHStatus.MCValue = BasePlcHelper.Instance.Gelater7_status.NowValue.ToInt(); -//this.BaseControl.GHBatch.MCValue = BasePlcHelper.Instance.Gelater7_batch.NowValue.ToInt(); -//this.BaseControl.GHStep.MCValue = BasePlcHelper.Instance.Gelater7_step.NowValue.ToInt(); -//this.BaseControl.GHStepCode.MCValue = BasePlcHelper.Instance.Gelater7_stepCode.NowValue.ToInt(); -//this.BaseControl.GHTotalTime.MCValue = BasePlcHelper.Instance.Gelater7_totalTime.NowValue.ToInt(); -//this.BaseControl.GHStepTime.MCValue = BasePlcHelper.Instance.Gelater7_stepTime.NowValue.ToInt(); -//this.BaseControl.GHTemperature.MCValue = BasePlcHelper.Instance.Gelater7_temperature.NowValue.ToFloat(); -//this.BaseControl.GHSpeed.MCValue = BasePlcHelper.Instance.Gelater7_speed.NowValue.ToFloat(); -#endregion diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Util/ControlsImprot.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Util/ControlsImprot.cs new file mode 100644 index 0000000..662de9c --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Util/ControlsImprot.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.Util +{ + public class ControlsImprot + { + /// + /// 控件导入 + /// + /// 控件类型 + /// 控件实体类 + /// 前端控件集合 + public static void ControlImport(object obj, List McControls) where T : class + { + PropertyInfo[] sourcePropertyInfoList = obj.GetType().GetProperties(); + foreach (PropertyInfo sourceProperty in sourcePropertyInfoList) + { + string name = sourceProperty.Name; + var pro = McControls.FirstOrDefault(x => x.Name == name) as T; + sourceProperty.SetValue(obj, pro); + } + } + + } +} diff --git a/DataBlockHelper/PlcConnect.cs b/DataBlockHelper/PlcConnect.cs index b199ce4..057bf4b 100644 --- a/DataBlockHelper/PlcConnect.cs +++ b/DataBlockHelper/PlcConnect.cs @@ -31,7 +31,7 @@ namespace DataBlockHelper { SiemensPLCS siemensPLCS = SiemensPLCS.S1500; SiemensS7Net s7 = new SiemensS7Net(siemensPLCS); - // s7.SetPersistentConnection(); + s7.SetPersistentConnection(); s7.IpAddress = "172.18.4.100"; s7.Port = 102; var su = s7.ConnectServer(); diff --git a/Main/MCEdit/Data/EventConfig/小料称量/输送界面.xml b/Main/MCEdit/Data/EventConfig/小料称量/输送界面.xml new file mode 100644 index 0000000..9a3d200 --- /dev/null +++ b/Main/MCEdit/Data/EventConfig/小料称量/输送界面.xml @@ -0,0 +1,24 @@ + + + + + + 输送界面初始化 + 输送界面初始化 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj index 9484b76..92bd2f6 100644 --- a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj +++ b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj @@ -18,7 +18,6 @@ - @@ -30,10 +29,8 @@ - - - - + + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/AutoControlC.xml b/Main/MCEdit/Data/MCProject/nodeForm/AutoControlC.xml index 8745c84..4e38afb 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/AutoControlC.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/AutoControlC.xml @@ -4070,7 +4070,7 @@ Control 1615, 683 WindowsDefaultLocation - 湿混糊化自动参数控制 + 自动参数控制 Normal Tile diff --git a/Main/MCEdit/Data/MCProject/nodeForm/FormDeliver.xml b/Main/MCEdit/Data/MCProject/nodeForm/FormDeliver.xml index c313fa2..5226ac0 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/FormDeliver.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/FormDeliver.xml @@ -10,8 +10,7 @@ - - + zsTurnOff 1636, 129 Fan17 @@ -55,8 +54,7 @@ - - + zsTurnOff 1612, 127 Fan18 @@ -231,7 +229,6 @@ 3, 83 - ylNormal 1534, 466 RSCREWBIG16 @@ -296,7 +293,7 @@ LjSwith402 14, 12 - + 100 小料 194, 190, 77 @@ -306,7 +303,7 @@ 240, 240, 240 151, 232, 244 1521, 234 - HslBottle63 + Bottle15 46, 237 @@ -805,28 +802,24 @@ 3, 136 - ylNormal 1446, 472 RSCREWBIG12 43, 10 - ylNormal 1386, 470 RSCREWBIG13 43, 10 - ylNormal 1328, 470 RSCREWBIG14 43, 10 - ylNormal 1269, 470 RSCREWBIG15 @@ -927,7 +920,7 @@ LjSwith398 14, 12 - + 100 小料 194, 190, 77 @@ -937,7 +930,7 @@ 240, 240, 240 151, 232, 244 1430, 165 - HslBottle59 + Bottle14 53, 308 @@ -987,7 +980,7 @@ MCLabel278 53, 12 - + 100 小料 194, 190, 77 @@ -997,7 +990,7 @@ 240, 240, 240 151, 232, 244 1371, 165 - HslBottle60 + Bottle13 53, 308 @@ -1047,7 +1040,7 @@ MCLabel280 53, 12 - + 100 小料 194, 190, 77 @@ -1057,7 +1050,7 @@ 240, 240, 240 151, 232, 244 1312, 165 - HslBottle61 + Bottle12 53, 308 @@ -1107,7 +1100,7 @@ MCLabel282 53, 12 - + 100 小料 194, 190, 77 @@ -1117,7 +1110,7 @@ 240, 240, 240 151, 232, 244 1253, 165 - HslBottle62 + Bottle11 53, 308 @@ -1906,8 +1899,7 @@ - - + zsTurnOff 1684, 35 Fan19 @@ -3505,70 +3497,60 @@ 3, 12 - ylNormal 667, 469 RSCREWBIG11 43, 10 - ylNormal 1210, 473 RSCREWBIG9 43, 10 - ylNormal 1150, 471 RSCREWBIG8 43, 10 - ylNormal 1092, 471 RSCREWBIG7 43, 10 - ylNormal 1033, 471 RSCREWBIG6 43, 10 - ylNormal 941, 471 RSCREWBIG5 43, 10 - ylNormal 882, 470 RSCREWBIG4 43, 10 - ylNormal 783, 470 RSCREWBIG3 43, 10 - ylNormal 726, 469 RSCREWBIG2 43, 10 - ylNormal 608, 470 RSCREWBIG1 @@ -3813,7 +3795,7 @@ LjSwith313 14, 12 - + 100 小料 194, 190, 77 @@ -3823,7 +3805,7 @@ 240, 240, 240 151, 232, 244 1194, 166 - HslBottle49 + Bottle10 53, 308 @@ -3873,7 +3855,7 @@ MCLabel240 53, 12 - + 100 小料 194, 190, 77 @@ -3883,7 +3865,7 @@ 240, 240, 240 151, 232, 244 1135, 166 - HslBottle50 + Bottle9 53, 308 @@ -3933,7 +3915,7 @@ MCLabel242 53, 12 - + 100 小料 194, 190, 77 @@ -3943,7 +3925,7 @@ 240, 240, 240 151, 232, 244 1076, 166 - HslBottle51 + Bottle8 53, 308 @@ -3993,7 +3975,7 @@ MCLabel244 53, 12 - + 100 小料 194, 190, 77 @@ -4003,7 +3985,7 @@ 240, 240, 240 151, 232, 244 1017, 166 - HslBottle52 + Bottle7 53, 308 @@ -4033,7 +4015,7 @@ MCLabel245 53, 12 - + 100 小料 194, 190, 77 @@ -4043,7 +4025,7 @@ 240, 240, 240 151, 232, 244 925, 164 - HslBottle53 + Bottle6 53, 308 @@ -4093,7 +4075,7 @@ MCLabel247 53, 12 - + 100 小料 194, 190, 77 @@ -4103,7 +4085,7 @@ 240, 240, 240 151, 232, 244 866, 164 - HslBottle54 + Bottle5 53, 308 @@ -4153,7 +4135,7 @@ MCLabel249 53, 12 - + 100 小料 194, 190, 77 @@ -4163,7 +4145,7 @@ 240, 240, 240 151, 232, 244 771, 164 - HslBottle55 + Bottle4 53, 308 @@ -4213,7 +4195,7 @@ MCLabel251 53, 12 - + 100 小料 194, 190, 77 @@ -4223,7 +4205,7 @@ 240, 240, 240 151, 232, 244 712, 164 - HslBottle56 + Bottle3 53, 308 @@ -4253,7 +4235,7 @@ MCLabel252 53, 12 - + 100 小料 194, 190, 77 @@ -4263,7 +4245,7 @@ 240, 240, 240 151, 232, 244 653, 164 - HslBottle57 + Bottle2 53, 308 @@ -4293,7 +4275,7 @@ MCLabel253 53, 12 - + 100 小料 194, 190, 77 @@ -4303,7 +4285,7 @@ 240, 240, 240 151, 232, 244 594, 164 - HslBottle58 + Bottle1 53, 308 @@ -9182,7 +9164,7 @@ 151, 232, 244 1310, 120 HslBottle26 - 53, 482 + 40, 615 ParametersWithPc.FC4_Valve.AS1ESI01_Alarm @@ -13630,7 +13612,7 @@ 151, 232, 244 895, 117 HslBottle1 - 53, 482 + 89, 601 @@ -18677,7 +18659,7 @@ 1754, 920 - AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAGAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDcxODhEMjExMkM4NTQ1NEI5OEIyQTFDMjk2RDBCQzU3BgYAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWBgcAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWCw== AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL diff --git a/Main/MCEdit/Data/MCProject/nodeForm/LjDeliver.xml b/Main/MCEdit/Data/MCProject/nodeForm/LjDeliver.xml new file mode 100644 index 0000000..4541c1b --- /dev/null +++ b/Main/MCEdit/Data/MCProject/nodeForm/LjDeliver.xml @@ -0,0 +1,4719 @@ + + + + + + + zsTurnOff + 1636, 129 + Fan17 + 10, 10 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1644, 135 + SpecialLabelBlue698 + 30, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1652, 112 + SpecialLabelBlue697 + 2, 24 + + + + + zsTurnOff + 1612, 127 + Fan18 + 10, 10 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1631, 74 + SpecialLabelBlue696 + 15, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1631, 74 + SpecialLabelBlue695 + 2, 62 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1604, 134 + SpecialLabelBlue694 + 29, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1602, 66 + SpecialLabelBlue693 + 65, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1601, 66 + SpecialLabelBlue692 + 2, 62 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1589, 80 + SpecialLabelBlue691 + 55, 2 + + + 1644, 74 + SheBei1 + 25, 40 + + + 1563, 77 + MoFenJi1 + 44, 72 + + + 142, 196, 216 + 20 + 1483, 106 + HslConveyer2147483646 + 84, 30 + + + ParametersWithPc.FC4_Valve.DV1PCP11_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmLeftPosition + 1383, 29 + ThreeWayValve2147483561 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP11_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmLeftPosition + 1204, 29 + ThreeWayValve2147483562 + 22, 12 + + + ParametersWithPc.FC4_Valve.AS1PCP03_Alarm + ParametersWithPc.FC4_Valve.AS1PCP03_Set + 567, 372 + LjSwith403 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1563, 154 + SpecialLabelBlue690 + 3, 83 + + + ylNormal + 1534, 466 + RSCREWBIG16 + 36, 10 + + + + ParametersWithPc.FC3_Analog.HR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1521, 300 + MCLabel283 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1521, 253 + MCLabel284 + 53, 12 + + + ParametersWithPc.FC16_Level.LSiloJ + 1541, 423 + SwitchLight90 + 10, 10 + + + ParametersWithPc.FC16_Level.HSiloJ + 1541, 275 + SwitchLight91 + 10, 10 + + + ParametersWithPc.FC4_Valve.AS1JSI01_Alarm + ParametersWithPc.FC4_Valve.AS1JSI01_Set + 1560, 237 + LjSwith402 + 14, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1521, 234 + Bottle15 + 46, 237 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 696, 154 + SpecialLabelBlue689 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 755, 154 + SpecialLabelBlue688 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 813, 154 + SpecialLabelBlue687 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 908, 153 + SpecialLabelBlue686 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 967, 153 + SpecialLabelBlue685 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1061, 153 + SpecialLabelBlue684 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1120, 153 + SpecialLabelBlue683 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1179, 152 + SpecialLabelBlue682 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1238, 153 + SpecialLabelBlue681 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1297, 153 + SpecialLabelBlue680 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1356, 154 + SpecialLabelBlue679 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1415, 153 + SpecialLabelBlue678 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 1475, 151 + SpecialLabelBlue677 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 637, 154 + SpecialLabelBlue676 + 3, 14 + + + + + + + False + + + + None + True + True + MiddleCenter + 128, 255, 128 + 585, 151 + SpecialLabelBlue675 + 981, 3 + + + ParametersWithPc.FC4_Valve.DV1PCP11_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmLeftPosition + 1265, 102 + ThreeWayValve2147483563 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1277, 109 + SpecialLabelBlue674 + 3, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1337, 109 + SpecialLabelBlue673 + 3, 60 + + + ParametersWithPc.FC4_Valve.DV1PCP11_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmLeftPosition + 1094, 102 + ThreeWayValve2147483564 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1100, 106 + SpecialLabelBlue672 + 240, 3 + + + ParametersWithPc.FC4_Valve.DV1PCP04_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP04_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP04_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP04_AlarmLeftPosition + 1087, 64 + ThreeWayValve2147483566 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1043, 68 + SpecialLabelBlue670 + 55, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1041, 68 + SpecialLabelBlue671 + 3, 100 + + + ParametersWithPc.FC4_Valve.DV1PCP05_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP05_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP05_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP05_AlarmLeftPosition + 1145, 30 + ThreeWayValve2147483567 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP04_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP04_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP04_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP04_AlarmLeftPosition + 1087, 30 + ThreeWayValve2147483568 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1395, 32 + SpecialLabelBlue669 + 3, 138 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1100, 36 + SpecialLabelBlue668 + 3, 132 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1159, 36 + SpecialLabelBlue667 + 3, 132 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1219, 36 + SpecialLabelBlue666 + 3, 132 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 1454, 32 + SpecialLabelBlue665 + 3, 136 + + + ylNormal + 1446, 472 + RSCREWBIG12 + 43, 10 + + + ylNormal + 1386, 470 + RSCREWBIG13 + 43, 10 + + + ylNormal + 1328, 470 + RSCREWBIG14 + 43, 10 + + + ylNormal + 1269, 470 + RSCREWBIG15 + 43, 10 + + + + ParametersWithPc.FC3_Analog.HR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1430, 231 + MCLabel275 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1430, 184 + MCLabel276 + 53, 12 + + + ParametersWithPc.FC16_Level.LSiloG + 1272, 426 + SwitchLight82 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloH + 1332, 426 + SwitchLight83 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloI + 1392, 426 + SwitchLight84 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloJ + 1450, 425 + SwitchLight85 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloJ + 1450, 206 + SwitchLight86 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloI + 1392, 206 + SwitchLight87 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloH + 1332, 206 + SwitchLight88 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloG + 1272, 205 + SwitchLight89 + 13, 13 + + + ParametersWithPc.FC4_Valve.AS1JSI01_Alarm + ParametersWithPc.FC4_Valve.AS1JSI01_Set + 1469, 168 + LjSwith398 + 14, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1430, 165 + Bottle14 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1ISI01_Alarm + ParametersWithPc.FC4_Valve.AS1ISI01_Set + 1410, 168 + LjSwith399 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1ISI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1371, 231 + MCLabel277 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1ISI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1371, 184 + MCLabel278 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1371, 165 + Bottle13 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1HSI01_Alarm + + 1351, 168 + LjSwith400 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1HSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1312, 231 + MCLabel279 + 53, 12 + + + + ParametersWithPc.FC3_Analog.LS1HSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1312, 184 + MCLabel280 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1312, 165 + Bottle12 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1GSI01_P1 + ParametersWithPc.FC4_Valve.AS1GSI01_Set + 1292, 168 + LjSwith401 + 14, 12 + + + + ParametersWithPc.FC3_Analog.PR1GSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1253, 231 + MCLabel281 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1GSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1253, 184 + MCLabel282 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1253, 165 + Bottle11 + 53, 308 + + + ParametersWithPc.FC4_Valve.DV1PCP15_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP15_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP15_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP15_AlarmLeftPosition + 877, 64 + ThreeWayValve2147483569 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 891, 68 + SpecialLabelBlue664 + 3, 98 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 949, 67 + SpecialLabelBlue663 + 3, 98 + + + ParametersWithPc.FC4_Valve.DV1PCP11_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP11_AlarmLeftPosition + 606, 104 + ThreeWayValve2147483571 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP12_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP12_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP12_AlarmLeftPosition + 612, 131 + ThreeWayValve2147483572 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 625, 133 + SpecialLabelBlue662 + 55, 3 + + + ParametersWithPc.FC4_Valve.DV1PCP03_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP03_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP03_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP03_AlarmLeftPosition + 722, 29 + ThreeWayValve2147483573 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 620, 110 + SpecialLabelBlue661 + 3, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 677, 135 + SpecialLabelBlue660 + 3, 34 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 736, 35 + SpecialLabelBlue659 + 3, 132 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 795, 106 + SpecialLabelBlue658 + 3, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 531, 126 + SpecialLabelBlue656 + 249, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 513, 106 + SpecialLabelBlue657 + 284, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 572, 87 + SpecialLabelBlue655 + 304, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 554, 67 + SpecialLabelBlue654 + 397, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 489, 50 + SpecialLabelBlue653 + 923, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 472, 32 + SpecialLabelBlue652 + 983, 3 + + + ParametersWithPc.FC4_Valve.AS1PCP02_Alarm + ParametersWithPc.FC4_Valve.AS1PCP02_Set + 526, 142 + LjSwith397 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS1PCP01_Alarm + ParametersWithPc.FC4_Valve.AS1PCP01_Set + 484, 113 + LjSwith396 + 14, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 玉米粉 + Yellow + 197, 601 + MCLabel274 + 41, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 小料 + Yellow + 209, 319 + MCLabel273 + 29, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 548, 530 + SpecialLabelBlue648 + 19, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 532, 470 + SpecialLabelBlue649 + 17, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 535, 500 + SpecialLabelBlue650 + 38, 1 + + + + TurnOff + 567, 523 + Jzf19 + 13, 11 + + + + TurnOff + 525, 493 + Jzf20 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 548, 470 + SpecialLabelBlue651 + 1, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 537, 394 + SpecialLabelBlue644 + 3, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 537, 451 + SpecialLabelBlue645 + 10, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 524, 394 + SpecialLabelBlue646 + 14, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 524, 424 + SpecialLabelBlue647 + 22, 3 + + + ParametersWithPc.FC4_Valve.DV1PCP14_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP14_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP14_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP14_AlarmLeftPosition + 545, 421 + ThreeWayValve2147483577 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP13_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP13_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP13_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP13_AlarmLeftPosition + 545, 448 + ThreeWayValve2147483576 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP08_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP08_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP08_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP08_AlarmLeftPosition + 503, 392 + ThreeWayValve2147483575 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP07_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP07_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP07_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP07_AlarmLeftPosition + 503, 421 + ThreeWayValve2147483574 + 22, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 572, 87 + SpecialLabelBlue642 + 1, 791 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 554, 67 + SpecialLabelBlue643 + 3, 793 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 506, 294 + SpecialLabelBlue641 + 19, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 490, 234 + SpecialLabelBlue640 + 17, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 493, 264 + SpecialLabelBlue638 + 38, 1 + + + + TurnOff + 525, 287 + Jzf18 + 13, 11 + + + + TurnOff + 483, 257 + Jzf17 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 506, 234 + SpecialLabelBlue637 + 1, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 496, 158 + SpecialLabelBlue636 + 3, 60 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 496, 215 + SpecialLabelBlue635 + 10, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 483, 158 + SpecialLabelBlue633 + 14, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 483, 188 + SpecialLabelBlue632 + 22, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 531, 127 + SpecialLabelBlue631 + 1, 471 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 513, 108 + SpecialLabelBlue630 + 3, 474 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 489, 51 + SpecialLabelBlue629 + 1, 261 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 472, 35 + SpecialLabelBlue628 + 3, 262 + + + + + zsTurnOff + 1684, 35 + Fan19 + 10, 10 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 1678, 82 + SpecialLabelBlue627 + 1, 16 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 142, 86 + SpecialLabelBlue626 + 1, 754 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 126, 86 + SpecialLabelBlue625 + 17, 1 + + + + TurnOff + 237, 591 + Jzf16 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 597 + SpecialLabelBlue623 + 299, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 559 + SpecialLabelBlue624 + 1, 39 + + + + TurnOff + 237, 872 + Jzf13 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 878 + SpecialLabelBlue599 + 340, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 840 + SpecialLabelBlue600 + 1, 39 + + + ParametersWithPc.FC4_Valve.AS3DBT07_Alarm + ParametersWithPc.FC4_Valve.AS3DBT07_Set + 334, 871 + LjSwith383 + 14, 12 + + + + TurnOff + 216, 834 + Jzf14 + 13, 11 + + + + TurnOff + 237, 834 + Jzf15 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 142, 839 + SpecialLabelBlue601 + 134, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 860 + SpecialLabelBlue602 + 226, 3 + + + ParametersWithPc.FC4_Valve.BU3DBT07_Alarm + ParametersWithPc.FC4_Valve.BU3DBT07_Set + 390, 834 + LjSwith384 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU3DBT06_Alarm + ParametersWithPc.FC4_Valve.BU3DBT06_Set + 328, 834 + LjSwith385 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 392, 832 + SpecialLabelBlue603 + 3, 29 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 833 + SpecialLabelBlue604 + 3, 27 + + + ParametersWithPc.FC4_Valve.AS3DBT06_Alarm + ParametersWithPc.FC4_Valve.AS3DBT06_Set + 301, 856 + LjSwith386 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 406, 753 + SpecialLabelBlue605 + 26, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 754 + SpecialLabelBlue606 + 24, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 255, 792 + SpecialLabelBlue607 + 177, 1 + + + ParametersWithPc.FC4_Valve.BU3DBT04_Alarm + ParametersWithPc.FC4_Valve.BU3DBT04_Set + 391, 725 + LjSwith387 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU3DBT03_Alarm + ParametersWithPc.FC4_Valve.BU3DBT03_Set + 324, 725 + LjSwith388 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU3DBT02_Alarm + ParametersWithPc.FC4_Valve.BU3DBT02_Set + 370, 730 + LjSwith389 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU3DBT01_Alarm + ParametersWithPc.FC4_Valve.BU3DBT01_Set + 343, 731 + LjSwith390 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 395, 719 + SpecialLabelBlue608 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 719 + SpecialLabelBlue609 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 719 + SpecialLabelBlue610 + 69, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 726 + SpecialLabelBlue611 + 30, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 374, 728 + SpecialLabelBlue612 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 728 + SpecialLabelBlue613 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 714 + SpecialLabelBlue614 + 3, 12 + + + ParametersWithPc.FC16_Level.Atank6 + 385, 760 + SwitchLight80 + 13, 13 + + + ParametersWithPc.FC16_Level.Atank5 + 326, 761 + SwitchLight81 + 13, 13 + + + 347, 864 + Xie19 + 32, 12 + + + ParametersWithPc.FC4_Valve.AS3DBT05_Alarm + ParametersWithPc.FC4_Valve.AS3DBT05_Set + 411, 809 + LjSwith391 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS3DBT04_Alarm + ParametersWithPc.FC4_Valve.AS3DBT04_Set + 301, 809 + LjSwith392 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS3DBT02_Alarm + ParametersWithPc.FC4_Valve.AS3DBT02_Set + 427, 762 + LjSwith393 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS3DBT01_Alarm + ParametersWithPc.FC4_Valve.AS3DBT01_Set + 291, 762 + LjSwith394 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS3DBT03_Alarm + ParametersWithPc.FC4_Valve.AS3DBT03_Set + 271, 809 + LjSwith395 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 657 + SpecialLabelBlue615 + 3, 12 + + + 341, 667 + Dou30 + 43, 49 + + + 153, 589 + HslTruck21 + 130, 72 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 861 + SpecialLabelBlue616 + 38, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 400, 815 + SpecialLabelBlue617 + 31, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 431, 754 + SpecialLabelBlue618 + 1, 63 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 815 + SpecialLabelBlue619 + 32, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 754 + SpecialLabelBlue620 + 1, 107 + + + 364, 750 + LouDou47 + 56, 83 + + + 304, 750 + LouDou48 + 56, 83 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 254, 792 + SpecialLabelBlue621 + 1, 48 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 275, 792 + SpecialLabelBlue622 + 1, 48 + + + 275, 618 + Trucks21 + 113, 37 + + + + TurnOff + 237, 306 + Jzf11 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 312 + SpecialLabelBlue595 + 257, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 233, 274 + SpecialLabelBlue596 + 1, 39 + + + ParametersWithPc.FC4_Valve.AS2DBT07_Alarm + ParametersWithPc.FC4_Valve.AS2DBT07_Set + 334, 590 + LjSwith370 + 14, 12 + + + + TurnOff + 216, 553 + Jzf6 + 13, 11 + + + + TurnOff + 237, 553 + Jzf7 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 143, 558 + SpecialLabelBlue549 + 133, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 579 + SpecialLabelBlue550 + 182, 3 + + + ParametersWithPc.FC4_Valve.BU2DBT07_Alarm + ParametersWithPc.FC4_Valve.BU2DBT07_Set + 390, 553 + LjSwith371 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU2DBT06_Alarm + ParametersWithPc.FC4_Valve.BU2DBT06_Set + 328, 553 + LjSwith372 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 392, 551 + SpecialLabelBlue551 + 3, 29 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 552 + SpecialLabelBlue552 + 3, 27 + + + ParametersWithPc.FC4_Valve.AS2DBT06_Alarm + ParametersWithPc.FC4_Valve.AS2DBT06_Set + 301, 575 + LjSwith373 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 406, 472 + SpecialLabelBlue553 + 26, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 473 + SpecialLabelBlue554 + 24, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 255, 511 + SpecialLabelBlue555 + 177, 1 + + + ParametersWithPc.FC4_Valve.BU2DBT04_Alarm + ParametersWithPc.FC4_Valve.BU2DBT04_Set + 391, 444 + LjSwith374 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU2DBT03_Alarm + ParametersWithPc.FC4_Valve.BU2DBT03_Set + 324, 444 + LjSwith375 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU2DBT02_Alarm + ParametersWithPc.FC4_Valve.BU2DBT02_Set + 370, 449 + LjSwith376 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU2DBT01_Alarm + ParametersWithPc.FC4_Valve.BU2DBT01_Set + 343, 450 + LjSwith377 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 395, 438 + SpecialLabelBlue556 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 438 + SpecialLabelBlue557 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 438 + SpecialLabelBlue558 + 69, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 445 + SpecialLabelBlue559 + 30, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 374, 447 + SpecialLabelBlue560 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 447 + SpecialLabelBlue561 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 433 + SpecialLabelBlue562 + 3, 12 + + + ParametersWithPc.FC16_Level.Atank4 + 385, 479 + SwitchLight78 + 13, 13 + + + ParametersWithPc.FC16_Level.Atank3 + 326, 480 + SwitchLight79 + 13, 13 + + + 347, 583 + Xie18 + 32, 12 + + + ParametersWithPc.FC4_Valve.AS2DBT05_Alarm + ParametersWithPc.FC4_Valve.AS2DBT05_Set + 411, 528 + LjSwith378 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS2DBT04_Alarm + ParametersWithPc.FC4_Valve.AS2DBT04_Set + 301, 528 + LjSwith379 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS2DBT02_Alarm + ParametersWithPc.FC4_Valve.AS2DBT02_Set + 427, 481 + LjSwith380 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS2DBT01_Alarm + ParametersWithPc.FC4_Valve.AS2DBT01_Set + 291, 481 + LjSwith381 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS2DBT03_Alarm + ParametersWithPc.FC4_Valve.AS2DBT03_Set + 271, 528 + LjSwith382 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 374 + SpecialLabelBlue563 + 3, 12 + + + 341, 386 + Dou29 + 43, 49 + + + 153, 306 + HslTruck20 + 130, 72 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 580 + SpecialLabelBlue564 + 38, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 400, 534 + SpecialLabelBlue565 + 31, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 431, 473 + SpecialLabelBlue566 + 1, 63 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 534 + SpecialLabelBlue567 + 32, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 473 + SpecialLabelBlue568 + 1, 107 + + + 364, 469 + LouDou45 + 56, 83 + + + 304, 469 + LouDou46 + 56, 83 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 254, 511 + SpecialLabelBlue569 + 1, 48 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 275, 511 + SpecialLabelBlue570 + 1, 48 + + + 275, 335 + Trucks20 + 113, 37 + + + ParametersWithPc.FC4_Valve.AS1DBT07_Alarm + ParametersWithPc.FC4_Valve.AS1DBT07_Set + 334, 306 + LjSwith369 + 14, 12 + + + + TurnOff + 216, 269 + Jzf2 + 13, 11 + + + + TurnOff + 237, 269 + Jzf1 + 13, 11 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 143, 274 + SpecialLabelBlue544 + 133, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 295 + SpecialLabelBlue543 + 144, 3 + + + ParametersWithPc.FC4_Valve.BU1DBT07_Alarm + ParametersWithPc.FC4_Valve.BU1DBT07_Set + 390, 269 + LjSwith368 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU1DBT06_Alarm + ParametersWithPc.FC4_Valve.BU1DBT06_Set + 328, 269 + LjSwith367 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 392, 267 + SpecialLabelBlue541 + 3, 29 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 331, 268 + SpecialLabelBlue542 + 3, 27 + + + ParametersWithPc.FC4_Valve.AS1DBT06_Alarm + ParametersWithPc.FC4_Valve.AS1DBT06_Set + 301, 291 + LjSwith366 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 406, 188 + SpecialLabelBlue540 + 26, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 189 + SpecialLabelBlue539 + 24, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 255, 227 + SpecialLabelBlue538 + 177, 1 + + + ParametersWithPc.FC4_Valve.BU1DBT04_Alarm + ParametersWithPc.FC4_Valve.BU1DBT04_Set + 391, 160 + LjSwith365 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU1DBT03_Alarm + ParametersWithPc.FC4_Valve.BU1DBT03_Set + 324, 160 + LjSwith364 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU1DBT02_Alarm + ParametersWithPc.FC4_Valve.BU1DBT02_Set + 370, 165 + LjSwith363 + 14, 12 + + + ParametersWithPc.FC4_Valve.BU1DBT01_Alarm + ParametersWithPc.FC4_Valve.BU1DBT01_Set + 343, 166 + LjSwith362 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 395, 154 + SpecialLabelBlue536 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 154 + SpecialLabelBlue537 + 2, 41 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 328, 154 + SpecialLabelBlue535 + 69, 2 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 161 + SpecialLabelBlue534 + 30, 3 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 374, 163 + SpecialLabelBlue530 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 347, 163 + SpecialLabelBlue529 + 3, 27 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 149 + SpecialLabelBlue528 + 3, 12 + + + ylNormal + 667, 469 + RSCREWBIG11 + 43, 10 + + + ylNormal + 1210, 473 + RSCREWBIG9 + 43, 10 + + + ylNormal + 1150, 471 + RSCREWBIG8 + 43, 10 + + + ylNormal + 1092, 471 + RSCREWBIG7 + 43, 10 + + + ylNormal + 1033, 471 + RSCREWBIG6 + 43, 10 + + + ylNormal + 941, 471 + RSCREWBIG5 + 43, 10 + + + ylNormal + 882, 470 + RSCREWBIG4 + 43, 10 + + + ylNormal + 783, 470 + RSCREWBIG3 + 43, 10 + + + ylNormal + 726, 469 + RSCREWBIG2 + 43, 10 + + + ylNormal + 608, 470 + RSCREWBIG1 + 43, 10 + + + + ParametersWithPc.FC3_Analog.HR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1194, 231 + MCLabel234 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1JSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1194, 185 + MCLabel235 + 53, 12 + + + ParametersWithPc.FC16_Level.LSiloG + 1040, 426 + SwitchLight54 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloH + 1094, 426 + SwitchLight55 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloI + 1154, 426 + SwitchLight56 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloJ + 1213, 426 + SwitchLight57 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloJ + 1213, 206 + SwitchLight58 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloI + 1154, 206 + SwitchLight59 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloH + 1096, 206 + SwitchLight60 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloG + 1039, 205 + SwitchLight61 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloF + 944, 426 + SwitchLight62 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloF + 944, 206 + SwitchLight63 + 13, 13 + + + + ParametersWithPc.FC3_Analog.HR1FSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 925, 232 + MCLabel236 + 53, 12 + + + ParametersWithPc.FC16_Level.LSiloD + 791, 426 + SwitchLight64 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloE + 886, 426 + SwitchLight65 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloE + 886, 206 + SwitchLight66 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloD + 791, 206 + SwitchLight67 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloC + 731, 426 + SwitchLight68 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloC + 731, 206 + SwitchLight69 + 13, 13 + + + + ParametersWithPc.FC3_Analog.HR1BSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 653, 232 + MCLabel237 + 53, 12 + + + + ParametersWithPc.FC3_Analog.HR1ASI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 594, 231 + MCLabel238 + 53, 12 + + + ParametersWithPc.FC16_Level.LSiloB + 674, 426 + SwitchLight70 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloB + 674, 206 + SwitchLight71 + 13, 13 + + + ParametersWithPc.FC16_Level.HSiloA + 612, 206 + SwitchLight72 + 13, 13 + + + ParametersWithPc.FC16_Level.LSiloA + 612, 426 + SwitchLight73 + 13, 13 + + + ParametersWithPc.FC16_Level.Atank2 + 385, 195 + SwitchLight76 + 13, 13 + + + ParametersWithPc.FC16_Level.Atank1 + 326, 196 + SwitchLight77 + 13, 13 + + + ParametersWithPc.FC4_Valve.AS1JSI01_Alarm + ParametersWithPc.FC4_Valve.AS1JSI01_Set + 1233, 169 + LjSwith313 + 14, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1194, 166 + Bottle10 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1ISI01_Alarm + ParametersWithPc.FC4_Valve.AS1ISI01_Set + 1174, 169 + LjSwith314 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1ISI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1135, 231 + MCLabel239 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1ISI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1135, 185 + MCLabel240 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1135, 166 + Bottle9 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1HSI01_Alarm + + 1115, 169 + LjSwith315 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1HSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1076, 231 + MCLabel241 + 53, 12 + + + + ParametersWithPc.FC3_Analog.LS1HSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1076, 185 + MCLabel242 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1076, 166 + Bottle8 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1GSI01_P1 + ParametersWithPc.FC4_Valve.AS1GSI01_Set + 1056, 169 + LjSwith316 + 14, 12 + + + + ParametersWithPc.FC3_Analog.PR1GSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1016, 231 + MCLabel243 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1GSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 1017, 185 + MCLabel244 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 1017, 166 + Bottle7 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1FSI01_Alarm + ParametersWithPc.FC4_Valve.AS1FSI01_Set + 964, 167 + LjSwith317 + 14, 12 + + + + ParametersWithPc.FC3_Analog.LS1FSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 925, 183 + MCLabel245 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 925, 164 + Bottle6 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1ESI01_Alarm + ParametersWithPc.FC4_Valve.AS1ESI01_Set + 905, 167 + LjSwith318 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1ESI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 866, 232 + MCLabel246 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1ESI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 866, 183 + MCLabel247 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 866, 164 + Bottle5 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1DSI01_Alarm + ParametersWithPc.FC4_Valve.AS1DSI01_Set + 810, 167 + LjSwith319 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1DSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 771, 232 + MCLabel248 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1DSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 771, 184 + MCLabel249 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 771, 164 + Bottle4 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1CSI01_Alarm + ParametersWithPc.FC4_Valve.AS1CSI01_Set + 751, 167 + LjSwith320 + 14, 12 + + + + ParametersWithPc.FC3_Analog.HR1CSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 712, 232 + MCLabel250 + 53, 12 + + + + ParametersWithPc.FC3_Analog.PR1CSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 712, 184 + MCLabel251 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 712, 164 + Bottle3 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1BSI01_Alarm + ParametersWithPc.FC4_Valve.AS1BSI01_Set + 692, 168 + LjSwith321 + 14, 12 + + + + ParametersWithPc.FC3_Analog.PR1BSI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 653, 184 + MCLabel252 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 653, 164 + Bottle2 + 53, 308 + + + ParametersWithPc.FC4_Valve.AS1ASI01_Alarm + ParametersWithPc.FC4_Valve.AS1ASI01_Set + 634, 167 + LjSwith322 + 14, 12 + + + + ParametersWithPc.FC3_Analog.PR1ASI01_Value + Red + DarkGray + + + False + + + + None + True + True + PR1ASI01 + Red + 594, 184 + MCLabel253 + 53, 12 + + + 100 + 小料 + 194, 190, 77 + 226, 221, 98 + 243, 245, 139 + 142, 196, 216 + 240, 240, 240 + 151, 232, 244 + 594, 164 + Bottle1 + 53, 308 + + + ParametersWithPc.FC4_Valve.DV1PCP10_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP10_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP10_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP10_AlarmLeftPosition + 504, 185 + ThreeWayValve2147483581 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP09_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP09_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP09_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP09_AlarmLeftPosition + 504, 212 + ThreeWayValve2147483580 + 22, 12 + + + ParametersWithPc.FC4_Valve.PV1GDC01_Alarm + ParametersWithPc.FC4_Valve.PV1GDC01_Set + 185, 169 + LjSwith347 + 14, 12 + + + ParametersWithPc.FC5_Motor.DM1GDP01_Alarm + ParametersWithPc.FC5_Motor.DM1GDP01_Running + 217, 167 + LjSwith348 + 14, 12 + + + 1663, 43 + Dou27 + 30, 40 + + + ParametersWithPc.FC4_Valve.DV1PCP02_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP02_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP02_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP02_AlarmLeftPosition + 462, 156 + ThreeWayValve2147483579 + 22, 12 + + + ParametersWithPc.FC4_Valve.DV1PCP01_RightPosition + ParametersWithPc.FC4_Valve.DV1PCP01_LeftPosition + ParametersWithPc.FC4_Valve.DV1PCP01_AlarmRightPosition + ParametersWithPc.FC4_Valve.DV1PCP01_AlarmLeftPosition + 462, 185 + ThreeWayValve2147483578 + 22, 12 + + + 347, 299 + Xie17 + 32, 12 + + + ParametersWithPc.FC4_Valve.AS1DBT05_Alarm + ParametersWithPc.FC4_Valve.AS1DBT05_Set + 411, 244 + LjSwith353 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS1DBT04_Alarm + ParametersWithPc.FC4_Valve.AS1DBT04_Set + 301, 244 + LjSwith354 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS1DBT02_Alarm + ParametersWithPc.FC4_Valve.AS1DBT02_Set + 427, 197 + LjSwith355 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS1DBT01_Alarm + ParametersWithPc.FC4_Valve.AS1DBT01_Set + 291, 197 + LjSwith358 + 14, 12 + + + ParametersWithPc.FC4_Valve.AS1DBT03_Alarm + ParametersWithPc.FC4_Valve.AS1DBT03_Set + 271, 244 + LjSwith359 + 14, 12 + + + + + + + False + + + + None + True + True + MiddleCenter + White + 361, 92 + SpecialLabelBlue514 + 3, 12 + + + 341, 102 + Dou28 + 43, 49 + + + + + + + False + + + + None + True + True + MiddleCenter + Highlight + 2596, 35 + SpecialLabelBlue515 + 2, 150 + + + + + + + False + + + + None + True + True + MiddleCenter + Highlight + 2578, 85 + SpecialLabelBlue516 + 2, 118 + + + + + + + False + + + + None + True + True + MiddleCenter + 0, 199, 140 + 2651, 128 + SpecialLabelBlue517 + 2, 110 + + + + + Red + DarkGray + + + False + + + + None + True + True + 炭粉 + Yellow + 209, 33 + MCLabel270 + 29, 12 + + + 153, 24 + HslTruck19 + 130, 72 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 296 + SpecialLabelBlue520 + 38, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 400, 250 + SpecialLabelBlue521 + 31, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 431, 189 + SpecialLabelBlue522 + 1, 63 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 295, 250 + SpecialLabelBlue523 + 32, 1 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 294, 189 + SpecialLabelBlue524 + 1, 107 + + + 364, 185 + LouDou43 + 56, 83 + + + 304, 185 + LouDou44 + 56, 83 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 254, 227 + SpecialLabelBlue526 + 1, 48 + + + + + + + False + + + + None + True + True + MiddleCenter + Aqua + 275, 227 + SpecialLabelBlue527 + 1, 48 + + + 275, 53 + Trucks19 + 113, 37 + + + 33, 26 + QiGuanDanYuan8 + 99, 74 + + + + CWSS_PLC.DB100.PLC_ConnectState + sssStop + 11, 6 + StateButton8 + 68, 67 + + + + + Red + DarkGray + + + False + + + + None + True + True + 系统急停 + 黑体, 9.75pt + ControlLightLight + 13, 148 + MCLabel271 + 63, 13 + + + + + Red + DarkGray + + + False + + + + None + True + True + PLC连接状态 + 黑体, 9.75pt + ControlLightLight + 4, 73 + MCLabel272 + 84, 13 + + + CWSS_PLC.DB100.PLC_SystemStop + sssStop + 16, 92 + SystemStateShow8 + 55, 54 + + 27, 133 + Panel16 + 91, 174 + + 32, 72, 98 + Fill + 0, 0 + Panel15 + 1736, 917 + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAACAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDcxODhEMjExMkM4NTQ1NEI5OEIyQTFDMjk2RDBCQzU3BgYAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWBgcAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWCw== + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + False + False + False + Control + 1754, 964 + WindowsDefaultLocation + 榄菊输送界面 + Normal + + Tile + 宋体, 9pt + ControlText + LjDeliver + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml index 0b704e7..b90ccb7 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml @@ -724,5053 +724,12 @@ False 10, 7 MCDataGridView1 - 710, 194 + 710, 531 564 39, 336 MCPanelBlack4 - 732, 204 - - - - - - Red - DarkGray - DDSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 543, 267 - MCLabel778 - 11, 12 - - - - - Red - DarkGray - DDStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 267 - MCLabel780 - 11, 12 - - - - - Red - DarkGray - DDTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 394, 267 - MCLabel781 - 11, 12 - - - - - Red - DarkGray - DDStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 317, 267 - MCLabel782 - 11, 12 - - - - - Red - DarkGray - DDStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 261, 267 - MCLabel783 - 11, 12 - - - - - Red - DarkGray - DDBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 206, 267 - MCLabel784 - 11, 12 - - - - - Red - DarkGray - DDStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 267 - MCLabel785 - 11, 12 - - - - - Red - DarkGray - DDMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 267 - MCLabel786 - 11, 12 - - - - - Red - DarkGray - DCSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 543, 207 - MCLabel769 - 11, 12 - - - - - Red - DarkGray - DCStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 207 - MCLabel771 - 11, 12 - - - - - Red - DarkGray - DCTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 394, 207 - MCLabel772 - 11, 12 - - - - - Red - DarkGray - DCStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 317, 207 - MCLabel773 - 11, 12 - - - - - Red - DarkGray - DCStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 261, 207 - MCLabel774 - 11, 12 - - - - - Red - DarkGray - DCBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 206, 207 - MCLabel775 - 11, 12 - - - - - Red - DarkGray - DCStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 207 - MCLabel776 - 11, 12 - - - - - Red - DarkGray - DCMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 207 - MCLabel777 - 11, 12 - - - - - Red - DarkGray - DBSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 543, 147 - MCLabel760 - 11, 12 - - - - - Red - DarkGray - DBStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 147 - MCLabel762 - 11, 12 - - - - - Red - DarkGray - DBTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 394, 147 - MCLabel763 - 11, 12 - - - - - Red - DarkGray - DBStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 317, 147 - MCLabel764 - 11, 12 - - - - - Red - DarkGray - DBStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 261, 147 - MCLabel765 - 11, 12 - - - - - Red - DarkGray - DBBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 206, 147 - MCLabel766 - 11, 12 - - - - - Red - DarkGray - DBStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 147 - MCLabel767 - 11, 12 - - - - - Red - DarkGray - DBMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 147 - MCLabel768 - 11, 12 - - - - - Red - DarkGray - DASpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 543, 87 - MCLabel671 - 11, 12 - - - - - Red - DarkGray - DAStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 87 - MCLabel687 - 11, 12 - - - - - Red - DarkGray - DATotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 394, 87 - MCLabel690 - 11, 12 - - - - - Red - DarkGray - DAStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 317, 87 - MCLabel695 - 11, 12 - - - - - Red - DarkGray - DAStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 261, 87 - MCLabel696 - 11, 12 - - - - - Red - DarkGray - DABatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 206, 87 - MCLabel699 - 11, 12 - - - - - Red - DarkGray - DAStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 87 - MCLabel704 - 11, 12 - - - - - Red - DarkGray - DAMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 87 - MCLabel705 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 机台号 - Transparent - ButtonHighlight - 32, 55 - MCLabel706 - 41, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 状态 - Transparent - ButtonHighlight - 151, 55 - MCLabel707 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前模式 - Transparent - ButtonHighlight - 93, 55 - MCLabel708 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 4 - Transparent - ButtonHighlight - 56, 267 - MCLabel733 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 3 - Transparent - ButtonHighlight - 56, 207 - MCLabel734 - 11, 12 - - - 79, 48 - Line2 - 1, 271 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 速度 - Transparent - ButtonHighlight - 541, 55 - MCLabel750 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 分步时间 - Transparent - ButtonHighlight - 469, 55 - MCLabel752 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 总时间 - Transparent - ButtonHighlight - 394, 55 - MCLabel753 - 41, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 动作名称 - Transparent - ButtonHighlight - 318, 55 - MCLabel754 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前步序 - Transparent - ButtonHighlight - 259, 55 - MCLabel755 - 53, 12 - - - 17, 75 - Line1 - 577, 1 - - - - - Red - DarkGray - - - False - - - - None - True - True - 1 - Transparent - ButtonHighlight - 56, 87 - MCLabel756 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 2 - Transparent - ButtonHighlight - 56, 147 - MCLabel757 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前批次 - Transparent - ButtonHighlight - 200, 55 - MCLabel758 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 干混机 - Transparent - 黑体, 21.75pt, style=Bold - White - 252, 14 - MCLabel759 - 106, 29 - - 39, 565 - MCPanelBlack3 - 611, 334 - - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 机台号 - Transparent - ButtonHighlight - 32, 55 - MCLabel931 - 41, 12 - - - - - Red - DarkGray - GHSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 297 - MCLabel859 - 11, 12 - - - - - Red - DarkGray - GHStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 296 - MCLabel861 - 11, 12 - - - - - Red - DarkGray - GHTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 297 - MCLabel862 - 11, 12 - - - - - Red - DarkGray - GHStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 297 - MCLabel863 - 11, 12 - - - - - Red - DarkGray - GHStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 297 - MCLabel864 - 11, 12 - - - - - Red - DarkGray - GHBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 297 - MCLabel865 - 11, 12 - - - - - Red - DarkGray - GHStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 297 - MCLabel866 - 11, 12 - - - - - Red - DarkGray - GHMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 297 - MCLabel867 - 11, 12 - - - - - Red - DarkGray - GGSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 267 - MCLabel868 - 11, 12 - - - - - Red - DarkGray - GGStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 266 - MCLabel870 - 11, 12 - - - - - Red - DarkGray - GGTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 267 - MCLabel871 - 11, 12 - - - - - Red - DarkGray - GGStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 267 - MCLabel872 - 11, 12 - - - - - Red - DarkGray - GGStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 267 - MCLabel873 - 11, 12 - - - - - Red - DarkGray - GGBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 267 - MCLabel874 - 11, 12 - - - - - Red - DarkGray - GGStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 267 - MCLabel875 - 11, 12 - - - - - Red - DarkGray - GGMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 267 - MCLabel876 - 11, 12 - - - - - Red - DarkGray - GFSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 237 - MCLabel877 - 11, 12 - - - - - Red - DarkGray - GFStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 236 - MCLabel879 - 11, 12 - - - - - Red - DarkGray - GFTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 237 - MCLabel880 - 11, 12 - - - - - Red - DarkGray - GFStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 237 - MCLabel881 - 11, 12 - - - - - Red - DarkGray - GFStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 237 - MCLabel882 - 11, 12 - - - - - Red - DarkGray - GFBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 237 - MCLabel883 - 11, 12 - - - - - Red - DarkGray - GFStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 237 - MCLabel884 - 11, 12 - - - - - Red - DarkGray - GFMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 237 - MCLabel885 - 11, 12 - - - - - Red - DarkGray - GESpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 207 - MCLabel886 - 11, 12 - - - - - Red - DarkGray - GEStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 206 - MCLabel888 - 11, 12 - - - - - Red - DarkGray - GETotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 207 - MCLabel889 - 11, 12 - - - - - Red - DarkGray - GEStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 207 - MCLabel890 - 11, 12 - - - - - Red - DarkGray - GEStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 207 - MCLabel891 - 11, 12 - - - - - Red - DarkGray - GEBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 207 - MCLabel892 - 11, 12 - - - - - Red - DarkGray - GEStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 207 - MCLabel893 - 11, 12 - - - - - Red - DarkGray - GEMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 207 - MCLabel894 - 11, 12 - - - - - Red - DarkGray - GDSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 177 - MCLabel895 - 11, 12 - - - - - Red - DarkGray - GDStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 176 - MCLabel897 - 11, 12 - - - - - Red - DarkGray - GDTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 177 - MCLabel898 - 11, 12 - - - - - Red - DarkGray - GDStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 177 - MCLabel899 - 11, 12 - - - - - Red - DarkGray - GDStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 177 - MCLabel900 - 11, 12 - - - - - Red - DarkGray - GDBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 177 - MCLabel901 - 11, 12 - - - - - Red - DarkGray - GDStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 177 - MCLabel902 - 11, 12 - - - - - Red - DarkGray - GDMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 177 - MCLabel903 - 11, 12 - - - - - Red - DarkGray - GCSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 147 - MCLabel904 - 11, 12 - - - - - Red - DarkGray - GCStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 146 - MCLabel906 - 11, 12 - - - - - Red - DarkGray - GCTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 147 - MCLabel907 - 11, 12 - - - - - Red - DarkGray - GCStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 147 - MCLabel908 - 11, 12 - - - - - Red - DarkGray - GCStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 147 - MCLabel909 - 11, 12 - - - - - Red - DarkGray - GCBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 147 - MCLabel910 - 11, 12 - - - - - Red - DarkGray - GCStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 147 - MCLabel911 - 11, 12 - - - - - Red - DarkGray - GCMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 147 - MCLabel912 - 11, 12 - - - - - Red - DarkGray - GBSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 117 - MCLabel913 - 11, 12 - - - - - Red - DarkGray - GBStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 116 - MCLabel915 - 11, 12 - - - - - Red - DarkGray - GBTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 117 - MCLabel916 - 11, 12 - - - - - Red - DarkGray - GBStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 117 - MCLabel917 - 11, 12 - - - - - Red - DarkGray - GBStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 117 - MCLabel918 - 11, 12 - - - - - Red - DarkGray - GBBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 117 - MCLabel919 - 11, 12 - - - - - Red - DarkGray - GBStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 117 - MCLabel920 - 11, 12 - - - - - Red - DarkGray - GBMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 117 - MCLabel921 - 11, 12 - - - - - Red - DarkGray - GASpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 546, 87 - MCLabel922 - 11, 12 - - - - - Red - DarkGray - GAStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 469, 86 - MCLabel924 - 11, 12 - - - - - Red - DarkGray - GATotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 398, 87 - MCLabel925 - 11, 12 - - - - - Red - DarkGray - GAStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 320, 87 - MCLabel926 - 11, 12 - - - - - Red - DarkGray - GAStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 264, 87 - MCLabel927 - 11, 12 - - - - - Red - DarkGray - GABatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 209, 87 - MCLabel928 - 11, 12 - - - - - Red - DarkGray - GAStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 154, 87 - MCLabel929 - 11, 12 - - - - - Red - DarkGray - GAMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 103, 87 - MCLabel930 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 状态 - Transparent - ButtonHighlight - 151, 55 - MCLabel616 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前模式 - Transparent - ButtonHighlight - 93, 55 - MCLabel617 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 8 - Transparent - ButtonHighlight - 56, 297 - MCLabel618 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 7 - Transparent - ButtonHighlight - 56, 267 - MCLabel619 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 5 - Transparent - ButtonHighlight - 56, 207 - MCLabel620 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 6 - Transparent - ButtonHighlight - 56, 237 - MCLabel621 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 4 - Transparent - ButtonHighlight - 56, 177 - MCLabel642 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 3 - Transparent - ButtonHighlight - 56, 147 - MCLabel643 - 11, 12 - - - 79, 48 - Line4 - 1, 273 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 速度 - Transparent - ButtonHighlight - 541, 55 - MCLabel659 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 分步时间 - Transparent - ButtonHighlight - 466, 54 - MCLabel661 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 总时间 - Transparent - ButtonHighlight - 395, 55 - MCLabel662 - 41, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 动作名称 - Transparent - ButtonHighlight - 318, 55 - MCLabel663 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前步序 - Transparent - ButtonHighlight - 259, 55 - MCLabel664 - 53, 12 - - - 17, 75 - Line3 - 577, 1 - - - - - Red - DarkGray - - - False - - - - None - True - True - 1 - Transparent - ButtonHighlight - 56, 87 - MCLabel665 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 2 - Transparent - ButtonHighlight - 56, 117 - MCLabel666 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前批次 - Transparent - ButtonHighlight - 200, 55 - MCLabel667 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 糊化机 - Transparent - 黑体, 21.75pt, style=Bold - White - 252, 14 - MCLabel668 - 106, 29 - - 656, 566 - MCPanelBlack2 - 611, 334 - - - - - - Red - DarkGray - - - False - - - - None - True - True - 8 - Transparent - ButtonHighlight - 54, 297 - MCLabel141 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 7 - Transparent - ButtonHighlight - 54, 267 - MCLabel140 - 11, 12 - - - - - Red - DarkGray - WHPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 297 - MCLabel935 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 5 - Transparent - ButtonHighlight - 54, 207 - MCLabel139 - 11, 12 - - - - - Red - DarkGray - WHCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 297 - MCLabel936 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 6 - Transparent - ButtonHighlight - 54, 237 - MCLabel138 - 11, 12 - - - - - Red - DarkGray - WGPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 267 - MCLabel937 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 4 - Transparent - ButtonHighlight - 54, 177 - MCLabel137 - 11, 12 - - - - - Red - DarkGray - WGCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 267 - MCLabel938 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 3 - Transparent - ButtonHighlight - 54, 147 - MCLabel136 - 11, 12 - - - - - Red - DarkGray - WFPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 237 - MCLabel939 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 1 - Transparent - ButtonHighlight - 54, 87 - MCLabel135 - 11, 12 - - - - - Red - DarkGray - WFCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 237 - MCLabel940 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 2 - Transparent - ButtonHighlight - 54, 117 - MCLabel134 - 11, 12 - - - - - Red - DarkGray - WEPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 207 - MCLabel941 - 11, 12 - - - - - Red - DarkGray - WECurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 207 - MCLabel942 - 11, 12 - - - - - Red - DarkGray - WDPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 177 - MCLabel943 - 11, 12 - - - - - Red - DarkGray - WDCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 177 - MCLabel944 - 11, 12 - - - - - Red - DarkGray - WCPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 147 - MCLabel945 - 11, 12 - - - - - Red - DarkGray - WCCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 147 - MCLabel946 - 11, 12 - - - - - Red - DarkGray - WBPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 117 - MCLabel947 - 11, 12 - - - - - Red - DarkGray - WBCurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 117 - MCLabel948 - 11, 12 - - - - - Red - DarkGray - WAPressure - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 552, 87 - MCLabel949 - 11, 12 - - - - - Red - DarkGray - WACurrent - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 508, 87 - MCLabel950 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 公差 - Transparent - ButtonHighlight - 545, 55 - MCLabel933 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 重量 - Transparent - ButtonHighlight - 505, 55 - MCLabel934 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 机台号 - Transparent - ButtonHighlight - 32, 55 - MCLabel932 - 41, 12 - - - - - Red - DarkGray - WHSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 297 - MCLabel823 - 11, 12 - - - - - Red - DarkGray - WHStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 297 - MCLabel825 - 11, 12 - - - - - Red - DarkGray - WHTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 297 - MCLabel826 - 11, 12 - - - - - Red - DarkGray - WHStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 297 - MCLabel827 - 11, 12 - - - - - Red - DarkGray - WHStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 297 - MCLabel828 - 11, 12 - - - - - Red - DarkGray - WHBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 297 - MCLabel829 - 11, 12 - - - - - Red - DarkGray - WHStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 297 - MCLabel830 - 11, 12 - - - - - Red - DarkGray - WHMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 297 - MCLabel831 - 11, 12 - - - - - Red - DarkGray - WGSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 267 - MCLabel832 - 11, 12 - - - - - Red - DarkGray - WGStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 267 - MCLabel834 - 11, 12 - - - - - Red - DarkGray - WGTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 267 - MCLabel835 - 11, 12 - - - - - Red - DarkGray - WGStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 267 - MCLabel836 - 11, 12 - - - - - Red - DarkGray - WGStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 267 - MCLabel837 - 11, 12 - - - - - Red - DarkGray - WGBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 267 - MCLabel838 - 11, 12 - - - - - Red - DarkGray - WGStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 267 - MCLabel839 - 11, 12 - - - - - Red - DarkGray - WGMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 267 - MCLabel840 - 11, 12 - - - - - Red - DarkGray - WFSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 237 - MCLabel841 - 11, 12 - - - - - Red - DarkGray - WFStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 237 - MCLabel843 - 11, 12 - - - - - Red - DarkGray - WFTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 237 - MCLabel844 - 11, 12 - - - - - Red - DarkGray - WFStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 237 - MCLabel845 - 11, 12 - - - - - Red - DarkGray - WFStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 237 - MCLabel846 - 11, 12 - - - - - Red - DarkGray - WFBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 237 - MCLabel847 - 11, 12 - - - - - Red - DarkGray - WFStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 237 - MCLabel848 - 11, 12 - - - - - Red - DarkGray - WFMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 237 - MCLabel849 - 11, 12 - - - - - Red - DarkGray - WESpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 207 - MCLabel850 - 11, 12 - - - - - Red - DarkGray - WEStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 207 - MCLabel852 - 11, 12 - - - - - Red - DarkGray - WETotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 207 - MCLabel853 - 11, 12 - - - - - Red - DarkGray - WEStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 207 - MCLabel854 - 11, 12 - - - - - Red - DarkGray - WEStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 207 - MCLabel855 - 11, 12 - - - - - Red - DarkGray - WEBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 207 - MCLabel856 - 11, 12 - - - - - Red - DarkGray - WEStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 207 - MCLabel857 - 11, 12 - - - - - Red - DarkGray - WEMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 207 - MCLabel858 - 11, 12 - - - - - Red - DarkGray - WDSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 177 - MCLabel787 - 11, 12 - - - - - Red - DarkGray - WDStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 177 - MCLabel789 - 11, 12 - - - - - Red - DarkGray - WDTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 177 - MCLabel790 - 11, 12 - - - - - Red - DarkGray - WDStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 177 - MCLabel791 - 11, 12 - - - - - Red - DarkGray - WDStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 177 - MCLabel792 - 11, 12 - - - - - Red - DarkGray - WDBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 177 - MCLabel793 - 11, 12 - - - - - Red - DarkGray - WDStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 177 - MCLabel794 - 11, 12 - - - - - Red - DarkGray - WDMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 177 - MCLabel795 - 11, 12 - - - - - Red - DarkGray - WCSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 147 - MCLabel796 - 11, 12 - - - - - Red - DarkGray - WCStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 147 - MCLabel798 - 11, 12 - - - - - Red - DarkGray - WCTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 147 - MCLabel799 - 11, 12 - - - - - Red - DarkGray - WCStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 147 - MCLabel800 - 11, 12 - - - - - Red - DarkGray - WCStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 147 - MCLabel801 - 11, 12 - - - - - Red - DarkGray - WCBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 147 - MCLabel802 - 11, 12 - - - - - Red - DarkGray - WCStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 147 - MCLabel803 - 11, 12 - - - - - Red - DarkGray - WCMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 147 - MCLabel804 - 11, 12 - - - - - Red - DarkGray - WBSpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 117 - MCLabel805 - 11, 12 - - - - - Red - DarkGray - WBStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 117 - MCLabel807 - 11, 12 - - - - - Red - DarkGray - WBTotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 117 - MCLabel808 - 11, 12 - - - - - Red - DarkGray - WBStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 117 - MCLabel809 - 11, 12 - - - - - Red - DarkGray - WBStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 117 - MCLabel810 - 11, 12 - - - - - Red - DarkGray - WBBatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 117 - MCLabel811 - 11, 12 - - - - - Red - DarkGray - WBStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 117 - MCLabel812 - 11, 12 - - - - - Red - DarkGray - WBMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 117 - MCLabel813 - 11, 12 - - - - - Red - DarkGray - WASpeed - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 461, 87 - MCLabel814 - 11, 12 - - - - - Red - DarkGray - WAStepTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 403, 87 - MCLabel816 - 11, 12 - - - - - Red - DarkGray - WATotalTime - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 355, 87 - MCLabel817 - 11, 12 - - - - - Red - DarkGray - WAStepCode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 297, 87 - MCLabel818 - 11, 12 - - - - - Red - DarkGray - WAStep - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 241, 87 - MCLabel819 - 11, 12 - - - - - Red - DarkGray - WABatch - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 186, 87 - MCLabel820 - 11, 12 - - - - - Red - DarkGray - WAStatus - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 151, 87 - MCLabel821 - 11, 12 - - - - - Red - DarkGray - WAMode - - False - - - - InitData - True - True - MiddleRight - 0 - Transparent - ButtonHighlight - 100, 87 - MCLabel822 - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 状态 - Transparent - ButtonHighlight - 151, 55 - MCLabel231 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前模式 - Transparent - ButtonHighlight - 93, 55 - MCLabel232 - 53, 12 - - - 79, 48 - Line5 - 1, 273 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 速度 - Transparent - ButtonHighlight - 459, 55 - MCLabel220 - 29, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 分步时间 - Transparent - ButtonHighlight - 400, 55 - MCLabel222 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 总时间 - Transparent - ButtonHighlight - 358, 55 - MCLabel223 - 41, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 动作名称 - Transparent - ButtonHighlight - 301, 55 - MCLabel224 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前步序 - Transparent - ButtonHighlight - 242, 55 - MCLabel225 - 53, 12 - - - 17, 75 - Line6 - 577, 1 - - - - - Red - DarkGray - - - False - - - - None - True - True - MiddleRight - 当前批次 - Transparent - ButtonHighlight - 183, 55 - MCLabel228 - 53, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 湿混机 - Transparent - 黑体, 21.75pt, style=Bold - White - 252, 14 - MCLabel229 - 106, 29 - - 1273, 566 - MCPanelBlack1 - 611, 334 + 732, 547 @@ -6429,7 +1388,6 @@ 11, 12 - ylNormal 1216, 423 DM2BSF01R @@ -6443,7 +1401,6 @@ 31, 15 - ylNormal 1456, 423 DM2CSF01R @@ -6457,7 +1414,6 @@ 31, 15 - ylNormal 1770, 423 DM2DSF01R @@ -6471,7 +1427,6 @@ 31, 15 - ylNormal 909, 423 DM2ASF01R @@ -6950,49 +1905,42 @@ 20, 1 - ylNormal 644, 22 DM1OSF01 41, 14 - ylNormal 474, 12 DM1LSF01 41, 14 - ylNormal 337, 12 DM1HSF01 41, 14 - ylNormal 325, 29 DM1GSF01 41, 14 - ylNormal 198, 29 DM1ESF01 41, 14 - ylNormal 73, 28 DM1ASF01 41, 14 - ylNormal 87, 12 DM1BSF01 @@ -7878,7 +2826,6 @@ 41, 14 - ParametersWithPc.DB2103-motorInitDB.DM1KSF01_Run ylNormal 461, 27 DM1KSF01 diff --git a/Main/MCEdit/MCEdit.csproj b/Main/MCEdit/MCEdit.csproj index 36322ae..c25a725 100644 --- a/Main/MCEdit/MCEdit.csproj +++ b/Main/MCEdit/MCEdit.csproj @@ -358,6 +358,9 @@ Designer PreserveNewest + + Always + Designer PreserveNewest