add - 报表plchelper数据读取废案

master
wangsr 1 year ago
parent 94101f3a1d
commit 37e66a188d

@ -153,9 +153,6 @@
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\PlugInPlatform\Mesnac.PlugIn.dll</HintPath> <HintPath>..\..\..\PlugInPlatform\Mesnac.PlugIn.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Office.Interop.Excel">
<HintPath>..\..\Microsoft.Office.Interop.Excel.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Configuration" /> <Reference Include="System.Configuration" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
@ -607,6 +604,8 @@
<Compile Include="ProjectDebug\SelectAction.cs" /> <Compile Include="ProjectDebug\SelectAction.cs" />
<Compile Include="ProjectDebug\ModifyAction.cs" /> <Compile Include="ProjectDebug\ModifyAction.cs" />
<Compile Include="ProjectDebug\UpdateValueAction.cs" /> <Compile Include="ProjectDebug\UpdateValueAction.cs" />
<Compile Include="Report\DeviceDetail2Report\DeviceDetail2ReportAction.cs" />
<Compile Include="Report\DeviceDetail2Report\Entity\BaseControlEntity.cs" />
<Compile Include="Report\DryMixer\ExportAction.cs" /> <Compile Include="Report\DryMixer\ExportAction.cs" />
<Compile Include="Report\DryMixer\InitFormAction.cs" /> <Compile Include="Report\DryMixer\InitFormAction.cs" />
<Compile Include="Report\DryMixer\SelectAction.cs" /> <Compile Include="Report\DryMixer\SelectAction.cs" />

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

@ -0,0 +1,195 @@
using Mesnac.Controls.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.Report.DeviceDetail2Report.Entity
{
public class BaseControlEntity
{
public IBaseControl DAMode { get; set; }
public IBaseControl DAStatus { get; set; }
public IBaseControl DABatch { get; set; }
public IBaseControl DAStep { get; set; }
public IBaseControl DAStepCode { get; set; }
public IBaseControl DATotalTime { get; set; }
public IBaseControl DAStepTime { get; set; }
public IBaseControl DATemperature { get; set; }
public IBaseControl DASpeed { get; set; }
public IBaseControl DBMode { get; set; }
public IBaseControl DBStatus { get; set; }
public IBaseControl DBBatch { get; set; }
public IBaseControl DBStep { get; set; }
public IBaseControl DBStepCode { get; set; }
public IBaseControl DBTotalTime { get; set; }
public IBaseControl DBStepTime { get; set; }
public IBaseControl DBTemperature { get; set; }
public IBaseControl DBSpeed { get; set; }
public IBaseControl DCMode { get; set; }
public IBaseControl DCStatus { get; set; }
public IBaseControl DCBatch { get; set; }
public IBaseControl DCStep { get; set; }
public IBaseControl DCStepCode { get; set; }
public IBaseControl DCTotalTime { get; set; }
public IBaseControl DCStepTime { get; set; }
public IBaseControl DCTemperature { get; set; }
public IBaseControl DCSpeed { get; set; }
public IBaseControl DDMode { get; set; }
public IBaseControl DDStatus { get; set; }
public IBaseControl DDBatch { get; set; }
public IBaseControl DDStep { get; set; }
public IBaseControl DDStepCode { get; set; }
public IBaseControl DDTotalTime { get; set; }
public IBaseControl DDStepTime { get; set; }
public IBaseControl DDTemperature { get; set; }
public IBaseControl DDSpeed { get; set; }
public IBaseControl WAMode { get; set; }
public IBaseControl WAStatus { get; set; }
public IBaseControl WABatch { get; set; }
public IBaseControl WAStep { get; set; }
public IBaseControl WAStepCode { get; set; }
public IBaseControl WATotalTime { get; set; }
public IBaseControl WAStepTime { get; set; }
public IBaseControl WATemperature { get; set; }
public IBaseControl WASpeed { get; set; }
public IBaseControl WBMode { get; set; }
public IBaseControl WBStatus { get; set; }
public IBaseControl WBBatch { get; set; }
public IBaseControl WBStep { get; set; }
public IBaseControl WBStepCode { get; set; }
public IBaseControl WBTotalTime { get; set; }
public IBaseControl WBStepTime { get; set; }
public IBaseControl WBTemperature { get; set; }
public IBaseControl WBSpeed { get; set; }
public IBaseControl WCMode { get; set; }
public IBaseControl WCStatus { get; set; }
public IBaseControl WCBatch { get; set; }
public IBaseControl WCStep { get; set; }
public IBaseControl WCStepCode { get; set; }
public IBaseControl WCTotalTime { get; set; }
public IBaseControl WCStepTime { get; set; }
public IBaseControl WCTemperature { get; set; }
public IBaseControl WCSpeed { get; set; }
public IBaseControl WDMode { get; set; }
public IBaseControl WDStatus { get; set; }
public IBaseControl WDBatch { get; set; }
public IBaseControl WDStep { get; set; }
public IBaseControl WDStepCode { get; set; }
public IBaseControl WDTotalTime { get; set; }
public IBaseControl WDStepTime { get; set; }
public IBaseControl WDTemperature { get; set; }
public IBaseControl WDSpeed { get; set; }
public IBaseControl WEMode { get; set; }
public IBaseControl WEStatus { get; set; }
public IBaseControl WEBatch { get; set; }
public IBaseControl WEStep { get; set; }
public IBaseControl WEStepCode { get; set; }
public IBaseControl WETotalTime { get; set; }
public IBaseControl WEStepTime { get; set; }
public IBaseControl WETemperature { get; set; }
public IBaseControl WESpeed { get; set; }
public IBaseControl WFMode { get; set; }
public IBaseControl WFStatus { get; set; }
public IBaseControl WFBatch { get; set; }
public IBaseControl WFStep { get; set; }
public IBaseControl WFStepCode { get; set; }
public IBaseControl WFTotalTime { get; set; }
public IBaseControl WFStepTime { get; set; }
public IBaseControl WFTemperature { get; set; }
public IBaseControl WFSpeed { get; set; }
public IBaseControl WGMode { get; set; }
public IBaseControl WGStatus { get; set; }
public IBaseControl WGBatch { get; set; }
public IBaseControl WGStep { get; set; }
public IBaseControl WGStepCode { get; set; }
public IBaseControl WGTotalTime { get; set; }
public IBaseControl WGStepTime { get; set; }
public IBaseControl WGTemperature { get; set; }
public IBaseControl WGSpeed { get; set; }
public IBaseControl WHMode { get; set; }
public IBaseControl WHStatus { get; set; }
public IBaseControl WHBatch { get; set; }
public IBaseControl WHStep { get; set; }
public IBaseControl WHStepCode { get; set; }
public IBaseControl WHTotalTime { get; set; }
public IBaseControl WHStepTime { get; set; }
public IBaseControl WHTemperature { get; set; }
public IBaseControl WHSpeed { get; set; }
public IBaseControl GAMode { get; set; }
public IBaseControl GAStatus { get; set; }
public IBaseControl GABatch { get; set; }
public IBaseControl GAStep { get; set; }
public IBaseControl GAStepCode { get; set; }
public IBaseControl GATotalTime { get; set; }
public IBaseControl GAStepTime { get; set; }
public IBaseControl GATemperature { get; set; }
public IBaseControl GASpeed { get; set; }
public IBaseControl GBMode { get; set; }
public IBaseControl GBStatus { get; set; }
public IBaseControl GBBatch { get; set; }
public IBaseControl GBStep { get; set; }
public IBaseControl GBStepCode { get; set; }
public IBaseControl GBTotalTime { get; set; }
public IBaseControl GBStepTime { get; set; }
public IBaseControl GBTemperature { get; set; }
public IBaseControl GBSpeed { get; set; }
public IBaseControl GCMode { get; set; }
public IBaseControl GCStatus { get; set; }
public IBaseControl GCBatch { get; set; }
public IBaseControl GCStep { get; set; }
public IBaseControl GCStepCode { get; set; }
public IBaseControl GCTotalTime { get; set; }
public IBaseControl GCStepTime { get; set; }
public IBaseControl GCTemperature { get; set; }
public IBaseControl GCSpeed { get; set; }
public IBaseControl GDMode { get; set; }
public IBaseControl GDStatus { get; set; }
public IBaseControl GDBatch { get; set; }
public IBaseControl GDStep { get; set; }
public IBaseControl GDStepCode { get; set; }
public IBaseControl GDTotalTime { get; set; }
public IBaseControl GDStepTime { get; set; }
public IBaseControl GDTemperature { get; set; }
public IBaseControl GDSpeed { get; set; }
public IBaseControl GEMode { get; set; }
public IBaseControl GEStatus { get; set; }
public IBaseControl GEBatch { get; set; }
public IBaseControl GEStep { get; set; }
public IBaseControl GEStepCode { get; set; }
public IBaseControl GETotalTime { get; set; }
public IBaseControl GEStepTime { get; set; }
public IBaseControl GETemperature { get; set; }
public IBaseControl GESpeed { get; set; }
public IBaseControl GFMode { get; set; }
public IBaseControl GFStatus { get; set; }
public IBaseControl GFBatch { get; set; }
public IBaseControl GFStep { get; set; }
public IBaseControl GFStepCode { get; set; }
public IBaseControl GFTotalTime { get; set; }
public IBaseControl GFStepTime { get; set; }
public IBaseControl GFTemperature { get; set; }
public IBaseControl GFSpeed { get; set; }
public IBaseControl GGMode { get; set; }
public IBaseControl GGStatus { get; set; }
public IBaseControl GGBatch { get; set; }
public IBaseControl GGStep { get; set; }
public IBaseControl GGStepCode { get; set; }
public IBaseControl GGTotalTime { get; set; }
public IBaseControl GGStepTime { get; set; }
public IBaseControl GGTemperature { get; set; }
public IBaseControl GGSpeed { get; set; }
public IBaseControl GHMode { get; set; }
public IBaseControl GHStatus { get; set; }
public IBaseControl GHBatch { get; set; }
public IBaseControl GHStep { get; set; }
public IBaseControl GHStepCode { get; set; }
public IBaseControl GHTotalTime { get; set; }
public IBaseControl GHStepTime { get; set; }
public IBaseControl GHTemperature { get; set; }
public IBaseControl GHSpeed { get; set; }
}
}

@ -35,7 +35,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test
{ {
this.startdate.MCValue = DateTime.Now.ToString(); this.startdate.MCValue = DateTime.Now.ToString();
} }
List<DbMCControl> mcControllist;
IBaseControl startdate; IBaseControl startdate;
public void Run(RuntimeParameter runtime) public void Run(RuntimeParameter runtime)
{ {
@ -60,7 +60,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test
List<DbMCControl> mcControllist = GetAllDbMCControlsByOption(DbOptionTypes.None);//获取所有待初始化控件 mcControllist = GetAllDbMCControlsByOption(DbOptionTypes.None);//获取所有待初始化控件
startdate = mcControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey.ToLower() == "MCLabel153".ToLower()).FirstOrDefault().BaseControl; startdate = mcControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey.ToLower() == "MCLabel153".ToLower()).FirstOrDefault().BaseControl;

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<ActionService>
<Design>
<Path path="设备细节报表">
<Action action="8cdd2bcab82b4f81ab82ffb5e512f90f">
<Caption>窗体初始化</Caption>
<Remark>窗体初始化</Remark>
</Action>
</Path>
</Design>
<DesignToRuntime>
<!--窗体初始化-->
<Design action="8cdd2bcab82b4f81ab82ffb5e512f90f">
<Runtime action="d4d0805069154f738c3178273652c235"/>
</Design>
</DesignToRuntime>
<Runtime>
<Import assembly = "Data/Action/ChemicalWeighing/Mesnac.Action.ChemicalWeighing.dll">
<Action action="d4d0805069154f738c3178273652c235" class="Mesnac.Action.ChemicalWeighing.Report.DeviceDetail2Report.DeviceDetail2ReportAction"/>
</Import>
</Runtime>
</ActionService>

@ -1,3 +1,3 @@
<DataSources> <DataSources>
<DataSourceItem Name="DataSource1" Driver="MS SQL Server" Server="127.0.0.1" UserName="sa" Password="123456" DataBase="CWSSHG" ConnectionTimeout="5" DriverAssembly="ICSharpCode.Data.SQLServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DriverClass="ICSharpCode.Data.Core.DatabaseDrivers.SQLServer.SQLServerDatabaseDriver" DataSourceClass="ICSharpCode.Data.Core.DatabaseObjects.Database" /> <DataSourceItem Name="DataSource1" Driver="MS SQL Server" Server="192.168.1.19" UserName="sa" Password="123456" DataBase="CWSSHG" ConnectionTimeout="5" DriverAssembly="ICSharpCode.Data.SQLServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DriverClass="ICSharpCode.Data.Core.DatabaseDrivers.SQLServer.SQLServerDatabaseDriver" DataSourceClass="ICSharpCode.Data.Core.DatabaseObjects.Database" />
</DataSources> </DataSources>

@ -13,7 +13,7 @@
</Connection> </Connection>
</Main> </Main>
<Group> <Group>
<Group name="B1" block="2107" start="0" len="1032" access="ReadWrite" remark="ParametersWithPc" isautoread="False"> <Group name="B1" block="2107" start="0" len="1032" access="ReadWrite" remark="ParametersWithPc" isautoread="True">
<Data> <Data>
<Data name="FirstWord" runname="FirstWord" start="0" len="1" method="Default_Bit(0,1)" max="" issave="False" subtractor="" remark="FirstWord" /> <Data name="FirstWord" runname="FirstWord" start="0" len="1" method="Default_Bit(0,1)" max="" issave="False" subtractor="" remark="FirstWord" />
<Data name="WatchDog" runname="WatchDog" start="1" len="1" method="Default_ShortDiv()" max="" issave="False" subtractor="" remark="系统通用参数" /> <Data name="WatchDog" runname="WatchDog" start="1" len="1" method="Default_ShortDiv()" max="" issave="False" subtractor="" remark="系统通用参数" />
@ -3958,7 +3958,7 @@
<Data name="WeterM8Step9_Tolerance" runname="WeterM8Step9_Tolerance" start="1787" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="设定公差" /> <Data name="WeterM8Step9_Tolerance" runname="WeterM8Step9_Tolerance" start="1787" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="设定公差" />
</Data> </Data>
</Group> </Group>
<Group name="DB2102-valveInitDB" block="2102" start="0" len="99" access="ReadWrite" remark="valveInitDB" isautoread="False"> <Group name="DB2102-valveInitDB" block="2102" start="0" len="99" access="ReadWrite" remark="valveInitDB" isautoread="True">
<Data> <Data>
<Data name="BU1ASF01_ManualMode" runname="BU1ASF01_ManualMode" start="0" len="1" method="Default_Bit(0,1)" max="" issave="True" subtractor="" remark="手动模式" /> <Data name="BU1ASF01_ManualMode" runname="BU1ASF01_ManualMode" start="0" len="1" method="Default_Bit(0,1)" max="" issave="True" subtractor="" remark="手动模式" />
<Data name="BU1ASF01_AutoMode" runname="BU1ASF01_AutoMode" start="0" len="1" method="Default_Bit(1,1)" max="" issave="True" subtractor="" remark="自动模式" /> <Data name="BU1ASF01_AutoMode" runname="BU1ASF01_AutoMode" start="0" len="1" method="Default_Bit(1,1)" max="" issave="True" subtractor="" remark="自动模式" />
@ -5291,7 +5291,7 @@
<Data name="BUWeter8_P" runname="BUWeter8_P" start="98" len="1" method="Default_Bit(12,1)" max="" issave="True" subtractor="" remark="状态态志" /> <Data name="BUWeter8_P" runname="BUWeter8_P" start="98" len="1" method="Default_Bit(12,1)" max="" issave="True" subtractor="" remark="状态态志" />
</Data> </Data>
</Group> </Group>
<Group name="DB2103-motorInitDB" block="2103" start="0" len="209" access="ReadWrite" remark="motorInitDB" isautoread="False"> <Group name="DB2103-motorInitDB" block="2103" start="0" len="209" access="ReadWrite" remark="motorInitDB" isautoread="True">
<Data> <Data>
<Data name="DM1ASI01_ManualMode" runname="DM1ASI01_ManualMode" start="0" len="1" method="Default_Bit(0,1)" max="" issave="True" subtractor="" remark="手动模式" /> <Data name="DM1ASI01_ManualMode" runname="DM1ASI01_ManualMode" start="0" len="1" method="Default_Bit(0,1)" max="" issave="True" subtractor="" remark="手动模式" />
<Data name="DM1ASI01_AutoMode" runname="DM1ASI01_AutoMode" start="0" len="1" method="Default_Bit(1,1)" max="" issave="True" subtractor="" remark="自动模式" /> <Data name="DM1ASI01_AutoMode" runname="DM1ASI01_AutoMode" start="0" len="1" method="Default_Bit(1,1)" max="" issave="True" subtractor="" remark="自动模式" />

@ -736,7 +736,7 @@
<Property name="Size">1769, 1061</Property> <Property name="Size">1769, 1061</Property>
</Object> </Object>
<Property name="LoadActionList"> <Property name="LoadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAACAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIGI0NWRkODA1MzMyMjQwZWE4YWFkNWVmYjM1ZDUyOGJmBgYAAAAM5by55Ye656qX5L2TBgcAAAAM5by55Ye656qX5L2TCw==</Binary> <Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAIAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIGI0NWRkODA1MzMyMjQwZWE4YWFkNWVmYjM1ZDUyOGJmBgYAAAAM5by55Ye656qX5L2TBgcAAAAM5by55Ye656qX5L2TCw==</Binary>
</Property> </Property>
<Property name="ActivatedActionList"> <Property name="ActivatedActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary> <Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>

File diff suppressed because it is too large Load Diff

@ -190,6 +190,9 @@
<Content Include="Data\EventConfig\小料称量\业务基础.系统日志.xml"> <Content Include="Data\EventConfig\小料称量\业务基础.系统日志.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Data\EventConfig\小料称量\设备细节报表.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\小料称量\榄菊报表.糊化机报表.xml"> <Content Include="Data\EventConfig\小料称量\榄菊报表.糊化机报表.xml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

Loading…
Cancel
Save