change - 准备输送界面 代码简化

wangsr
wangsr 1 year ago
parent 2defa0a367
commit 60898a6830

@ -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<MCTextBox>(TextE, McControls);
ControlsHelper.ControlImport<System.Windows.Forms.Button>(ButtonE, McControls);
ControlsHelper.ControlImport<MCCombobox>(ComboE, McControls);
ControlsHelper.ControlImport<MCLabel>(LabelE, McControls);
ControlsHelper.ControlImport<MCRadioButton>(RadioE, McControls);
try
{

@ -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
{
/// <summary>
/// 控件导入
/// </summary>
public static void ControlImport(MCTextBoxEntity textE, ButtonEntity buttonE,
MCComboBoxEntity comboE, MCLabelEntity labelE, MCRadioButtonEntity radioE,
List<Control> McControls)
{
FillBase<MCTextBox>(textE, McControls);
FillBase<System.Windows.Forms.Button>(buttonE, McControls);
FillBase<MCCombobox>(comboE, McControls);
FillBase<MCLabel>(labelE, McControls);
FillBase<MCRadioButton>(radioE, McControls);
}
private static void FillBase<T>(object E, List<Control> 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);
}
}
/// <summary>
/// 单选选择

@ -39,7 +39,11 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
base.RunIni(runtime); //必须要调用
McControls = GetAllControls();
ControlsHelper.ControlImport(TextE, ButtonE, ComboE, LabelE, RadioE, McControls);
ControlsHelper.ControlImport<MCTextBox>(TextE, McControls);
ControlsHelper.ControlImport<System.Windows.Forms.Button>(ButtonE, McControls);
ControlsHelper.ControlImport<MCCombobox>(ComboE, McControls);
ControlsHelper.ControlImport<MCLabel>(LabelE, McControls);
ControlsHelper.ControlImport<MCRadioButton>(RadioE, McControls);
ControlInit();

@ -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
{
}
}

@ -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<Control> Controls;
HslBottleEntity bottleE = new HslBottleEntity();
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
Controls = GetAllControls();
ControlsHelper.ControlImport<HslBottle>(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();
}
}
}

@ -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; }
}
}

@ -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
{
}
}

@ -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; }
}
}

@ -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; }

@ -284,6 +284,9 @@
<DependentUpon>FormClientManager.cs</DependentUpon>
</Compile>
<Compile Include="LjClick\InitFormAction.cs" />
<Compile Include="LjDeliver\ControlsHelper.cs" />
<Compile Include="LjDeliver\DeliverInitAction.cs" />
<Compile Include="LjDeliver\Entity\DeliverEntity.cs" />
<Compile Include="LjDevice\DeviceHelp.cs" />
<Compile Include="LjDevice\DeviceModel.cs" />
<Compile Include="LjDevice\FrmDevice.cs">
@ -521,7 +524,8 @@
<DependentUpon>Loading.cs</DependentUpon>
</Compile>
<Compile Include="LoadingHelper.cs" />
<Compile Include="MainDetailControl\Entity\HslLanternAlarmEntity.cs" />
<Compile Include="MainDetailControl\ControlsHelper.cs" />
<Compile Include="MainDetailControl\Entity\HslControlsEntity.cs" />
<Compile Include="MainDetailControl\Entity\PlcReadTempEntity.cs" />
<Compile Include="MainDetailControl\MainDetailControlAction.cs" />
<Compile Include="ManualControl\AddWaterLogEntity.cs" />
@ -587,7 +591,6 @@
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Report\DeviceDetail2Report\DeviceDetail2ReportAction.cs" />
<Compile Include="MainDetailControl\Entity\DeviceDetailEntity.cs" />
<Compile Include="Report\DryMixer\ExportAction.cs" />
<Compile Include="Report\DryMixer\InitFormAction.cs" />
@ -722,6 +725,7 @@
<Compile Include="Test\TestTrigerAlarmAction.cs" />
<Compile Include="Test\TestAction.cs" />
<Compile Include="UserManage\UserHelper.cs" />
<Compile Include="Util\ControlsImprot.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Alarm\PmtAlarm\FrmInsert.resx">

@ -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<DbMCControl> 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);//添加事件
}
/// <summary>
/// 从Plc读取数据在lable上显示
/// </summary>
/// <param name="source"></param>
/// <param name="e"></param>
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

@ -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
{
/// <summary>
/// 控件导入
/// </summary>
/// <typeparam name="T">控件类型</typeparam>
/// <param name="obj">控件实体类</param>
/// <param name="McControls">前端控件集合</param>
public static void ControlImport<T>(object obj, List<Control> 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);
}
}
}
}

@ -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();

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<ActionService>
<Design>
<Path path="输送界面">
<Action action="7188D2112C85454B98B2A1C296D0BC57">
<Caption>输送界面初始化</Caption>
<Remark>输送界面初始化</Remark>
</Action>
</Path>
</Design>
<DesignToRuntime>
<!--窗体初始化-->
<Design action="7188D2112C85454B98B2A1C296D0BC57">
<Runtime action="82EC670C6F04424F8C1483816CD64159"/>
</Design>
</DesignToRuntime>
<Runtime>
<Import assembly = "Data/Action/ChemicalWeighing/Mesnac.Action.ChemicalWeighing.dll">
<Action action="82EC670C6F04424F8C1483816CD64159" class="Mesnac.Action.ChemicalWeighing.LjDeliver.DeliverInitAction"/>
</Import>
</Runtime>
</ActionService>

@ -18,7 +18,6 @@
<Node Name="FormDeliver" Text="榄菊输送节点" ToolTipText="FormDeliver" Tag="FormDeliver" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormDevice" Text="设备管理" ToolTipText="FormDevice" Tag="FormDevice" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormStockMaterial" Text="大仓物料" ToolTipText="FormStockMaterial" Tag="FormStockMaterial" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormDeviceDetail2" Text="设备细节2" ToolTipText="FormDeviceDetail2" Tag="FormDeviceDetail2" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormPlan" Text="榄菊计划管理" ToolTipText="FormPlan" Tag="FormPlan" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="Report_DryMixer" Text="干混机报表" ToolTipText="Report_DryMixer" Tag="Report_DryMixer" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="湿混机报表" Text="湿混机报表" ToolTipText="湿混机报表" Tag="湿混机报表" ImageIndex="3" SelectedImageIndex="3" />
@ -30,10 +29,8 @@
<Node Name="MainDetail" Text="设备细节画面" ToolTipText="MainDetail" Tag="MainDetail" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormDayWhiteEmbryo" Text="糊化机黑粉日统计" ToolTipText="FormDayWhiteEmbryo" Tag="FormDayWhiteEmbryo" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="GelBlackPowderCount" Text="湿混机黑粉下料统计" ToolTipText="GelBlackPowderCount" Tag="GelBlackPowderCount" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="AutoControl" Text="自动控制" ToolTipText="AutoControl" Tag="AutoControl" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="AutoControlA" Text="干混机水称自动参数控制" ToolTipText="AutoControlA" Tag="AutoControlA" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="AutoControlB" Text="湿混机糊化机自动参数控制总参数" ToolTipText="AutoControlB" Tag="AutoControlB" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="AutoControlC" Text="湿混糊化自动参数控制" ToolTipText="AutoControlC" Tag="AutoControlC" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="AutoControlC" Text="自动参数控制" ToolTipText="AutoControlC" Tag="AutoControlC" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="LjDeliver" Text="榄菊输送界面" ToolTipText="LjDeliver" Tag="LjDeliver" ImageIndex="3" SelectedImageIndex="3" />
</Node>
<Node Name="nodeDevice" Text="设备" ToolTipText="" Tag="nodeDevice" ImageIndex="2" SelectedImageIndex="2" />
<Node Name="nodeDataSource" Text="数据源" ToolTipText="" Tag="nodeDataSource" ImageIndex="6" SelectedImageIndex="6">

@ -4070,7 +4070,7 @@
<Property name="BackColor">Control</Property>
<Property name="Size">1615, 683</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">湿混糊化自动参数控制</Property>
<Property name="Text">自动参数控制</Property>
<Property name="WindowState">Normal</Property>
<Property name="BackgroundImage" />
<Property name="BackgroundImageLayout">Tile</Property>

@ -10,8 +10,7 @@
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel15" children="Controls">
<Object type="Mesnac.Controls.Feeding.Fan, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Fan17" children="Controls">
<Property name="AlarmValue" />
<Property name="StatusName">
</Property>
<Property name="StatusName" />
<Property name="Status">zsTurnOff</Property>
<Property name="Location">1636, 129</Property>
<Property name="Name">Fan17</Property>
@ -55,8 +54,7 @@
</Object>
<Object type="Mesnac.Controls.Feeding.Fan, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Fan18" children="Controls">
<Property name="AlarmValue" />
<Property name="StatusName">
</Property>
<Property name="StatusName" />
<Property name="Status">zsTurnOff</Property>
<Property name="Location">1612, 127</Property>
<Property name="Name">Fan18</Property>
@ -231,7 +229,6 @@
<Property name="Size">3, 83</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG16" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1534, 466</Property>
<Property name="Name">RSCREWBIG16</Property>
@ -296,7 +293,7 @@
<Property name="Name">LjSwith402</Property>
<Property name="Size">14, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle63" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle15" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -306,7 +303,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1521, 234</Property>
<Property name="Name">HslBottle63</Property>
<Property name="Name">Bottle15</Property>
<Property name="Size">46, 237</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue689" children="Controls">
@ -805,28 +802,24 @@
<Property name="Size">3, 136</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG12" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1446, 472</Property>
<Property name="Name">RSCREWBIG12</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG13" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1386, 470</Property>
<Property name="Name">RSCREWBIG13</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG14" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1328, 470</Property>
<Property name="Name">RSCREWBIG14</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG15" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1269, 470</Property>
<Property name="Name">RSCREWBIG15</Property>
@ -927,7 +920,7 @@
<Property name="Name">LjSwith398</Property>
<Property name="Size">14, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle59" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle14" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -937,7 +930,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1430, 165</Property>
<Property name="Name">HslBottle59</Property>
<Property name="Name">Bottle14</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith399" children="Controls">
@ -987,7 +980,7 @@
<Property name="Name">MCLabel278</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle60" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle13" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -997,7 +990,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1371, 165</Property>
<Property name="Name">HslBottle60</Property>
<Property name="Name">Bottle13</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith400" children="Controls">
@ -1047,7 +1040,7 @@
<Property name="Name">MCLabel280</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle61" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle12" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -1057,7 +1050,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1312, 165</Property>
<Property name="Name">HslBottle61</Property>
<Property name="Name">Bottle12</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith401" children="Controls">
@ -1107,7 +1100,7 @@
<Property name="Name">MCLabel282</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle62" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle11" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -1117,7 +1110,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1253, 165</Property>
<Property name="Name">HslBottle62</Property>
<Property name="Name">Bottle11</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.ThreeWayValve, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="ThreeWayValve2147483569" children="Controls">
@ -1906,8 +1899,7 @@
</Object>
<Object type="Mesnac.Controls.Feeding.Fan, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Fan19" children="Controls">
<Property name="AlarmValue" />
<Property name="StatusName">
</Property>
<Property name="StatusName" />
<Property name="Status">zsTurnOff</Property>
<Property name="Location">1684, 35</Property>
<Property name="Name">Fan19</Property>
@ -3505,70 +3497,60 @@
<Property name="Size">3, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG11" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">667, 469</Property>
<Property name="Name">RSCREWBIG11</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG9" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1210, 473</Property>
<Property name="Name">RSCREWBIG9</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG8" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1150, 471</Property>
<Property name="Name">RSCREWBIG8</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG7" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1092, 471</Property>
<Property name="Name">RSCREWBIG7</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG6" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1033, 471</Property>
<Property name="Name">RSCREWBIG6</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG5" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">941, 471</Property>
<Property name="Name">RSCREWBIG5</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG4" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">882, 470</Property>
<Property name="Name">RSCREWBIG4</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG3" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">783, 470</Property>
<Property name="Name">RSCREWBIG3</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG2" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">726, 469</Property>
<Property name="Name">RSCREWBIG2</Property>
<Property name="Size">43, 10</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RSCREWBIG, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RSCREWBIG1" children="Controls">
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">608, 470</Property>
<Property name="Name">RSCREWBIG1</Property>
@ -3813,7 +3795,7 @@
<Property name="Name">LjSwith313</Property>
<Property name="Size">14, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle49" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle10" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -3823,7 +3805,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1194, 166</Property>
<Property name="Name">HslBottle49</Property>
<Property name="Name">Bottle10</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith314" children="Controls">
@ -3873,7 +3855,7 @@
<Property name="Name">MCLabel240</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle50" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle9" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -3883,7 +3865,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1135, 166</Property>
<Property name="Name">HslBottle50</Property>
<Property name="Name">Bottle9</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith315" children="Controls">
@ -3933,7 +3915,7 @@
<Property name="Name">MCLabel242</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle51" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle8" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -3943,7 +3925,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1076, 166</Property>
<Property name="Name">HslBottle51</Property>
<Property name="Name">Bottle8</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith316" children="Controls">
@ -3993,7 +3975,7 @@
<Property name="Name">MCLabel244</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle52" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle7" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4003,7 +3985,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1017, 166</Property>
<Property name="Name">HslBottle52</Property>
<Property name="Name">Bottle7</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith317" children="Controls">
@ -4033,7 +4015,7 @@
<Property name="Name">MCLabel245</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle53" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle6" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4043,7 +4025,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">925, 164</Property>
<Property name="Name">HslBottle53</Property>
<Property name="Name">Bottle6</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith318" children="Controls">
@ -4093,7 +4075,7 @@
<Property name="Name">MCLabel247</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle54" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle5" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4103,7 +4085,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">866, 164</Property>
<Property name="Name">HslBottle54</Property>
<Property name="Name">Bottle5</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith319" children="Controls">
@ -4153,7 +4135,7 @@
<Property name="Name">MCLabel249</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle55" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle4" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4163,7 +4145,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">771, 164</Property>
<Property name="Name">HslBottle55</Property>
<Property name="Name">Bottle4</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith320" children="Controls">
@ -4213,7 +4195,7 @@
<Property name="Name">MCLabel251</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle56" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle3" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4223,7 +4205,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">712, 164</Property>
<Property name="Name">HslBottle56</Property>
<Property name="Name">Bottle3</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith321" children="Controls">
@ -4253,7 +4235,7 @@
<Property name="Name">MCLabel252</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle57" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle2" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4263,7 +4245,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">653, 164</Property>
<Property name="Name">HslBottle57</Property>
<Property name="Name">Bottle2</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith322" children="Controls">
@ -4293,7 +4275,7 @@
<Property name="Name">MCLabel253</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle58" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Bottle1" children="Controls">
<Property name="Value">100</Property>
<Property name="HeadTag">小料</Property>
<Property name="ForeColorEdge">194, 190, 77</Property>
@ -4303,7 +4285,7 @@
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">594, 164</Property>
<Property name="Name">HslBottle58</Property>
<Property name="Name">Bottle1</Property>
<Property name="Size">53, 308</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.ThreeWayValve, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="ThreeWayValve2147483581" children="Controls">
@ -9182,7 +9164,7 @@
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">1310, 120</Property>
<Property name="Name">HslBottle26</Property>
<Property name="Size">53, 482</Property>
<Property name="Size">40, 615</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjSwith185" children="Controls">
<Property name="AlarmName">ParametersWithPc.FC4_Valve.AS1ESI01_Alarm</Property>
@ -13630,7 +13612,7 @@
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">895, 117</Property>
<Property name="Name">HslBottle1</Property>
<Property name="Size">53, 482</Property>
<Property name="Size">89, 601</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue304" children="Controls">
<Property name="Format" />
@ -18677,7 +18659,7 @@
<Property name="Size">1754, 920</Property>
</Object>
<Property name="LoadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAGAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDcxODhEMjExMkM4NTQ1NEI5OEIyQTFDMjk2RDBCQzU3BgYAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWBgcAAAAV6L6T6YCB55WM6Z2i5Yid5aeL5YyWCw==</Binary>
</Property>
<Property name="ActivatedActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -358,6 +358,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\小料称量\输送界面.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\小料称量\配方管理.xml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

Loading…
Cancel
Save