|
|
@ -0,0 +1,453 @@
|
|
|
|
|
|
|
|
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.Action.ChemicalWeighing.Report.DeviceDetail2Report.Entity;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Report.DeviceDetail2Report
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public class DeviceDetail2ReportAction : DatabaseAction, IAction
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<DbMCControl> McControllist;
|
|
|
|
|
|
|
|
BaseControlEntity BaseControl = new BaseControlEntity();
|
|
|
|
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
base.RunIni(runtime); //必须调用
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
McControllist = GetAllDbMCControlsByOption(DbOptionTypes.InitData);//获取所有待初始化控件
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.DAMode = StringToLable("DAMode");
|
|
|
|
|
|
|
|
BaseControl.DAStatus = StringToLable("DAStatus");
|
|
|
|
|
|
|
|
BaseControl.DABatch = StringToLable("DABatch");
|
|
|
|
|
|
|
|
BaseControl.DAStep = StringToLable("DAStep");
|
|
|
|
|
|
|
|
BaseControl.DAStepCode = StringToLable("DAStepCode");
|
|
|
|
|
|
|
|
BaseControl.DATotalTime = StringToLable("DATotalTime");
|
|
|
|
|
|
|
|
BaseControl.DAStepTime = StringToLable("DAStepTime");
|
|
|
|
|
|
|
|
BaseControl.DATemperature = StringToLable("DATemperature");
|
|
|
|
|
|
|
|
BaseControl.DASpeed = StringToLable("DASpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.DBMode = StringToLable("DBMode");
|
|
|
|
|
|
|
|
BaseControl.DBStatus = StringToLable("DBStatus");
|
|
|
|
|
|
|
|
BaseControl.DBBatch = StringToLable("DBBatch");
|
|
|
|
|
|
|
|
BaseControl.DBStep = StringToLable("DBStep");
|
|
|
|
|
|
|
|
BaseControl.DBStepCode = StringToLable("DBStepCode");
|
|
|
|
|
|
|
|
BaseControl.DBTotalTime = StringToLable("DBTotalTime");
|
|
|
|
|
|
|
|
BaseControl.DBStepTime = StringToLable("DBStepTime");
|
|
|
|
|
|
|
|
BaseControl.DBTemperature = StringToLable("DBTemperature");
|
|
|
|
|
|
|
|
BaseControl.DBSpeed = StringToLable("DBSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.DCMode = StringToLable("DCMode");
|
|
|
|
|
|
|
|
BaseControl.DCStatus = StringToLable("DCStatus");
|
|
|
|
|
|
|
|
BaseControl.DCBatch = StringToLable("DCBatch");
|
|
|
|
|
|
|
|
BaseControl.DCStep = StringToLable("DCStep");
|
|
|
|
|
|
|
|
BaseControl.DCStepCode = StringToLable("DCStepCode");
|
|
|
|
|
|
|
|
BaseControl.DCTotalTime = StringToLable("DCTotalTime");
|
|
|
|
|
|
|
|
BaseControl.DCStepTime = StringToLable("DCStepTime");
|
|
|
|
|
|
|
|
BaseControl.DCTemperature = StringToLable("DCTemperature");
|
|
|
|
|
|
|
|
BaseControl.DCSpeed = StringToLable("DCSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.DDMode = StringToLable("DDMode");
|
|
|
|
|
|
|
|
BaseControl.DDStatus = StringToLable("DDStatus");
|
|
|
|
|
|
|
|
BaseControl.DDBatch = StringToLable("DDBatch");
|
|
|
|
|
|
|
|
BaseControl.DDStep = StringToLable("DDStep");
|
|
|
|
|
|
|
|
BaseControl.DDStepCode = StringToLable("DDStepCode");
|
|
|
|
|
|
|
|
BaseControl.DDTotalTime = StringToLable("DDTotalTime");
|
|
|
|
|
|
|
|
BaseControl.DDStepTime = StringToLable("DDStepTime");
|
|
|
|
|
|
|
|
BaseControl.DDTemperature = StringToLable("DDTemperature");
|
|
|
|
|
|
|
|
BaseControl.DDSpeed = StringToLable("DDSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WAMode = StringToLable("WAMode");
|
|
|
|
|
|
|
|
BaseControl.WAStatus = StringToLable("WAStatus");
|
|
|
|
|
|
|
|
BaseControl.WABatch = StringToLable("WABatch");
|
|
|
|
|
|
|
|
BaseControl.WAStep = StringToLable("WAStep");
|
|
|
|
|
|
|
|
BaseControl.WAStepCode = StringToLable("WAStepCode");
|
|
|
|
|
|
|
|
BaseControl.WATotalTime = StringToLable("WATotalTime");
|
|
|
|
|
|
|
|
BaseControl.WAStepTime = StringToLable("WAStepTime");
|
|
|
|
|
|
|
|
BaseControl.WATemperature = StringToLable("WATemperature");
|
|
|
|
|
|
|
|
BaseControl.WASpeed = StringToLable("WASpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WBMode = StringToLable("WBMode");
|
|
|
|
|
|
|
|
BaseControl.WBStatus = StringToLable("WBStatus");
|
|
|
|
|
|
|
|
BaseControl.WBBatch = StringToLable("WBBatch");
|
|
|
|
|
|
|
|
BaseControl.WBStep = StringToLable("WBStep");
|
|
|
|
|
|
|
|
BaseControl.WBStepCode = StringToLable("WBStepCode");
|
|
|
|
|
|
|
|
BaseControl.WBTotalTime = StringToLable("WBTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WBStepTime = StringToLable("WBStepTime");
|
|
|
|
|
|
|
|
BaseControl.WBTemperature = StringToLable("WBTemperature");
|
|
|
|
|
|
|
|
BaseControl.WBSpeed = StringToLable("WBSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WCMode = StringToLable("WCMode");
|
|
|
|
|
|
|
|
BaseControl.WCStatus = StringToLable("WCStatus");
|
|
|
|
|
|
|
|
BaseControl.WCBatch = StringToLable("WCBatch");
|
|
|
|
|
|
|
|
BaseControl.WCStep = StringToLable("WCStep");
|
|
|
|
|
|
|
|
BaseControl.WCStepCode = StringToLable("WCStepCode");
|
|
|
|
|
|
|
|
BaseControl.WCTotalTime = StringToLable("WCTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WCStepTime = StringToLable("WCStepTime");
|
|
|
|
|
|
|
|
BaseControl.WCTemperature = StringToLable("WCTemperature");
|
|
|
|
|
|
|
|
BaseControl.WCSpeed = StringToLable("WCSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WDMode = StringToLable("WDMode");
|
|
|
|
|
|
|
|
BaseControl.WDStatus = StringToLable("WDStatus");
|
|
|
|
|
|
|
|
BaseControl.WDBatch = StringToLable("WDBatch");
|
|
|
|
|
|
|
|
BaseControl.WDStep = StringToLable("WDStep");
|
|
|
|
|
|
|
|
BaseControl.WDStepCode = StringToLable("WDStepCode");
|
|
|
|
|
|
|
|
BaseControl.WDTotalTime = StringToLable("WDTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WDStepTime = StringToLable("WDStepTime");
|
|
|
|
|
|
|
|
BaseControl.WDTemperature = StringToLable("WDTemperature");
|
|
|
|
|
|
|
|
BaseControl.WDSpeed = StringToLable("WDSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WEMode = StringToLable("WEMode");
|
|
|
|
|
|
|
|
BaseControl.WEStatus = StringToLable("WEStatus");
|
|
|
|
|
|
|
|
BaseControl.WEBatch = StringToLable("WEBatch");
|
|
|
|
|
|
|
|
BaseControl.WEStep = StringToLable("WEStep");
|
|
|
|
|
|
|
|
BaseControl.WEStepCode = StringToLable("WEStepCode");
|
|
|
|
|
|
|
|
BaseControl.WETotalTime = StringToLable("WETotalTime");
|
|
|
|
|
|
|
|
BaseControl.WEStepTime = StringToLable("WEStepTime");
|
|
|
|
|
|
|
|
BaseControl.WETemperature = StringToLable("WETemperature");
|
|
|
|
|
|
|
|
BaseControl.WESpeed = StringToLable("WESpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WFMode = StringToLable("WFMode");
|
|
|
|
|
|
|
|
BaseControl.WFStatus = StringToLable("WFStatus");
|
|
|
|
|
|
|
|
BaseControl.WFBatch = StringToLable("WFBatch");
|
|
|
|
|
|
|
|
BaseControl.WFStep = StringToLable("WFStep");
|
|
|
|
|
|
|
|
BaseControl.WFStepCode = StringToLable("WFStepCode");
|
|
|
|
|
|
|
|
BaseControl.WFTotalTime = StringToLable("WFTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WFStepTime = StringToLable("WFStepTime");
|
|
|
|
|
|
|
|
BaseControl.WFTemperature = StringToLable("WFTemperature");
|
|
|
|
|
|
|
|
BaseControl.WFSpeed = StringToLable("WFSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WGMode = StringToLable("WGMode");
|
|
|
|
|
|
|
|
BaseControl.WGStatus = StringToLable("WGStatus");
|
|
|
|
|
|
|
|
BaseControl.WGBatch = StringToLable("WGBatch");
|
|
|
|
|
|
|
|
BaseControl.WGStep = StringToLable("WGStep");
|
|
|
|
|
|
|
|
BaseControl.WGStepCode = StringToLable("WGStepCode");
|
|
|
|
|
|
|
|
BaseControl.WGTotalTime = StringToLable("WGTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WGStepTime = StringToLable("WGStepTime");
|
|
|
|
|
|
|
|
BaseControl.WGTemperature = StringToLable("WGTemperature");
|
|
|
|
|
|
|
|
BaseControl.WGSpeed = StringToLable("WGSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.WHMode = StringToLable("WHMode");
|
|
|
|
|
|
|
|
BaseControl.WHStatus = StringToLable("WHStatus");
|
|
|
|
|
|
|
|
BaseControl.WHBatch = StringToLable("WHBatch");
|
|
|
|
|
|
|
|
BaseControl.WHStep = StringToLable("WHStep");
|
|
|
|
|
|
|
|
BaseControl.WHStepCode = StringToLable("WHStepCode");
|
|
|
|
|
|
|
|
BaseControl.WHTotalTime = StringToLable("WHTotalTime");
|
|
|
|
|
|
|
|
BaseControl.WHStepTime = StringToLable("WHStepTime");
|
|
|
|
|
|
|
|
BaseControl.WHTemperature = StringToLable("WHTemperature");
|
|
|
|
|
|
|
|
BaseControl.WHSpeed = StringToLable("WHSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GAMode = StringToLable("GAMode");
|
|
|
|
|
|
|
|
BaseControl.GAStatus = StringToLable("GAStatus");
|
|
|
|
|
|
|
|
BaseControl.GABatch = StringToLable("GABatch");
|
|
|
|
|
|
|
|
BaseControl.GAStep = StringToLable("GAStep");
|
|
|
|
|
|
|
|
BaseControl.GAStepCode = StringToLable("GAStepCode");
|
|
|
|
|
|
|
|
BaseControl.GATotalTime = StringToLable("GATotalTime");
|
|
|
|
|
|
|
|
BaseControl.GAStepTime = StringToLable("GAStepTime");
|
|
|
|
|
|
|
|
BaseControl.GATemperature = StringToLable("GATemperature");
|
|
|
|
|
|
|
|
BaseControl.GASpeed = StringToLable("GASpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GBMode = StringToLable("GBMode");
|
|
|
|
|
|
|
|
BaseControl.GBStatus = StringToLable("GBStatus");
|
|
|
|
|
|
|
|
BaseControl.GBBatch = StringToLable("GBBatch");
|
|
|
|
|
|
|
|
BaseControl.GBStep = StringToLable("GBStep");
|
|
|
|
|
|
|
|
BaseControl.GBStepCode = StringToLable("GBStepCode");
|
|
|
|
|
|
|
|
BaseControl.GBTotalTime = StringToLable("GBTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GBStepTime = StringToLable("GBStepTime");
|
|
|
|
|
|
|
|
BaseControl.GBTemperature = StringToLable("GBTemperature");
|
|
|
|
|
|
|
|
BaseControl.GBSpeed = StringToLable("GBSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GCMode = StringToLable("GCMode");
|
|
|
|
|
|
|
|
BaseControl.GCStatus = StringToLable("GCStatus");
|
|
|
|
|
|
|
|
BaseControl.GCBatch = StringToLable("GCBatch");
|
|
|
|
|
|
|
|
BaseControl.GCStep = StringToLable("GCStep");
|
|
|
|
|
|
|
|
BaseControl.GCStepCode = StringToLable("GCStepCode");
|
|
|
|
|
|
|
|
BaseControl.GCTotalTime = StringToLable("GCTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GCStepTime = StringToLable("GCStepTime");
|
|
|
|
|
|
|
|
BaseControl.GCTemperature = StringToLable("GCTemperature");
|
|
|
|
|
|
|
|
BaseControl.GCSpeed = StringToLable("GCSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GDMode = StringToLable("GDMode");
|
|
|
|
|
|
|
|
BaseControl.GDStatus = StringToLable("GDStatus");
|
|
|
|
|
|
|
|
BaseControl.GDBatch = StringToLable("GDBatch");
|
|
|
|
|
|
|
|
BaseControl.GDStep = StringToLable("GDStep");
|
|
|
|
|
|
|
|
BaseControl.GDStepCode = StringToLable("GDStepCode");
|
|
|
|
|
|
|
|
BaseControl.GDTotalTime = StringToLable("GDTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GDStepTime = StringToLable("GDStepTime");
|
|
|
|
|
|
|
|
BaseControl.GDTemperature = StringToLable("GDTemperature");
|
|
|
|
|
|
|
|
BaseControl.GDSpeed = StringToLable("GDSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GEMode = StringToLable("GEMode");
|
|
|
|
|
|
|
|
BaseControl.GEStatus = StringToLable("GEStatus");
|
|
|
|
|
|
|
|
BaseControl.GEBatch = StringToLable("GEBatch");
|
|
|
|
|
|
|
|
BaseControl.GEStep = StringToLable("GEStep");
|
|
|
|
|
|
|
|
BaseControl.GEStepCode = StringToLable("GEStepCode");
|
|
|
|
|
|
|
|
BaseControl.GETotalTime = StringToLable("GETotalTime");
|
|
|
|
|
|
|
|
BaseControl.GEStepTime = StringToLable("GEStepTime");
|
|
|
|
|
|
|
|
BaseControl.GETemperature = StringToLable("GETemperature");
|
|
|
|
|
|
|
|
BaseControl.GESpeed = StringToLable("GESpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GFMode = StringToLable("GFMode");
|
|
|
|
|
|
|
|
BaseControl.GFStatus = StringToLable("GFStatus");
|
|
|
|
|
|
|
|
BaseControl.GFBatch = StringToLable("GFBatch");
|
|
|
|
|
|
|
|
BaseControl.GFStep = StringToLable("GFStep");
|
|
|
|
|
|
|
|
BaseControl.GFStepCode = StringToLable("GFStepCode");
|
|
|
|
|
|
|
|
BaseControl.GFTotalTime = StringToLable("GFTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GFStepTime = StringToLable("GFStepTime");
|
|
|
|
|
|
|
|
BaseControl.GFTemperature = StringToLable("GFTemperature");
|
|
|
|
|
|
|
|
BaseControl.GFSpeed = StringToLable("GFSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GGMode = StringToLable("GGMode");
|
|
|
|
|
|
|
|
BaseControl.GGStatus = StringToLable("GGStatus");
|
|
|
|
|
|
|
|
BaseControl.GGBatch = StringToLable("GGBatch");
|
|
|
|
|
|
|
|
BaseControl.GGStep = StringToLable("GGStep");
|
|
|
|
|
|
|
|
BaseControl.GGStepCode = StringToLable("GGStepCode");
|
|
|
|
|
|
|
|
BaseControl.GGTotalTime = StringToLable("GGTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GGStepTime = StringToLable("GGStepTime");
|
|
|
|
|
|
|
|
BaseControl.GGTemperature = StringToLable("GGTemperature");
|
|
|
|
|
|
|
|
BaseControl.GGSpeed = StringToLable("GGSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BaseControl.GHMode = StringToLable("GHMode");
|
|
|
|
|
|
|
|
BaseControl.GHStatus = StringToLable("GHStatus");
|
|
|
|
|
|
|
|
BaseControl.GHBatch = StringToLable("GHBatch");
|
|
|
|
|
|
|
|
BaseControl.GHStep = StringToLable("GHStep");
|
|
|
|
|
|
|
|
BaseControl.GHStepCode = StringToLable("GHStepCode");
|
|
|
|
|
|
|
|
BaseControl.GHTotalTime = StringToLable("GHTotalTime");
|
|
|
|
|
|
|
|
BaseControl.GHStepTime = StringToLable("GHStepTime");
|
|
|
|
|
|
|
|
BaseControl.GHTemperature = StringToLable("GHTemperature");
|
|
|
|
|
|
|
|
BaseControl.GHSpeed = StringToLable("GHSpeed");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Timer timer1 = new Timer();
|
|
|
|
|
|
|
|
timer1.Interval = 10000;
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public IBaseControl StringToLable(string lableName)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return McControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey == lableName).FirstOrDefault().BaseControl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|