From ef86b96e76ae15670bfb88a8593d796ba38cd5af Mon Sep 17 00:00:00 2001 From: nodyang Date: Wed, 11 Oct 2023 10:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BasePlcHelper.cs | 7573 +---------------- .../ChemicalWeighingPlc/PlcPlanHelper.cs | 1876 +--- .../ChemicalWeighingPlc/PlcRecipeHelper.cs | 185 +- .../FinishBatch/FinishBatchHelper.cs | 326 +- .../SaveHelper/ReportGelDoserHelper.cs | 324 - .../SaveHelper/ReportSaveHelper.cs | 297 - .../DBEntity/LjFormulaDetailDownEntity.cs | 4 + .../LjClick/FormClientManager.Designer.cs | 102 + .../LjClick/FormClientManager.cs | 47 + .../LjClick/InitFormAction.cs | 82 + .../LjDry/DryPlc.cs | 2591 +++--- .../LjElectrical/ElectricalPlc.cs | 299 +- .../Mesnac.Action.ChemicalWeighing/LjHelp.cs | 26 +- .../LjMetage/MetageHelp.cs | 1674 ++-- .../LjPlanning/DownToDatabase.cs | 53 +- .../LjPlanning/DownloadAction.cs | 302 +- .../LjPlanning/LjPlanningPlcHelp.cs | 3527 +------- .../LjPlanning/PauseAction.cs | 21 +- .../LjPressure/PressurePLC.cs | 653 +- .../LjProportional/ProportionalPlc.cs | 204 +- .../LjWeight/WeightSettingPlc.cs | 265 +- .../Mesnac.Action.ChemicalWeighing.csproj | 69 +- .../Pl/PlcConnect.cs | 4 +- .../PlcAddressUtil.cs | 12 + .../Product/PptPlan/AutoDownloadAction.cs | 35 +- .../Sys/TimerRunService.cs | 3 +- .../Technical/PmtRecipe/DeleteAction.cs | 114 +- .../Technical/PmtRecipe/FrmRecipe.cs | 2 +- .../Technical/PmtRecipe/ModifyRecipeAction.cs | 13 +- .../Technical/PmtRecipe/SelectRecipe.cs | 11 +- .../Technical/PmtRecipe/SetCratParam.cs | 7 +- .../Technical/PmtRecipe/SetCratParamForm.cs | 2 +- .../Test/TestAction.cs | 4 +- DataBlockHelper/DataBlockHelper.csproj | 2 + DataBlockHelper/Entity/ClickEntity.cs | 9 + DataBlockHelper/Entity/DB2108Helper.cs | 43 + .../榄菊糊化机点击参数.xml | 28 + Main/MCEdit/Data/MCProject/SCWSProject2.mprj | 1 + .../Data/MCProject/nodeForm/FormClient.xml | 126 + Main/MCEdit/MCEdit.csproj | 3 + 40 files changed, 4395 insertions(+), 16524 deletions(-) delete mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportGelDoserHelper.cs delete mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportSaveHelper.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.Designer.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/InitFormAction.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs create mode 100644 DataBlockHelper/Entity/ClickEntity.cs create mode 100644 DataBlockHelper/Entity/DB2108Helper.cs create mode 100644 Main/MCEdit/Data/EventConfig/小料称量/榄菊糊化机点击参数.xml create mode 100644 Main/MCEdit/Data/MCProject/nodeForm/FormClient.xml diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs index 764361e..240b1ca 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs @@ -699,263 +699,9 @@ namespace Mesnac.Action.ChemicalWeighing #endregion - #region 属性定义 - - #region 自定义设备变量 - - /// - /// 最小计划数(由PLC实时读取) - /// - public int MinPlanNum = 3; - - - #region PC在线标志 - - /// - /// 开门料仓号 - /// - public DataKeyValue ChemicalWeighing_PC_Online = new DataKeyValue("PC_Online"); - - #endregion - - /// - /// 小料PLC在线标志 - /// - public DataKeyValue ChemicalWeighing_PLC_Online_Flag = new DataKeyValue("PLC_Online_Flag"); - - /// - /// 等待计划数 - /// - public DataKeyValue ChemicalWeighing_Scheduled_Num = new DataKeyValue("Scheduled_Num"); - - #region 自动下传计划相关变量 - - /// - /// 小料PLC请求计划交互信息 - /// - public DataKeyValue ChemicalWeighing_PLC_LoadingStatus = new DataKeyValue("PLC_LoadingStatus"); - - /// - /// 小料PC计划反馈交互信息 - /// - public DataKeyValue ChemicalWeighing_PC_LoadingStatus = new DataKeyValue("PC_LoadingStatus"); - - /// - /// 速度1 - /// - public DataKeyValue DwSpeed = new DataKeyValue("DwSpeed"); - - #endregion - - #region 自动更新计划状态相关变量 - - /// - /// 小料PLC计划状态变化交互PLC请求信息 - /// - public DataKeyValue ChemicalWeighing_PLC_Plan_Status_ShakeHand = new DataKeyValue("PLC_Plan_Status_ShakeHand"); - - /// - /// PC计划状态根据PLC状态更新交互信息 - /// - public DataKeyValue ChemicalWeighing_PLC_Plan_Status_FeedBack = new DataKeyValue("PLC_Plan_Status_FeedBack"); - - /// - /// 小料计划序号 - /// - public DataKeyValue ChemicalWeighing_Plan_Serial = new DataKeyValue("Plan_Serial"); - - /// - /// 小料计划状态 - /// - public DataKeyValue ChemicalWeighing_Plan_Status = new DataKeyValue("Plan_Status"); - - /// - /// 小料计划完成数 - /// - public DataKeyValue ChemicalWeighing_Plan_Number = new DataKeyValue("Plan_Number"); - - /// - /// 小料计划剩余数量 - /// - public DataKeyValue ChemicalWeighing_Remain_Number = new DataKeyValue("Remain_Number"); - - #endregion - - #region HMI配方列表请求相关变量 - - /// - /// 小料HMI配方查询请求信息 - /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_ShakeHand = - new DataKeyValue("HMI_Request_Recipe_Name_ShakeHand"); - - /// - /// PCHMI配方查询请求信息响应 - /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack = - new DataKeyValue("HMI_Request_Recipe_Name_FeedBack"); - - /// - /// 读取到的机台号 - /// - public DataKeyValue ChemicalWeighing_Sys_Machine = new DataKeyValue("Sys_Machine"); - - /// - /// 读取到的配方名称 - /// - public DataKeyValue ChemicalWeighing_Plan_Code = new DataKeyValue("Plan_Code"); - - #endregion - - #region HMI根据配方请求添加计划相关变量 - - /// - /// 小料HMI配方添加计划请求信息 - /// - public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_ShakeHand = - new DataKeyValue("HMI_Confirm_Recipe_ShakeHand"); - - /// - /// PCHMI配方添加计划请求信息响应 - /// - public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_FeedBack = - new DataKeyValue("HMI_Confirm_Recipe_FeedBack"); - - /// - /// 读取到的机台号 - /// - public DataKeyValue ChemicalWeighing_Sys_Machine1 = new DataKeyValue("Sys_Machine1"); - - /// - /// 读取到的配方名称 - /// - public DataKeyValue ChemicalWeighing_Plan_Code1 = new DataKeyValue("Plan_Code1"); - - /// - /// 设定数量 - /// - public DataKeyValue ChemicalWeighing_HMI_Plan_Num = new DataKeyValue("HMI_Plan_Num"); - - #endregion - - #region HMI请求修改计划相关变量 - - /// - /// PLCHMI修改计划请求信息 - /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_ShakeHand = - new DataKeyValue("HMI_Request_Recipe_Change_ShakeHand"); - - /// - /// PCHMI修改计划请求信息响应 - /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack = - new DataKeyValue("HMI_Request_Recipe_Change_FeedBack"); - - /// - /// 命令:0默认 1刷新 2上移 3下移 4修改车数 5删除计划 - /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_Command = - new DataKeyValue("HMI_Request_Recipe_Change_Command"); - - /// - /// 读取到的机台号 - /// - public DataKeyValue ChemicalWeighing_Sys_Machine2 = new DataKeyValue("Sys_Machine2"); - - /// - /// 读取到的计划号 - /// - public DataKeyValue ChemicalWeighing_HMIChange_PlanId = new DataKeyValue("HMIChange_PlanId"); - - /// - /// 设定数量 - /// - public DataKeyValue ChemicalWeighing_HMIChange_PlanNum = new DataKeyValue("HMIChange_PlanNum"); - - #endregion - - #region 自动存盘相关变量 - - /// - /// PLC存盘请求 - /// - public DataKeyValue ChemicalWeighing_PLC_Request_Save_ShakeHand = - new DataKeyValue("Plc_Request_Save_ShakeHand"); - - /// - /// PC存盘反馈信息 - /// - public DataKeyValue ChemicalWeighing_PC_Request_Save_FeedBack = new DataKeyValue("PC_Request_Save_FeedBack"); - - - /// - /// 报表基本信息 - /// - public DataKeyValue ChemicalWeighing_Report_Update_Block_BaseInf = - new DataKeyValue("Report_Update_Block_BaseInf"); - - /// - /// 物料报表信息 - /// - public DataKeyValue ChemicalWeighing_Report_Update_Block_Material_Report = - new DataKeyValue("Report_Update_Block_Material_Report"); - - - #endregion - - #region 上位机修改计划数、终止计划相关变量 - - /// - /// PC下传终止计划状态 - /// - public DataKeyValue ChemicalWeighing_Plan_Status_Com_ShakeHand = new DataKeyValue("Plan_Status_Com_ShakeHand"); - - /// - /// PLC终止计划状态反馈 - /// - public DataKeyValue ChemicalWeighing_Plan_Status_Com_FeedBack = new DataKeyValue("Plan_Status_Com_FeedBack"); - - #endregion - - #region 条码扫描后,下传到PLC的命令相关变量 - - /// - /// 开门料仓号 - /// - public DataKeyValue ChemicalWeighing_Hopper_No_103 = new DataKeyValue("Hopper_No_103"); - - /// - /// 条码开门命令 - /// - public DataKeyValue ChemicalWeighing_ScanCommand = new DataKeyValue("Command"); - - - /// - /// 条码开门握手信号 - /// - public DataKeyValue ChemicalWeighing_Open_door_Command_ShakeHand = - new DataKeyValue("Open_door_Command_ShakeHand"); - - #endregion - - #endregion - - #region 自动写入物料名称相关变量 - - /// - /// PLC物料名称下传请求 - /// - public DataKeyValue ChemicalWeighing_PLC_LoadingConfig = new DataKeyValue("PLC_LoadingConfig"); - - /// - /// PC物料名称下传反馈 - /// - public DataKeyValue ChemicalWeighing_PC_LoadingConfig = new DataKeyValue("PC_LoadingConfig"); - - #endregion + - #endregion + @@ -963,847 +709,420 @@ namespace Mesnac.Action.ChemicalWeighing #region 2107 - /// - /// 压送秤A气源压力 dbw12 - /// - //public DataKeyValue mainPress_V1_LowLimit { get; set; } - - //public DataKeyValue mainPress_V1_HighLimit { get; set; } - //public DataKeyValue mainPress_V1_Alarm { get; set; } - - //压送秤A顶部压力 dbw26 - - public DataKeyValue topPressure_V1_LowLimit { get; set; } - public DataKeyValue topPressure_V1_HighLimit { get; set; } - public DataKeyValue topPressure_V1_Alarm { get; set; } - - //压送秤A底部压力 dbw40 - - public DataKeyValue linePressure_V1_LowLimit { get; set; } - public DataKeyValue linePressure_V1_HighLimit { get; set; } - public DataKeyValue linePressure_V1_Alarm { get; set; } - - //压送秤B气源压力 dbw54 - - public DataKeyValue mainPress_V2_LowLimit { get; set; } - public DataKeyValue mainPress_V2_HighLimit { get; set; } - public DataKeyValue mainPress_V2_Alarm { get; set; } - - - //压送秤B顶部压力 dbw68 - - public DataKeyValue topPressure_V2_LowLimit { get; set; } - public DataKeyValue topPressure_V2_HighLimit { get; set; } - public DataKeyValue topPressure_V2_Alarm { get; set; } - - //压送秤B底部压力 dbw82 - - public DataKeyValue linePressure_V2_LowLimit { get; set; } - public DataKeyValue linePressure_V2_HighLimit { get; set; } - public DataKeyValue linePressure_V2_Alarm { get; set; } - - //压送秤C气源压力 dbw96 - - public DataKeyValue mainPress_V3_LowLimit { get; set; } - public DataKeyValue mainPress_V3_HighLimit { get; set; } - public DataKeyValue mainPress_V3_Alarm { get; set; } - - - //压送秤C顶部压力 dbw110 - - public DataKeyValue topPressure_V3_LowLimit { get; set; } - public DataKeyValue topPressure_V3_HighLimit { get; set; } - public DataKeyValue topPressure_V3_Alarm { get; set; } - - //压送秤C底部压力 dbw124 - - public DataKeyValue linePressure_V3_LowLimit { get; set; } - public DataKeyValue linePressure_V3_HighLimit { get; set; } - public DataKeyValue linePressure_V3_Alarm { get; set; } - - - - //压送秤C气源压力 dbw138 - - public DataKeyValue mainPress_V4_LowLimit { get; set; } - public DataKeyValue mainPress_V4_HighLimit { get; set; } - public DataKeyValue mainPress_V4_Alarm { get; set; } - - - //压送秤C顶部压力 dbw154 - - public DataKeyValue topPressure_V4_LowLimit { get; set; } - public DataKeyValue topPressure_V4_HighLimit { get; set; } - public DataKeyValue topPressure_V4_Alarm { get; set; } - - //压送秤C底部压力 dbw166 - - public DataKeyValue linePressure_V4_LowLimit { get; set; } - public DataKeyValue linePressure_V4_HighLimit { get; set; } - public DataKeyValue linePressure_V4_Alarm { get; set; } - - - //压送秤C气源压力 dbw180 - - public DataKeyValue mainPress_V5_LowLimit { get; set; } - public DataKeyValue mainPress_V5_HighLimit { get; set; } - public DataKeyValue mainPress_V5_Alarm { get; set; } - - - //压送秤C顶部压力 dbw194 - - public DataKeyValue topPressure_V5_LowLimit { get; set; } - public DataKeyValue topPressure_V5_HighLimit { get; set; } - public DataKeyValue topPressure_V5_Alarm { get; set; } - - //压送秤C底部压力 dbw208 - - public DataKeyValue linePressure_V5_LowLimit { get; set; } - public DataKeyValue linePressure_V5_HighLimit { get; set; } - public DataKeyValue linePressure_V5_Alarm { get; set; } - - - //日罐压力B1 dbw222 - //public DataKeyValue presDaybin_B1_ActualValue { get; set; } - public DataKeyValue presDaybin_B1_LowLimit { get; set; } - public DataKeyValue presDaybin_B1_HighLimit { get; set; } - public DataKeyValue presDaybin_B1_Alarm { get; set; } - -//日罐压力B2 dbw236 - //public DataKeyValue presDaybin_B2_ActualValue { get; set; } - public DataKeyValue presDaybin_B2_LowLimit { get; set; } - public DataKeyValue presDaybin_B2_HighLimit { get; set; } - public DataKeyValue presDaybin_B2_Alarm { get; set; } - -//日罐压力B3 dbw250 - //public DataKeyValue presDaybin_B3_ActualValue { get; set; } - public DataKeyValue presDaybin_B3_LowLimit { get; set; } - public DataKeyValue presDaybin_B3_HighLimit { get; set; } - public DataKeyValue presDaybin_B3_Alarm { get; set; } - -//日罐压力B4 dbw264 - //public DataKeyValue presDaybin_B4_ActualValue { get; set; } - public DataKeyValue presDaybin_B4_LowLimit { get; set; } - public DataKeyValue presDaybin_B4_HighLimit { get; set; } - public DataKeyValue presDaybin_B4_Alarm { get; set; } - -//日罐压力B5 dbw278 - //public DataKeyValue presDaybin_B5_ActualValue { get; set; } - public DataKeyValue presDaybin_B5_LowLimit { get; set; } - public DataKeyValue presDaybin_B5_HighLimit { get; set; } - public DataKeyValue presDaybin_B5_Alarm { get; set; } - -//日罐压力B6 dbw292 - //public DataKeyValue presDaybin_B6_ActualValue { get; set; } - public DataKeyValue presDaybin_B6_LowLimit { get; set; } - public DataKeyValue presDaybin_B6_HighLimit { get; set; } - public DataKeyValue presDaybin_B6_Alarm { get; set; } - -//日罐压力B7 dbw306 - //public DataKeyValue presDaybin_B7_ActualValue { get; set; } - public DataKeyValue presDaybin_B7_LowLimit { get; set; } - public DataKeyValue presDaybin_B7_HighLimit { get; set; } - public DataKeyValue presDaybin_B7_Alarm { get; set; } - -//日罐压力B8 dbw320 - //public DataKeyValue presDaybin_B8_ActualValue { get; set; } - public DataKeyValue presDaybin_B8_LowLimit { get; set; } - public DataKeyValue presDaybin_B8_HighLimit { get; set; } - public DataKeyValue presDaybin_B8_Alarm { get; set; } - -//日罐压力B9 dbw334 - //public DataKeyValue presDaybin_B9_ActualValue { get; set; } - public DataKeyValue presDaybin_B9_LowLimit { get; set; } - public DataKeyValue presDaybin_B9_HighLimit { get; set; } - public DataKeyValue presDaybin_B9_Alarm { get; set; } - -//日罐压力B10 dbw348 - //public DataKeyValue presDaybin_B10_ActualValue { get; set; } - public DataKeyValue presDaybin_B10_LowLimit { get; set; } - public DataKeyValue presDaybin_B10_HighLimit { get; set; } - public DataKeyValue presDaybin_B10_Alarm { get; set; } - -//日罐压力B11 dbw362 - //public DataKeyValue presDaybin_B11_ActualValue { get; set; } - public DataKeyValue presDaybin_B11_LowLimit { get; set; } - public DataKeyValue presDaybin_B11_HighLimit { get; set; } - public DataKeyValue presDaybin_B11_Alarm { get; set; } - -//日罐压力B12 dbw376 - //public DataKeyValue presDaybin_B12_ActualValue { get; set; } - public DataKeyValue presDaybin_B12_LowLimit { get; set; } - public DataKeyValue presDaybin_B12_HighLimit { get; set; } - public DataKeyValue presDaybin_B12_Alarm { get; set; } - - - - //管道压力传感器1 dbw390 - //public DataKeyValue PR2PCP01_ActualValue { get; set; } - public DataKeyValue PR2PCP01_LowLimit { get; set; } - public DataKeyValue PR2PCP01_HighLimit { get; set; } - public DataKeyValue PR2PCP01_B12_Alarm { get; set; } - - - //管道压力传感器2 dbw404 - //public DataKeyValue PR2PCP02_ActualValue { get; set; } - public DataKeyValue PR2PCP02_LowLimit { get; set; } - public DataKeyValue PR2PCP02_HighLimit { get; set; } - public DataKeyValue PR2PCP02_Alarm { get; set; } - - //管道压力传感器3 dbw418 - //public DataKeyValue PR2PCP03_ActualValue { get; set; } - public DataKeyValue PR2PCP03_LowLimit { get; set; } - public DataKeyValue PR2PCP03_HighLimit { get; set; } - public DataKeyValue PR2PCP03_Alarm { get; set; } - + - //public DataKeyValue Hopper_1_ActWeight { get; set; } - public DataKeyValue Hopper_1_HighWeight { get; set; } - public DataKeyValue Hopper_1_LowWeight { get; set; } - //public DataKeyValue Hopper_1_HighLevel { get; set; } - //public DataKeyValue Hopper_1_LowLevel { get; set; } + ////public DataKeyValue Hopper_1_ActWeight { get; set; } + //public DataKeyValue Hopper_1_HighWeight { get; set; } + //public DataKeyValue Hopper_1_LowWeight { get; set; } + ////public DataKeyValue Hopper_1_HighLevel { get; set; } + ////public DataKeyValue Hopper_1_LowLevel { get; set; } - //public DataKeyValue Hopper_2_ActWeight { get; set; } - public DataKeyValue Hopper_2_HighWeight { get; set; } - public DataKeyValue Hopper_2_LowWeight { get; set; } - //public DataKeyValue Hopper_2_HighLevel { get; set; } - //public DataKeyValue Hopper_2_LowLevel { get; set; } + ////public DataKeyValue Hopper_2_ActWeight { get; set; } + //public DataKeyValue Hopper_2_HighWeight { get; set; } + //public DataKeyValue Hopper_2_LowWeight { get; set; } + ////public DataKeyValue Hopper_2_HighLevel { get; set; } + ////public DataKeyValue Hopper_2_LowLevel { get; set; } - //public DataKeyValue Hopper_3_ActWeight { get; set; } - public DataKeyValue Hopper_3_HighWeight { get; set; } - public DataKeyValue Hopper_3_LowWeight { get; set; } - //public DataKeyValue Hopper_3_HighLevel { get; set; } - //public DataKeyValue Hopper_3_LowLevel { get; set; } + ////public DataKeyValue Hopper_3_ActWeight { get; set; } + //public DataKeyValue Hopper_3_HighWeight { get; set; } + //public DataKeyValue Hopper_3_LowWeight { get; set; } + ////public DataKeyValue Hopper_3_HighLevel { get; set; } + ////public DataKeyValue Hopper_3_LowLevel { get; set; } - //public DataKeyValue Hopper_4_ActWeight { get; set; } - public DataKeyValue Hopper_4_HighWeight { get; set; } - public DataKeyValue Hopper_4_LowWeight { get; set; } - //public DataKeyValue Hopper_4_HighLevel { get; set; } - //public DataKeyValue Hopper_4_LowLevel { get; set; } + ////public DataKeyValue Hopper_4_ActWeight { get; set; } + //public DataKeyValue Hopper_4_HighWeight { get; set; } + //public DataKeyValue Hopper_4_LowWeight { get; set; } + ////public DataKeyValue Hopper_4_HighLevel { get; set; } + ////public DataKeyValue Hopper_4_LowLevel { get; set; } - //public DataKeyValue Vessel_1_ActWeight { get; set; } - public DataKeyValue Vessel_1_HighWeight { get; set; } - public DataKeyValue Vessel_1_LowWeight { get; set; } - //public DataKeyValue Vessel_1_HighLevel { get; set; } - //public DataKeyValue Vessel_1_LowLevel { get; set; } + ////public DataKeyValue Vessel_1_ActWeight { get; set; } + //public DataKeyValue Vessel_1_HighWeight { get; set; } + //public DataKeyValue Vessel_1_LowWeight { get; set; } + ////public DataKeyValue Vessel_1_HighLevel { get; set; } + ////public DataKeyValue Vessel_1_LowLevel { get; set; } - //public DataKeyValue Vessel_2_ActWeight { get; set; } - public DataKeyValue Vessel_2_HighWeight { get; set; } - public DataKeyValue Vessel_2_LowWeight { get; set; } - //public DataKeyValue Vessel_2_HighLevel { get; set; } - //public DataKeyValue Vessel_2_LowLevel { get; set; } + ////public DataKeyValue Vessel_2_ActWeight { get; set; } + //public DataKeyValue Vessel_2_HighWeight { get; set; } + //public DataKeyValue Vessel_2_LowWeight { get; set; } + ////public DataKeyValue Vessel_2_HighLevel { get; set; } + ////public DataKeyValue Vessel_2_LowLevel { get; set; } - //public DataKeyValue Vessel_3_ActWeight { get; set; } - public DataKeyValue Vessel_3_HighWeight { get; set; } - public DataKeyValue Vessel_3_LowWeight { get; set; } - //public DataKeyValue Vessel_3_HighLevel { get; set; } - //public DataKeyValue Vessel_3_LowLevel { get; set; } + ////public DataKeyValue Vessel_3_ActWeight { get; set; } + //public DataKeyValue Vessel_3_HighWeight { get; set; } + //public DataKeyValue Vessel_3_LowWeight { get; set; } + ////public DataKeyValue Vessel_3_HighLevel { get; set; } + ////public DataKeyValue Vessel_3_LowLevel { get; set; } - //public DataKeyValue Vessel_4_ActWeight { get; set; } - public DataKeyValue Vessel_4_HighWeight { get; set; } - public DataKeyValue Vessel_4_LowWeight { get; set; } - //public DataKeyValue Vessel_4_HighLevel { get; set; } - //public DataKeyValue Vessel_4_LowLevel { get; set; } + ////public DataKeyValue Vessel_4_ActWeight { get; set; } + //public DataKeyValue Vessel_4_HighWeight { get; set; } + //public DataKeyValue Vessel_4_LowWeight { get; set; } + ////public DataKeyValue Vessel_4_HighLevel { get; set; } + ////public DataKeyValue Vessel_4_LowLevel { get; set; } - //public DataKeyValue Vessel_5_ActWeight { get; set; } - public DataKeyValue Vessel_5_HighWeight { get; set; } - public DataKeyValue Vessel_5_LowWeight { get; set; } - //public DataKeyValue Vessel_5_HighLevel { get; set; } - //public DataKeyValue Vessel_5_LowLevel { get; set; } + ////public DataKeyValue Vessel_5_ActWeight { get; set; } + //public DataKeyValue Vessel_5_HighWeight { get; set; } + //public DataKeyValue Vessel_5_LowWeight { get; set; } + ////public DataKeyValue Vessel_5_HighLevel { get; set; } + ////public DataKeyValue Vessel_5_LowLevel { get; set; } - //public DataKeyValue WScale_1_ActWeight { get; set; } - public DataKeyValue WScale_1_HighWeight { get; set; } - public DataKeyValue WScale_1_LowWeight { get; set; } - //public DataKeyValue WScale_1_HighLevel { get; set; } - //public DataKeyValue WScale_1_LowLevel { get; set; } + ////public DataKeyValue WScale_1_ActWeight { get; set; } + //public DataKeyValue WScale_1_HighWeight { get; set; } + //public DataKeyValue WScale_1_LowWeight { get; set; } + ////public DataKeyValue WScale_1_HighLevel { get; set; } + ////public DataKeyValue WScale_1_LowLevel { get; set; } - //public DataKeyValue WScale_2_ActWeight { get; set; } - public DataKeyValue WScale_2_HighWeight { get; set; } - public DataKeyValue WScale_2_LowWeight { get; set; } - //public DataKeyValue WScale_2_HighLevel { get; set; } - //public DataKeyValue WScale_2_LowLevel { get; set; } + ////public DataKeyValue WScale_2_ActWeight { get; set; } + //public DataKeyValue WScale_2_HighWeight { get; set; } + //public DataKeyValue WScale_2_LowWeight { get; set; } + ////public DataKeyValue WScale_2_HighLevel { get; set; } + ////public DataKeyValue WScale_2_LowLevel { get; set; } - //public DataKeyValue WScale_3_ActWeight { get; set; } - public DataKeyValue WScale_3_HighWeight { get; set; } - public DataKeyValue WScale_3_LowWeight { get; set; } - //public DataKeyValue WScale_3_HighLevel { get; set; } - //public DataKeyValue WScale_3_LowLevel { get; set; } + ////public DataKeyValue WScale_3_ActWeight { get; set; } + //public DataKeyValue WScale_3_HighWeight { get; set; } + //public DataKeyValue WScale_3_LowWeight { get; set; } + ////public DataKeyValue WScale_3_HighLevel { get; set; } + ////public DataKeyValue WScale_3_LowLevel { get; set; } - //public DataKeyValue WScale_4_ActWeight { get; set; } - public DataKeyValue WScale_4_HighWeight { get; set; } - public DataKeyValue WScale_4_LowWeight { get; set; } - //public DataKeyValue WScale_4_HighLevel { get; set; } - //public DataKeyValue WScale_4_LowLevel { get; set; } + ////public DataKeyValue WScale_4_ActWeight { get; set; } + //public DataKeyValue WScale_4_HighWeight { get; set; } + //public DataKeyValue WScale_4_LowWeight { get; set; } + ////public DataKeyValue WScale_4_HighLevel { get; set; } + ////public DataKeyValue WScale_4_LowLevel { get; set; } - public DataKeyValue conveyV1_PV { get; set; } - public DataKeyValue conveyV1_SV { get; set; } + //public DataKeyValue conveyV1_PV { get; set; } + //public DataKeyValue conveyV1_SV { get; set; } - public DataKeyValue purgeV1_PV { get; set; } - public DataKeyValue purgeV1_SV { get; set; } + //public DataKeyValue purgeV1_PV { get; set; } + //public DataKeyValue purgeV1_SV { get; set; } - public DataKeyValue conveyV2_PV { get; set; } - public DataKeyValue conveyV2_SV { get; set; } + //public DataKeyValue conveyV2_PV { get; set; } + //public DataKeyValue conveyV2_SV { get; set; } - public DataKeyValue purgeV2_PV { get; set; } - public DataKeyValue purgeV2_SV { get; set; } - public DataKeyValue conveyV3_PV { get; set; } - public DataKeyValue conveyV3_SV { get; set; } - public DataKeyValue purgeV3_PV { get; set; } - public DataKeyValue purgeV3_SV { get; set; } - public DataKeyValue conveyV4_PV { get; set; } - public DataKeyValue conveyV4_SV { get; set; } - public DataKeyValue purgeV4_PV { get; set; } - public DataKeyValue purgeV4_SV { get; set; } + //public DataKeyValue purgeV2_PV { get; set; } + //public DataKeyValue purgeV2_SV { get; set; } + //public DataKeyValue conveyV3_PV { get; set; } + //public DataKeyValue conveyV3_SV { get; set; } + //public DataKeyValue purgeV3_PV { get; set; } + //public DataKeyValue purgeV3_SV { get; set; } + //public DataKeyValue conveyV4_PV { get; set; } + //public DataKeyValue conveyV4_SV { get; set; } + //public DataKeyValue purgeV4_PV { get; set; } + //public DataKeyValue purgeV4_SV { get; set; } - public DataKeyValue conveyV5_SV { get; set; } - public DataKeyValue conveyV5_PV { get; set; } - public DataKeyValue purgeV5_SV { get; set; } - public DataKeyValue purgeV5_PV { get; set; } - - - - public DataKeyValue Silo0_HighSpeed { get; set; } - public DataKeyValue Silo0_LowSpeed { get; set; } - public DataKeyValue Silo0_WeightSlow { get; set; } - public DataKeyValue Silo0_Precut { get; set; } - public DataKeyValue Silo0_JogTime { get; set; } - public DataKeyValue Silo1_HighSpeed { get; set; } - public DataKeyValue Silo1_LowSpeed { get; set; } - public DataKeyValue Silo1_WeightSlow { get; set; } - public DataKeyValue Silo1_Precut { get; set; } - public DataKeyValue Silo1_JogTime { get; set; } - public DataKeyValue Silo2_HighSpeed { get; set; } - public DataKeyValue Silo2_LowSpeed { get; set; } - public DataKeyValue Silo2_WeightSlow { get; set; } - public DataKeyValue Silo2_Precut { get; set; } - public DataKeyValue Silo2_JogTime { get; set; } - public DataKeyValue Silo3_HighSpeed { get; set; } - public DataKeyValue Silo3_LowSpeed { get; set; } - public DataKeyValue Silo3_WeightSlow { get; set; } - public DataKeyValue Silo3_Precut { get; set; } - public DataKeyValue Silo3_JogTime { get; set; } - public DataKeyValue Silo4_HighSpeed { get; set; } - public DataKeyValue Silo4_LowSpeed { get; set; } - public DataKeyValue Silo4_WeightSlow { get; set; } - public DataKeyValue Silo4_Precut { get; set; } - public DataKeyValue Silo4_JogTime { get; set; } - public DataKeyValue Silo5_HighSpeed { get; set; } - public DataKeyValue Silo5_LowSpeed { get; set; } - public DataKeyValue Silo5_WeightSlow { get; set; } - public DataKeyValue Silo5_Precut { get; set; } - public DataKeyValue Silo5_JogTime { get; set; } - public DataKeyValue Silo6_HighSpeed { get; set; } - public DataKeyValue Silo6_LowSpeed { get; set; } - public DataKeyValue Silo6_WeightSlow { get; set; } - public DataKeyValue Silo6_Precut { get; set; } - public DataKeyValue Silo6_JogTime { get; set; } - public DataKeyValue Silo7_HighSpeed { get; set; } - public DataKeyValue Silo7_LowSpeed { get; set; } - public DataKeyValue Silo7_WeightSlow { get; set; } - public DataKeyValue Silo7_Precut { get; set; } - public DataKeyValue Silo7_JogTime { get; set; } - public DataKeyValue Silo8_HighSpeed { get; set; } - public DataKeyValue Silo8_LowSpeed { get; set; } - public DataKeyValue Silo8_WeightSlow { get; set; } - public DataKeyValue Silo8_Precut { get; set; } - public DataKeyValue Silo8_JogTime { get; set; } - public DataKeyValue Silo9_HighSpeed { get; set; } - public DataKeyValue Silo9_LowSpeed { get; set; } - public DataKeyValue Silo9_WeightSlow { get; set; } - public DataKeyValue Silo9_Precut { get; set; } - public DataKeyValue Silo9_JogTime { get; set; } - public DataKeyValue Silo10_HighSpeed { get; set; } - public DataKeyValue Silo10_LowSpeed { get; set; } - public DataKeyValue Silo10_WeightSlow { get; set; } - public DataKeyValue Silo10_Precut { get; set; } - public DataKeyValue Silo10_JogTime { get; set; } - public DataKeyValue Silo11_HighSpeed { get; set; } - public DataKeyValue Silo11_LowSpeed { get; set; } - public DataKeyValue Silo11_WeightSlow { get; set; } - public DataKeyValue Silo11_Precut { get; set; } - public DataKeyValue Silo11_JogTime { get; set; } - public DataKeyValue Silo12_HighSpeed { get; set; } - public DataKeyValue Silo12_LowSpeed { get; set; } - public DataKeyValue Silo12_WeightSlow { get; set; } - public DataKeyValue Silo12_Precut { get; set; } - public DataKeyValue Silo12_JogTime { get; set; } - public DataKeyValue Silo13_HighSpeed { get; set; } - public DataKeyValue Silo13_LowSpeed { get; set; } - public DataKeyValue Silo13_WeightSlow { get; set; } - public DataKeyValue Silo13_Precut { get; set; } - public DataKeyValue Silo13_JogTime { get; set; } - public DataKeyValue Silo14_HighSpeed { get; set; } - public DataKeyValue Silo14_LowSpeed { get; set; } - public DataKeyValue Silo14_WeightSlow { get; set; } - public DataKeyValue Silo14_Precut { get; set; } - public DataKeyValue Silo14_JogTime { get; set; } - public DataKeyValue Daybin0_HighSpeed { get; set; } - public DataKeyValue Daybin0_LowSpeed { get; set; } - public DataKeyValue Daybin0_WeightSlow { get; set; } - public DataKeyValue Daybin0_Precut { get; set; } - public DataKeyValue Daybin0_JogTime { get; set; } - public DataKeyValue Daybin1_HighSpeed { get; set; } - public DataKeyValue Daybin1_LowSpeed { get; set; } - public DataKeyValue Daybin1_WeightSlow { get; set; } - public DataKeyValue Daybin1_Precut { get; set; } - public DataKeyValue Daybin1_JogTime { get; set; } - public DataKeyValue Daybin2_HighSpeed { get; set; } - public DataKeyValue Daybin2_LowSpeed { get; set; } - public DataKeyValue Daybin2_WeightSlow { get; set; } - public DataKeyValue Daybin2_Precut { get; set; } - public DataKeyValue Daybin2_JogTime { get; set; } - public DataKeyValue Daybin3_HighSpeed { get; set; } - public DataKeyValue Daybin3_LowSpeed { get; set; } - public DataKeyValue Daybin3_WeightSlow { get; set; } - public DataKeyValue Daybin3_Precut { get; set; } - public DataKeyValue Daybin3_JogTime { get; set; } - public DataKeyValue Daybin4_HighSpeed { get; set; } - public DataKeyValue Daybin4_LowSpeed { get; set; } - public DataKeyValue Daybin4_WeightSlow { get; set; } - public DataKeyValue Daybin4_Precut { get; set; } - public DataKeyValue Daybin4_JogTime { get; set; } - public DataKeyValue Daybin5_HighSpeed { get; set; } - public DataKeyValue Daybin5_LowSpeed { get; set; } - public DataKeyValue Daybin5_WeightSlow { get; set; } - public DataKeyValue Daybin5_Precut { get; set; } - public DataKeyValue Daybin5_JogTime { get; set; } - public DataKeyValue Daybin6_HighSpeed { get; set; } - public DataKeyValue Daybin6_LowSpeed { get; set; } - public DataKeyValue Daybin6_WeightSlow { get; set; } - public DataKeyValue Daybin6_Precut { get; set; } - public DataKeyValue Daybin6_JogTime { get; set; } - public DataKeyValue Daybin7_HighSpeed { get; set; } - public DataKeyValue Daybin7_LowSpeed { get; set; } - public DataKeyValue Daybin7_WeightSlow { get; set; } - public DataKeyValue Daybin7_Precut { get; set; } - public DataKeyValue Daybin7_JogTime { get; set; } - public DataKeyValue Daybin8_HighSpeed { get; set; } - public DataKeyValue Daybin8_LowSpeed { get; set; } - public DataKeyValue Daybin8_WeightSlow { get; set; } - public DataKeyValue Daybin8_Precut { get; set; } - public DataKeyValue Daybin8_JogTime { get; set; } - public DataKeyValue Daybin9_HighSpeed { get; set; } - public DataKeyValue Daybin9_LowSpeed { get; set; } - public DataKeyValue Daybin9_WeightSlow { get; set; } - public DataKeyValue Daybin9_Precut { get; set; } - public DataKeyValue Daybin9_JogTime { get; set; } - public DataKeyValue Daybin10_HighSpeed { get; set; } - public DataKeyValue Daybin10_LowSpeed { get; set; } - public DataKeyValue Daybin10_WeightSlow { get; set; } - public DataKeyValue Daybin10_Precut { get; set; } - public DataKeyValue Daybin10_JogTime { get; set; } - public DataKeyValue Daybin11_HighSpeed { get; set; } - public DataKeyValue Daybin11_LowSpeed { get; set; } - public DataKeyValue Daybin11_WeightSlow { get; set; } - public DataKeyValue Daybin11_Precut { get; set; } - public DataKeyValue Daybin11_JogTime { get; set; } - public DataKeyValue Hoper0_HighSpeed { get; set; } - public DataKeyValue Hoper0_LowSpeed { get; set; } - public DataKeyValue Hoper0_WeightSlow { get; set; } - public DataKeyValue Hoper0_Precut { get; set; } - public DataKeyValue Hoper0_JogTime { get; set; } - public DataKeyValue Hoper1_HighSpeed { get; set; } - public DataKeyValue Hoper1_LowSpeed { get; set; } - public DataKeyValue Hoper1_WeightSlow { get; set; } - public DataKeyValue Hoper1_Precut { get; set; } - public DataKeyValue Hoper1_JogTime { get; set; } - public DataKeyValue Hoper2_HighSpeed { get; set; } - public DataKeyValue Hoper2_LowSpeed { get; set; } - public DataKeyValue Hoper2_WeightSlow { get; set; } - public DataKeyValue Hoper2_Precut { get; set; } - public DataKeyValue Hoper2_JogTime { get; set; } - public DataKeyValue Hoper3_HighSpeed { get; set; } - public DataKeyValue Hoper3_LowSpeed { get; set; } - public DataKeyValue Hoper3_WeightSlow { get; set; } - public DataKeyValue Hoper3_Precut { get; set; } - public DataKeyValue Hoper3_JogTime { get; set; } - public DataKeyValue Water0_HighSpeed { get; set; } - public DataKeyValue Water0_LowSpeed { get; set; } - public DataKeyValue Water0_WeightSlow { get; set; } - public DataKeyValue Water0_Precut { get; set; } - public DataKeyValue Water0_JogTime { get; set; } - public DataKeyValue Water1_HighSpeed { get; set; } - public DataKeyValue Water1_LowSpeed { get; set; } - public DataKeyValue Water1_WeightSlow { get; set; } - public DataKeyValue Water1_Precut { get; set; } - public DataKeyValue Water1_JogTime { get; set; } - public DataKeyValue Water2_HighSpeed { get; set; } - public DataKeyValue Water2_LowSpeed { get; set; } - public DataKeyValue Water2_WeightSlow { get; set; } - public DataKeyValue Water2_Precut { get; set; } - public DataKeyValue Water2_JogTime { get; set; } - public DataKeyValue Water3_HighSpeed { get; set; } - public DataKeyValue Water3_LowSpeed { get; set; } - public DataKeyValue Water3_WeightSlow { get; set; } - public DataKeyValue Water3_Precut { get; set; } - public DataKeyValue Water3_JogTime { get; set; } - - - - public DataKeyValue SpeedD1 { get; set; } - public DataKeyValue SpeedD2 { get; set; } - public DataKeyValue SpeedD3 { get; set; } - public DataKeyValue SpeedD4 { get; set; } - - public DataKeyValue SpeedG1 { get; set; } - public DataKeyValue SpeedG2 { get; set; } - public DataKeyValue SpeedG3 { get; set; } - public DataKeyValue SpeedG4 { get; set; } - - public DataKeyValue SpeedG5 { get; set; } - public DataKeyValue SpeedG6 { get; set; } - public DataKeyValue SpeedG7 { get; set; } - public DataKeyValue SpeedG8 { get; set; } - - - public DataKeyValue SpeedH1 { get; set; } - public DataKeyValue SpeedH2 { get; set; } - public DataKeyValue SpeedH3 { get; set; } - public DataKeyValue SpeedH4 { get; set; } - - - public DataKeyValue SpeedS1 { get; set; } - public DataKeyValue SpeedS5 { get; set; } - public DataKeyValue SpeedS7 { get; set; } - public DataKeyValue SpeedS11 { get; set; } - public DataKeyValue SpeedS15 { get; set; } - - - - - public DataKeyValue Dryer0_mode { get; set; } - public DataKeyValue Dryer0_status { get; set; } - public DataKeyValue Dryer0_batch { get; set; } - public DataKeyValue Dryer0_step { get; set; } - public DataKeyValue Dryer0_stepCode { get; set; } - public DataKeyValue Dryer0_totalTime { get; set; } - public DataKeyValue Dryer0_stepTime { get; set; } - public DataKeyValue Dryer0_temperature { get; set; } - public DataKeyValue Dryer0_speed { get; set; } - public DataKeyValue Dryer0_currnet { get; set; } - public DataKeyValue Dryer0_pressure { get; set; } - - public DataKeyValue Dryer1_mode { get; set; } - public DataKeyValue Dryer1_status { get; set; } - public DataKeyValue Dryer1_batch { get; set; } - public DataKeyValue Dryer1_step { get; set; } - public DataKeyValue Dryer1_stepCode { get; set; } - public DataKeyValue Dryer1_totalTime { get; set; } - public DataKeyValue Dryer1_stepTime { get; set; } - public DataKeyValue Dryer1_temperature { get; set; } - public DataKeyValue Dryer1_speed { get; set; } - public DataKeyValue Dryer1_currnet { get; set; } - public DataKeyValue Dryer1_pressure { get; set; } - public DataKeyValue Dryer2_mode { get; set; } - public DataKeyValue Dryer2_status { get; set; } - public DataKeyValue Dryer2_batch { get; set; } - public DataKeyValue Dryer2_step { get; set; } - public DataKeyValue Dryer2_stepCode { get; set; } - public DataKeyValue Dryer2_totalTime { get; set; } - public DataKeyValue Dryer2_stepTime { get; set; } - public DataKeyValue Dryer2_temperature { get; set; } - public DataKeyValue Dryer2_speed { get; set; } - public DataKeyValue Dryer2_currnet { get; set; } - public DataKeyValue Dryer2_pressure { get; set; } - public DataKeyValue Dryer3_mode { get; set; } - public DataKeyValue Dryer3_status { get; set; } - public DataKeyValue Dryer3_batch { get; set; } - public DataKeyValue Dryer3_step { get; set; } - public DataKeyValue Dryer3_stepCode { get; set; } - public DataKeyValue Dryer3_totalTime { get; set; } - public DataKeyValue Dryer3_stepTime { get; set; } - public DataKeyValue Dryer3_temperature { get; set; } - public DataKeyValue Dryer3_speed { get; set; } - public DataKeyValue Dryer3_currnet { get; set; } - public DataKeyValue Dryer3_pressure { get; set; } - - public DataKeyValue Gelater0_mode { get; set; } - public DataKeyValue Gelater0_status { get; set; } - public DataKeyValue Gelater0_batch { get; set; } - public DataKeyValue Gelater0_step { get; set; } - public DataKeyValue Gelater0_stepCode { get; set; } - public DataKeyValue Gelater0_totalTime { get; set; } - public DataKeyValue Gelater0_stepTime { get; set; } - public DataKeyValue Gelater0_temperature { get; set; } - public DataKeyValue Gelater0_speed { get; set; } - public DataKeyValue Gelater0_currnet { get; set; } - public DataKeyValue Gelater0_pressure { get; set; } - public DataKeyValue Gelater1_mode { get; set; } - public DataKeyValue Gelater1_status { get; set; } - public DataKeyValue Gelater1_batch { get; set; } - public DataKeyValue Gelater1_step { get; set; } - public DataKeyValue Gelater1_stepCode { get; set; } - public DataKeyValue Gelater1_totalTime { get; set; } - public DataKeyValue Gelater1_stepTime { get; set; } - public DataKeyValue Gelater1_temperature { get; set; } - public DataKeyValue Gelater1_speed { get; set; } - public DataKeyValue Gelater1_currnet { get; set; } - public DataKeyValue Gelater1_pressure { get; set; } - public DataKeyValue Gelater2_mode { get; set; } - public DataKeyValue Gelater2_status { get; set; } - public DataKeyValue Gelater2_batch { get; set; } - public DataKeyValue Gelater2_step { get; set; } - public DataKeyValue Gelater2_stepCode { get; set; } - public DataKeyValue Gelater2_totalTime { get; set; } - public DataKeyValue Gelater2_stepTime { get; set; } - public DataKeyValue Gelater2_temperature { get; set; } - public DataKeyValue Gelater2_speed { get; set; } - public DataKeyValue Gelater2_currnet { get; set; } - public DataKeyValue Gelater2_pressure { get; set; } - public DataKeyValue Gelater3_mode { get; set; } - public DataKeyValue Gelater3_status { get; set; } - public DataKeyValue Gelater3_batch { get; set; } - public DataKeyValue Gelater3_step { get; set; } - public DataKeyValue Gelater3_stepCode { get; set; } - public DataKeyValue Gelater3_totalTime { get; set; } - public DataKeyValue Gelater3_stepTime { get; set; } - public DataKeyValue Gelater3_temperature { get; set; } - public DataKeyValue Gelater3_speed { get; set; } - public DataKeyValue Gelater3_currnet { get; set; } - public DataKeyValue Gelater3_pressure { get; set; } - public DataKeyValue Gelater4_mode { get; set; } - public DataKeyValue Gelater4_status { get; set; } - public DataKeyValue Gelater4_batch { get; set; } - public DataKeyValue Gelater4_step { get; set; } - public DataKeyValue Gelater4_stepCode { get; set; } - public DataKeyValue Gelater4_totalTime { get; set; } - public DataKeyValue Gelater4_stepTime { get; set; } - public DataKeyValue Gelater4_temperature { get; set; } - public DataKeyValue Gelater4_speed { get; set; } - public DataKeyValue Gelater4_currnet { get; set; } - public DataKeyValue Gelater4_pressure { get; set; } - public DataKeyValue Gelater5_mode { get; set; } - public DataKeyValue Gelater5_status { get; set; } - public DataKeyValue Gelater5_batch { get; set; } - public DataKeyValue Gelater5_step { get; set; } - public DataKeyValue Gelater5_stepCode { get; set; } - public DataKeyValue Gelater5_totalTime { get; set; } - public DataKeyValue Gelater5_stepTime { get; set; } - public DataKeyValue Gelater5_temperature { get; set; } - public DataKeyValue Gelater5_speed { get; set; } - public DataKeyValue Gelater5_currnet { get; set; } - public DataKeyValue Gelater5_pressure { get; set; } - public DataKeyValue Gelater6_mode { get; set; } - public DataKeyValue Gelater6_status { get; set; } - public DataKeyValue Gelater6_batch { get; set; } - public DataKeyValue Gelater6_step { get; set; } - public DataKeyValue Gelater6_stepCode { get; set; } - public DataKeyValue Gelater6_totalTime { get; set; } - public DataKeyValue Gelater6_stepTime { get; set; } - public DataKeyValue Gelater6_temperature { get; set; } - public DataKeyValue Gelater6_speed { get; set; } - public DataKeyValue Gelater6_currnet { get; set; } - public DataKeyValue Gelater6_pressure { get; set; } - public DataKeyValue Gelater7_mode { get; set; } - public DataKeyValue Gelater7_status { get; set; } - public DataKeyValue Gelater7_batch { get; set; } - public DataKeyValue Gelater7_step { get; set; } - public DataKeyValue Gelater7_stepCode { get; set; } - public DataKeyValue Gelater7_totalTime { get; set; } - public DataKeyValue Gelater7_stepTime { get; set; } - public DataKeyValue Gelater7_temperature { get; set; } - public DataKeyValue Gelater7_speed { get; set; } - public DataKeyValue Gelater7_currnet { get; set; } - public DataKeyValue Gelater7_pressure { get; set; } - public DataKeyValue Weter0_mode { get; set; } - public DataKeyValue Weter0_status { get; set; } - public DataKeyValue Weter0_batch { get; set; } - public DataKeyValue Weter0_step { get; set; } - public DataKeyValue Weter0_stepCode { get; set; } - public DataKeyValue Weter0_totalTime { get; set; } - public DataKeyValue Weter0_stepTime { get; set; } - public DataKeyValue Weter0_temperature { get; set; } - public DataKeyValue Weter0_speed { get; set; } - public DataKeyValue Weter0_currnet { get; set; } - public DataKeyValue Weter0_pressure { get; set; } - public DataKeyValue Weter1_mode { get; set; } - public DataKeyValue Weter1_status { get; set; } - public DataKeyValue Weter1_batch { get; set; } - public DataKeyValue Weter1_step { get; set; } - public DataKeyValue Weter1_stepCode { get; set; } - public DataKeyValue Weter1_totalTime { get; set; } - public DataKeyValue Weter1_stepTime { get; set; } - public DataKeyValue Weter1_temperature { get; set; } - public DataKeyValue Weter1_speed { get; set; } - public DataKeyValue Weter1_currnet { get; set; } - public DataKeyValue Weter1_pressure { get; set; } - public DataKeyValue Weter2_mode { get; set; } - public DataKeyValue Weter2_status { get; set; } - public DataKeyValue Weter2_batch { get; set; } - public DataKeyValue Weter2_step { get; set; } - public DataKeyValue Weter2_stepCode { get; set; } - public DataKeyValue Weter2_totalTime { get; set; } - public DataKeyValue Weter2_stepTime { get; set; } - public DataKeyValue Weter2_temperature { get; set; } - public DataKeyValue Weter2_speed { get; set; } - public DataKeyValue Weter2_currnet { get; set; } - public DataKeyValue Weter2_pressure { get; set; } - public DataKeyValue Weter3_mode { get; set; } - public DataKeyValue Weter3_status { get; set; } - public DataKeyValue Weter3_batch { get; set; } - public DataKeyValue Weter3_step { get; set; } - public DataKeyValue Weter3_stepCode { get; set; } - public DataKeyValue Weter3_totalTime { get; set; } - public DataKeyValue Weter3_stepTime { get; set; } - public DataKeyValue Weter3_temperature { get; set; } - public DataKeyValue Weter3_speed { get; set; } - public DataKeyValue Weter3_currnet { get; set; } - public DataKeyValue Weter3_pressure { get; set; } - public DataKeyValue Weter4_mode { get; set; } - public DataKeyValue Weter4_status { get; set; } - public DataKeyValue Weter4_batch { get; set; } - public DataKeyValue Weter4_step { get; set; } - public DataKeyValue Weter4_stepCode { get; set; } - public DataKeyValue Weter4_totalTime { get; set; } - public DataKeyValue Weter4_stepTime { get; set; } - public DataKeyValue Weter4_temperature { get; set; } - public DataKeyValue Weter4_speed { get; set; } - public DataKeyValue Weter4_currnet { get; set; } - public DataKeyValue Weter4_pressure { get; set; } - public DataKeyValue Weter5_mode { get; set; } - public DataKeyValue Weter5_status { get; set; } - public DataKeyValue Weter5_batch { get; set; } - public DataKeyValue Weter5_step { get; set; } - public DataKeyValue Weter5_stepCode { get; set; } - public DataKeyValue Weter5_totalTime { get; set; } - public DataKeyValue Weter5_stepTime { get; set; } - public DataKeyValue Weter5_temperature { get; set; } - public DataKeyValue Weter5_speed { get; set; } - public DataKeyValue Weter5_currnet { get; set; } - public DataKeyValue Weter5_pressure { get; set; } - public DataKeyValue Weter6_mode { get; set; } - public DataKeyValue Weter6_status { get; set; } - public DataKeyValue Weter6_batch { get; set; } - public DataKeyValue Weter6_step { get; set; } - public DataKeyValue Weter6_stepCode { get; set; } - public DataKeyValue Weter6_totalTime { get; set; } - public DataKeyValue Weter6_stepTime { get; set; } - public DataKeyValue Weter6_temperature { get; set; } - public DataKeyValue Weter6_speed { get; set; } - public DataKeyValue Weter6_currnet { get; set; } - public DataKeyValue Weter6_pressure { get; set; } - public DataKeyValue Weter7_mode { get; set; } - public DataKeyValue Weter7_status { get; set; } - public DataKeyValue Weter7_batch { get; set; } - public DataKeyValue Weter7_step { get; set; } - public DataKeyValue Weter7_stepCode { get; set; } - public DataKeyValue Weter7_totalTime { get; set; } - public DataKeyValue Weter7_stepTime { get; set; } - public DataKeyValue Weter7_temperature { get; set; } - public DataKeyValue Weter7_speed { get; set; } - public DataKeyValue Weter7_currnet { get; set; } - public DataKeyValue Weter7_pressure { get; set; } + //public DataKeyValue conveyV5_SV { get; set; } + //public DataKeyValue conveyV5_PV { get; set; } + //public DataKeyValue purgeV5_SV { get; set; } + //public DataKeyValue purgeV5_PV { get; set; } - #endregion - #region 2107 增补 - //public DataKeyValue AS1BLT01 { get; set; } - //public DataKeyValue AS1BLT02 { get; set; } - //public DataKeyValue AS1BLT03 { get; set; } - //public DataKeyValue AS1BLT04 { get; set; } - //public DataKeyValue AS1BLT05 { get; set; } - //public DataKeyValue AS2BLT01 { get; set; } - //public DataKeyValue AS2BLT02 { get; set; } - //public DataKeyValue AS2BLT03 { get; set; } - //public DataKeyValue AS2BLT04 { get; set; } - //public DataKeyValue AS2BLT05 { get; set; } - //public DataKeyValue AS3BLT01 { get; set; } - //public DataKeyValue AS3BLT02 { get; set; } - //public DataKeyValue AS3BLT03 { get; set; } - //public DataKeyValue AS3BLT04 { get; set; } - //public DataKeyValue AS3BLT05 { get; set; } - //public DataKeyValue AS4BLT01 { get; set; } - //public DataKeyValue AS4BLT02 { get; set; } - //public DataKeyValue AS4BLT03 { get; set; } - //public DataKeyValue AS4BLT04 { get; set; } - //public DataKeyValue AS4BLT05 { get; set; } - //public DataKeyValue AS5BLT01 { get; set; } - //public DataKeyValue AS5BLT02 { get; set; } - //public DataKeyValue AS5BLT03 { get; set; } - //public DataKeyValue AS5BLT04 { get; set; } - //public DataKeyValue AS5BLT05 { get; set; } - //public DataKeyValue AS1OIS01 { get; set; } - //public DataKeyValue AS1OIS02 { get; set; } - //public DataKeyValue AS1OIS03 { get; set; } - //public DataKeyValue AS2OIS01 { get; set; } - //public DataKeyValue AS2OIS02 { get; set; } - //public DataKeyValue AS2OIS03 { get; set; } - //public DataKeyValue AS3OIS01 { get; set; } - //public DataKeyValue AS3OIS02 { get; set; } - //public DataKeyValue AS3OIS03 { get; set; } - //public DataKeyValue AS4OIS01 { get; set; } - //public DataKeyValue AS4OIS02 { get; set; } - //public DataKeyValue AS4OIS03 { get; set; } - //public DataKeyValue AS2PCP01 { get; set; } - //public DataKeyValue AS2PCP02 { get; set; } - //public DataKeyValue AS2PCP03 { get; set; } - //public DataKeyValue PV1ADB01 { get; set; } - //public DataKeyValue PV1BDB01 { get; set; } - //public DataKeyValue PV1CDB01 { get; set; } - //public DataKeyValue PV1DDB01 { get; set; } - //public DataKeyValue PV1EDB01 { get; set; } - //public DataKeyValue PV1FDB01 { get; set; } - //public DataKeyValue PV1GDB01 { get; set; } - //public DataKeyValue PV1HDB01 { get; set; } - //public DataKeyValue PV1IDB01 { get; set; } - //public DataKeyValue PV1JDB01 { get; set; } - //public DataKeyValue PV1KDB01 { get; set; } - //public DataKeyValue PV1LDB01 { get; set; } - //public DataKeyValue PM1ADF01 { get; set; } - //public DataKeyValue PM1BDF01 { get; set; } - //public DataKeyValue PM1CDF01 { get; set; } - //public DataKeyValue PM1DDF01 { get; set; } - //public DataKeyValue PM1EDF01 { get; set; } - //public DataKeyValue PM1FDF01 { get; set; } - //public DataKeyValue PM1GDF01 { get; set; } - //public DataKeyValue PM1HDF01 { get; set; } - //public DataKeyValue PM1IDF01 { get; set; } - //public DataKeyValue PM1JDF01 { get; set; } - //public DataKeyValue PM1KDF01 { get; set; } - //public DataKeyValue PM1LDF01 { get; set; } - //public DataKeyValue PV2ADB01 { get; set; } - //public DataKeyValue PV2BDB01 { get; set; } - //public DataKeyValue PV2CDB01 { get; set; } - //public DataKeyValue PV2DDB01 { get; set; } - //public DataKeyValue AS1GET01 { get; set; } - //public DataKeyValue AS1GET02 { get; set; } - //public DataKeyValue AS2GET01 { get; set; } - //public DataKeyValue AS2GET02 { get; set; } - //public DataKeyValue AS3GET01 { get; set; } - //public DataKeyValue AS3GET02 { get; set; } - //public DataKeyValue AS4GET01 { get; set; } - //public DataKeyValue AS4GET02 { get; set; } - //public DataKeyValue AS5GET01 { get; set; } - //public DataKeyValue AS5GET02 { get; set; } - //public DataKeyValue AS6GET01 { get; set; } - //public DataKeyValue AS6GET02 { get; set; } - //public DataKeyValue AS7GET01 { get; set; } - //public DataKeyValue AS7GET02 { get; set; } - //public DataKeyValue AS8GET01 { get; set; } - //public DataKeyValue AS8GET02 { get; set; } + + //public DataKeyValue Hoper3_HighSpeed { get; set; } + //public DataKeyValue Hoper3_LowSpeed { get; set; } + //public DataKeyValue Hoper3_WeightSlow { get; set; } + //public DataKeyValue Hoper3_Precut { get; set; } + //public DataKeyValue Hoper3_JogTime { get; set; } + //public DataKeyValue Water0_HighSpeed { get; set; } + //public DataKeyValue Water0_LowSpeed { get; set; } + //public DataKeyValue Water0_WeightSlow { get; set; } + //public DataKeyValue Water0_Precut { get; set; } + //public DataKeyValue Water0_JogTime { get; set; } + //public DataKeyValue Water1_HighSpeed { get; set; } + //public DataKeyValue Water1_LowSpeed { get; set; } + //public DataKeyValue Water1_WeightSlow { get; set; } + //public DataKeyValue Water1_Precut { get; set; } + //public DataKeyValue Water1_JogTime { get; set; } + //public DataKeyValue Water2_HighSpeed { get; set; } + //public DataKeyValue Water2_LowSpeed { get; set; } + //public DataKeyValue Water2_WeightSlow { get; set; } + //public DataKeyValue Water2_Precut { get; set; } + //public DataKeyValue Water2_JogTime { get; set; } + //public DataKeyValue Water3_HighSpeed { get; set; } + //public DataKeyValue Water3_LowSpeed { get; set; } + //public DataKeyValue Water3_WeightSlow { get; set; } + //public DataKeyValue Water3_Precut { get; set; } + //public DataKeyValue Water3_JogTime { get; set; } + + + + //public DataKeyValue SpeedD1 { get; set; } + //public DataKeyValue SpeedD2 { get; set; } + //public DataKeyValue SpeedD3 { get; set; } + //public DataKeyValue SpeedD4 { get; set; } + + //public DataKeyValue SpeedG1 { get; set; } + //public DataKeyValue SpeedG2 { get; set; } + //public DataKeyValue SpeedG3 { get; set; } + //public DataKeyValue SpeedG4 { get; set; } + + //public DataKeyValue SpeedG5 { get; set; } + //public DataKeyValue SpeedG6 { get; set; } + //public DataKeyValue SpeedG7 { get; set; } + //public DataKeyValue SpeedG8 { get; set; } + + + //public DataKeyValue SpeedH1 { get; set; } + //public DataKeyValue SpeedH2 { get; set; } + //public DataKeyValue SpeedH3 { get; set; } + //public DataKeyValue SpeedH4 { get; set; } + + + //public DataKeyValue SpeedS1 { get; set; } + //public DataKeyValue SpeedS5 { get; set; } + //public DataKeyValue SpeedS7 { get; set; } + //public DataKeyValue SpeedS11 { get; set; } + //public DataKeyValue SpeedS15 { get; set; } + + + + + //public DataKeyValue Dryer0_mode { get; set; } + //public DataKeyValue Dryer0_status { get; set; } + //public DataKeyValue Dryer0_batch { get; set; } + //public DataKeyValue Dryer0_step { get; set; } + //public DataKeyValue Dryer0_stepCode { get; set; } + //public DataKeyValue Dryer0_totalTime { get; set; } + //public DataKeyValue Dryer0_stepTime { get; set; } + //public DataKeyValue Dryer0_temperature { get; set; } + //public DataKeyValue Dryer0_speed { get; set; } + //public DataKeyValue Dryer0_currnet { get; set; } + //public DataKeyValue Dryer0_pressure { get; set; } + + //public DataKeyValue Dryer1_mode { get; set; } + //public DataKeyValue Dryer1_status { get; set; } + //public DataKeyValue Dryer1_batch { get; set; } + //public DataKeyValue Dryer1_step { get; set; } + //public DataKeyValue Dryer1_stepCode { get; set; } + //public DataKeyValue Dryer1_totalTime { get; set; } + //public DataKeyValue Dryer1_stepTime { get; set; } + //public DataKeyValue Dryer1_temperature { get; set; } + //public DataKeyValue Dryer1_speed { get; set; } + //public DataKeyValue Dryer1_currnet { get; set; } + //public DataKeyValue Dryer1_pressure { get; set; } + //public DataKeyValue Dryer2_mode { get; set; } + //public DataKeyValue Dryer2_status { get; set; } + //public DataKeyValue Dryer2_batch { get; set; } + //public DataKeyValue Dryer2_step { get; set; } + //public DataKeyValue Dryer2_stepCode { get; set; } + //public DataKeyValue Dryer2_totalTime { get; set; } + //public DataKeyValue Dryer2_stepTime { get; set; } + //public DataKeyValue Dryer2_temperature { get; set; } + //public DataKeyValue Dryer2_speed { get; set; } + //public DataKeyValue Dryer2_currnet { get; set; } + //public DataKeyValue Dryer2_pressure { get; set; } + //public DataKeyValue Dryer3_mode { get; set; } + //public DataKeyValue Dryer3_status { get; set; } + //public DataKeyValue Dryer3_batch { get; set; } + //public DataKeyValue Dryer3_step { get; set; } + //public DataKeyValue Dryer3_stepCode { get; set; } + //public DataKeyValue Dryer3_totalTime { get; set; } + //public DataKeyValue Dryer3_stepTime { get; set; } + //public DataKeyValue Dryer3_temperature { get; set; } + //public DataKeyValue Dryer3_speed { get; set; } + //public DataKeyValue Dryer3_currnet { get; set; } + //public DataKeyValue Dryer3_pressure { get; set; } + + //public DataKeyValue Gelater0_mode { get; set; } + //public DataKeyValue Gelater0_status { get; set; } + //public DataKeyValue Gelater0_batch { get; set; } + //public DataKeyValue Gelater0_step { get; set; } + //public DataKeyValue Gelater0_stepCode { get; set; } + //public DataKeyValue Gelater0_totalTime { get; set; } + //public DataKeyValue Gelater0_stepTime { get; set; } + //public DataKeyValue Gelater0_temperature { get; set; } + //public DataKeyValue Gelater0_speed { get; set; } + //public DataKeyValue Gelater0_currnet { get; set; } + //public DataKeyValue Gelater0_pressure { get; set; } + //public DataKeyValue Gelater1_mode { get; set; } + //public DataKeyValue Gelater1_status { get; set; } + //public DataKeyValue Gelater1_batch { get; set; } + //public DataKeyValue Gelater1_step { get; set; } + //public DataKeyValue Gelater1_stepCode { get; set; } + //public DataKeyValue Gelater1_totalTime { get; set; } + //public DataKeyValue Gelater1_stepTime { get; set; } + //public DataKeyValue Gelater1_temperature { get; set; } + //public DataKeyValue Gelater1_speed { get; set; } + //public DataKeyValue Gelater1_currnet { get; set; } + //public DataKeyValue Gelater1_pressure { get; set; } + //public DataKeyValue Gelater2_mode { get; set; } + //public DataKeyValue Gelater2_status { get; set; } + //public DataKeyValue Gelater2_batch { get; set; } + //public DataKeyValue Gelater2_step { get; set; } + //public DataKeyValue Gelater2_stepCode { get; set; } + //public DataKeyValue Gelater2_totalTime { get; set; } + //public DataKeyValue Gelater2_stepTime { get; set; } + //public DataKeyValue Gelater2_temperature { get; set; } + //public DataKeyValue Gelater2_speed { get; set; } + //public DataKeyValue Gelater2_currnet { get; set; } + //public DataKeyValue Gelater2_pressure { get; set; } + //public DataKeyValue Gelater3_mode { get; set; } + //public DataKeyValue Gelater3_status { get; set; } + //public DataKeyValue Gelater3_batch { get; set; } + //public DataKeyValue Gelater3_step { get; set; } + //public DataKeyValue Gelater3_stepCode { get; set; } + //public DataKeyValue Gelater3_totalTime { get; set; } + //public DataKeyValue Gelater3_stepTime { get; set; } + //public DataKeyValue Gelater3_temperature { get; set; } + //public DataKeyValue Gelater3_speed { get; set; } + //public DataKeyValue Gelater3_currnet { get; set; } + //public DataKeyValue Gelater3_pressure { get; set; } + //public DataKeyValue Gelater4_mode { get; set; } + //public DataKeyValue Gelater4_status { get; set; } + //public DataKeyValue Gelater4_batch { get; set; } + //public DataKeyValue Gelater4_step { get; set; } + //public DataKeyValue Gelater4_stepCode { get; set; } + //public DataKeyValue Gelater4_totalTime { get; set; } + //public DataKeyValue Gelater4_stepTime { get; set; } + //public DataKeyValue Gelater4_temperature { get; set; } + //public DataKeyValue Gelater4_speed { get; set; } + //public DataKeyValue Gelater4_currnet { get; set; } + //public DataKeyValue Gelater4_pressure { get; set; } + //public DataKeyValue Gelater5_mode { get; set; } + //public DataKeyValue Gelater5_status { get; set; } + //public DataKeyValue Gelater5_batch { get; set; } + //public DataKeyValue Gelater5_step { get; set; } + //public DataKeyValue Gelater5_stepCode { get; set; } + //public DataKeyValue Gelater5_totalTime { get; set; } + //public DataKeyValue Gelater5_stepTime { get; set; } + //public DataKeyValue Gelater5_temperature { get; set; } + //public DataKeyValue Gelater5_speed { get; set; } + //public DataKeyValue Gelater5_currnet { get; set; } + //public DataKeyValue Gelater5_pressure { get; set; } + //public DataKeyValue Gelater6_mode { get; set; } + //public DataKeyValue Gelater6_status { get; set; } + //public DataKeyValue Gelater6_batch { get; set; } + //public DataKeyValue Gelater6_step { get; set; } + //public DataKeyValue Gelater6_stepCode { get; set; } + //public DataKeyValue Gelater6_totalTime { get; set; } + //public DataKeyValue Gelater6_stepTime { get; set; } + //public DataKeyValue Gelater6_temperature { get; set; } + //public DataKeyValue Gelater6_speed { get; set; } + //public DataKeyValue Gelater6_currnet { get; set; } + //public DataKeyValue Gelater6_pressure { get; set; } + //public DataKeyValue Gelater7_mode { get; set; } + //public DataKeyValue Gelater7_status { get; set; } + //public DataKeyValue Gelater7_batch { get; set; } + //public DataKeyValue Gelater7_step { get; set; } + //public DataKeyValue Gelater7_stepCode { get; set; } + //public DataKeyValue Gelater7_totalTime { get; set; } + //public DataKeyValue Gelater7_stepTime { get; set; } + //public DataKeyValue Gelater7_temperature { get; set; } + //public DataKeyValue Gelater7_speed { get; set; } + //public DataKeyValue Gelater7_currnet { get; set; } + //public DataKeyValue Gelater7_pressure { get; set; } + //public DataKeyValue Weter0_mode { get; set; } + //public DataKeyValue Weter0_status { get; set; } + //public DataKeyValue Weter0_batch { get; set; } + //public DataKeyValue Weter0_step { get; set; } + //public DataKeyValue Weter0_stepCode { get; set; } + //public DataKeyValue Weter0_totalTime { get; set; } + //public DataKeyValue Weter0_stepTime { get; set; } + //public DataKeyValue Weter0_temperature { get; set; } + //public DataKeyValue Weter0_speed { get; set; } + //public DataKeyValue Weter0_currnet { get; set; } + //public DataKeyValue Weter0_pressure { get; set; } + //public DataKeyValue Weter1_mode { get; set; } + //public DataKeyValue Weter1_status { get; set; } + //public DataKeyValue Weter1_batch { get; set; } + //public DataKeyValue Weter1_step { get; set; } + //public DataKeyValue Weter1_stepCode { get; set; } + //public DataKeyValue Weter1_totalTime { get; set; } + //public DataKeyValue Weter1_stepTime { get; set; } + //public DataKeyValue Weter1_temperature { get; set; } + //public DataKeyValue Weter1_speed { get; set; } + //public DataKeyValue Weter1_currnet { get; set; } + //public DataKeyValue Weter1_pressure { get; set; } + //public DataKeyValue Weter2_mode { get; set; } + //public DataKeyValue Weter2_status { get; set; } + //public DataKeyValue Weter2_batch { get; set; } + //public DataKeyValue Weter2_step { get; set; } + //public DataKeyValue Weter2_stepCode { get; set; } + //public DataKeyValue Weter2_totalTime { get; set; } + //public DataKeyValue Weter2_stepTime { get; set; } + //public DataKeyValue Weter2_temperature { get; set; } + //public DataKeyValue Weter2_speed { get; set; } + //public DataKeyValue Weter2_currnet { get; set; } + //public DataKeyValue Weter2_pressure { get; set; } + //public DataKeyValue Weter3_mode { get; set; } + //public DataKeyValue Weter3_status { get; set; } + //public DataKeyValue Weter3_batch { get; set; } + //public DataKeyValue Weter3_step { get; set; } + //public DataKeyValue Weter3_stepCode { get; set; } + //public DataKeyValue Weter3_totalTime { get; set; } + //public DataKeyValue Weter3_stepTime { get; set; } + //public DataKeyValue Weter3_temperature { get; set; } + //public DataKeyValue Weter3_speed { get; set; } + //public DataKeyValue Weter3_currnet { get; set; } + //public DataKeyValue Weter3_pressure { get; set; } + //public DataKeyValue Weter4_mode { get; set; } + //public DataKeyValue Weter4_status { get; set; } + //public DataKeyValue Weter4_batch { get; set; } + //public DataKeyValue Weter4_step { get; set; } + //public DataKeyValue Weter4_stepCode { get; set; } + //public DataKeyValue Weter4_totalTime { get; set; } + //public DataKeyValue Weter4_stepTime { get; set; } + //public DataKeyValue Weter4_temperature { get; set; } + //public DataKeyValue Weter4_speed { get; set; } + //public DataKeyValue Weter4_currnet { get; set; } + //public DataKeyValue Weter4_pressure { get; set; } + //public DataKeyValue Weter5_mode { get; set; } + //public DataKeyValue Weter5_status { get; set; } + //public DataKeyValue Weter5_batch { get; set; } + //public DataKeyValue Weter5_step { get; set; } + //public DataKeyValue Weter5_stepCode { get; set; } + //public DataKeyValue Weter5_totalTime { get; set; } + //public DataKeyValue Weter5_stepTime { get; set; } + //public DataKeyValue Weter5_temperature { get; set; } + //public DataKeyValue Weter5_speed { get; set; } + //public DataKeyValue Weter5_currnet { get; set; } + //public DataKeyValue Weter5_pressure { get; set; } + //public DataKeyValue Weter6_mode { get; set; } + //public DataKeyValue Weter6_status { get; set; } + //public DataKeyValue Weter6_batch { get; set; } + //public DataKeyValue Weter6_step { get; set; } + //public DataKeyValue Weter6_stepCode { get; set; } + //public DataKeyValue Weter6_totalTime { get; set; } + //public DataKeyValue Weter6_stepTime { get; set; } + //public DataKeyValue Weter6_temperature { get; set; } + //public DataKeyValue Weter6_speed { get; set; } + //public DataKeyValue Weter6_currnet { get; set; } + //public DataKeyValue Weter6_pressure { get; set; } + //public DataKeyValue Weter7_mode { get; set; } + //public DataKeyValue Weter7_status { get; set; } + //public DataKeyValue Weter7_batch { get; set; } + //public DataKeyValue Weter7_step { get; set; } + //public DataKeyValue Weter7_stepCode { get; set; } + //public DataKeyValue Weter7_totalTime { get; set; } + //public DataKeyValue Weter7_stepTime { get; set; } + //public DataKeyValue Weter7_temperature { get; set; } + //public DataKeyValue Weter7_speed { get; set; } + //public DataKeyValue Weter7_currnet { get; set; } + //public DataKeyValue Weter7_pressure { get; set; } + #endregion + + #region 2107 ///// ///// PLC通讯指示,大于0:正常,0:断线 @@ -1820,6163 +1139,27 @@ namespace Mesnac.Action.ChemicalWeighing /// public DataKeyValue RecipePause { get; set; } - ///// - ///// 系统准备接收配方 - ///// - //public DataKeyValue Ready { get; set; } - - - ///// - ///// 报警指示 - ///// - //public DataKeyValue Alarm { get; set; } - - - ///// - ///// 系统急停 - ///// - //public DataKeyValue EMStop { get; set; } - - - - ///// - ///// 报表数据准备好Vessel A - ///// - //public DataKeyValue RdyRpt_V1 { get; set; } - - ///// - ///// 报表数据准备好Vessel B - ///// - //public DataKeyValue RdyRpt_V2 { get; set; } - - ///// - ///// 报表数据准备好Vessel C - ///// - //public DataKeyValue RdyRpt_V3 { get; set; } - - ///// - ///// 报表数据准备好Vessel D - ///// - //public DataKeyValue RdyRpt_V4 { get; set; } - - ///// - ///// 报表数据准备好Vessel E - ///// - //public DataKeyValue RdyRpt_V5 { get; set; } - - ///// - ///// 报表数据准备好热水秤 A - ///// - - //public DataKeyValue RdyRpt_W1 { get; set; } - - ///// - ///// 报表数据准备好冷水秤 A - ///// - - //public DataKeyValue RdyRpt_W2 { get; set; } - - ///// - ///// 报表数据准备好热水秤 B - ///// - //public DataKeyValue RdyRpt_W3 { get; set; } - - ///// - ///// 报表数据准备好冷水秤 B - ///// - //public DataKeyValue RdyRpt_W4 { get; set; } - - ///// - ///// 报表数据准备好干混机A - ///// - //public DataKeyValue RdyRpt_D1 { get; set; } - - //public DataKeyValue RdyRpt_D2 { get; set; } - //public DataKeyValue RdyRpt_D3 { get; set; } - //public DataKeyValue RdyRpt_D4 { get; set; } - - ///// - ///// 报表数据准备糊化机A - ///// - //public DataKeyValue RdyRpt_G1 { get; set; } - - //public DataKeyValue RdyRpt_G2 { get; set; } - //public DataKeyValue RdyRpt_G3 { get; set; } - //public DataKeyValue RdyRpt_G4 { get; set; } - //public DataKeyValue RdyRpt_G5 { get; set; } - //public DataKeyValue RdyRpt_G6 { get; set; } - //public DataKeyValue RdyRpt_G7 { get; set; } - //public DataKeyValue RdyRpt_G8 { get; set; } - - ///// - ///// 报表数据准备好湿混机A - ///// - //public DataKeyValue RdyRpt_M1 { get; set; } - - //public DataKeyValue RdyRpt_M2 { get; set; } - //public DataKeyValue RdyRpt_M3 { get; set; } - //public DataKeyValue RdyRpt_M4 { get; set; } - //public DataKeyValue RdyRpt_M5 { get; set; } - //public DataKeyValue RdyRpt_M6 { get; set; } - //public DataKeyValue RdyRpt_M7 { get; set; } - //public DataKeyValue RdyRpt_M8 { get; set; } - - - ///// - ///// 自动模式,1:自动,0:手动 - ///// - //public DataKeyValue AutoMode { get; set; } - - ///// - ///// 本地模式,1:本地,0:远程 - ///// - //public DataKeyValue LocMode { get; set; } - - ///// - ///// 测试模式(仅供系统调试时使用) - ///// - //public DataKeyValue TestMode { get; set; } - - ///// - ///// 启动,1:有效(默认有效状态为1) - ///// - //public DataKeyValue Start { get; set; } - - ///// - ///// 暂停/恢复按钮 - ///// - //public DataKeyValue Pause { get; set; } - - ///// - ///// 停止系统 - ///// - //public DataKeyValue Stop { get; set; } - - ///// - ///// 系统复位 - ///// - //public DataKeyValue Reset { get; set; } - - - ///// - ///// 报警复位 - ///// - //public DataKeyValue AlarmAck { get; set; } - - ///// - ///// 灯测试 - ///// - //public DataKeyValue LampTest { get; set; } - - #endregion - - #region 2102 - //public DataKeyValue BU1ASF01_ManualMode { get; set; } - //public DataKeyValue BU1ASF01_AutoMode { get; set; } - //public DataKeyValue BU1ASF01_AlarmReset { get; set; } - //public DataKeyValue BU1ASF01_SetManual { get; set; } - //public DataKeyValue BU1ASF01_SetAuto { get; set; } - //public DataKeyValue BU1ASF01_SetPosition { get; set; } - //public DataKeyValue BU1ASF01_UnSetPosition { get; set; } - //public DataKeyValue BU1ASF01_Set { get; set; } - //public DataKeyValue BU1ASF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1ASF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1ASF01_AlarmPosition { get; set; } - //public DataKeyValue BU1ASF01_Alarm { get; set; } - //public DataKeyValue BU1ASF01_P { get; set; } - //public DataKeyValue BU1BSF01_ManualMode { get; set; } - //public DataKeyValue BU1BSF01_AutoMode { get; set; } - //public DataKeyValue BU1BSF01_AlarmReset { get; set; } - //public DataKeyValue BU1BSF01_SetManual { get; set; } - //public DataKeyValue BU1BSF01_SetAuto { get; set; } - //public DataKeyValue BU1BSF01_SetPosition { get; set; } - //public DataKeyValue BU1BSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1BSF01_Set { get; set; } - //public DataKeyValue BU1BSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1BSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1BSF01_Alarm { get; set; } - //public DataKeyValue BU1BSF01_P { get; set; } - //public DataKeyValue BU1CSF01_ManualMode { get; set; } - //public DataKeyValue BU1CSF01_AutoMode { get; set; } - //public DataKeyValue BU1CSF01_AlarmReset { get; set; } - //public DataKeyValue BU1CSF01_SetManual { get; set; } - //public DataKeyValue BU1CSF01_SetAuto { get; set; } - //public DataKeyValue BU1CSF01_SetPosition { get; set; } - //public DataKeyValue BU1CSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1CSF01_Set { get; set; } - //public DataKeyValue BU1CSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1CSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1CSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1CSF01_Alarm { get; set; } - //public DataKeyValue BU1CSF01_P { get; set; } - //public DataKeyValue BU1DSF01_ManualMode { get; set; } - //public DataKeyValue BU1DSF01_AutoMode { get; set; } - //public DataKeyValue BU1DSF01_AlarmReset { get; set; } - //public DataKeyValue BU1DSF01_SetManual { get; set; } - //public DataKeyValue BU1DSF01_SetAuto { get; set; } - //public DataKeyValue BU1DSF01_SetPosition { get; set; } - //public DataKeyValue BU1DSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1DSF01_Set { get; set; } - //public DataKeyValue BU1DSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1DSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1DSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1DSF01_Alarm { get; set; } - //public DataKeyValue BU1DSF01_P { get; set; } - //public DataKeyValue BU1ESF01_ManualMode { get; set; } - //public DataKeyValue BU1ESF01_AutoMode { get; set; } - //public DataKeyValue BU1ESF01_AlarmReset { get; set; } - //public DataKeyValue BU1ESF01_SetManual { get; set; } - //public DataKeyValue BU1ESF01_SetAuto { get; set; } - //public DataKeyValue BU1ESF01_SetPosition { get; set; } - //public DataKeyValue BU1ESF01_UnSetPosition { get; set; } - //public DataKeyValue BU1ESF01_Set { get; set; } - //public DataKeyValue BU1ESF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1ESF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1ESF01_AlarmPosition { get; set; } - //public DataKeyValue BU1ESF01_Alarm { get; set; } - //public DataKeyValue BU1ESF01_P { get; set; } - //public DataKeyValue BU1FSF01_ManualMode { get; set; } - //public DataKeyValue BU1FSF01_AutoMode { get; set; } - //public DataKeyValue BU1FSF01_AlarmReset { get; set; } - //public DataKeyValue BU1FSF01_SetManual { get; set; } - //public DataKeyValue BU1FSF01_SetAuto { get; set; } - //public DataKeyValue BU1FSF01_SetPosition { get; set; } - //public DataKeyValue BU1FSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1FSF01_Set { get; set; } - //public DataKeyValue BU1FSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1FSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1FSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1FSF01_Alarm { get; set; } - //public DataKeyValue BU1FSF01_P { get; set; } - //public DataKeyValue BU1GSF01_ManualMode { get; set; } - //public DataKeyValue BU1GSF01_AutoMode { get; set; } - //public DataKeyValue BU1GSF01_AlarmReset { get; set; } - //public DataKeyValue BU1GSF01_SetManual { get; set; } - //public DataKeyValue BU1GSF01_SetAuto { get; set; } - //public DataKeyValue BU1GSF01_SetPosition { get; set; } - //public DataKeyValue BU1GSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1GSF01_Set { get; set; } - //public DataKeyValue BU1GSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1GSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1GSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1GSF01_Alarm { get; set; } - //public DataKeyValue BU1GSF01_P { get; set; } - //public DataKeyValue BU1HSF01_ManualMode { get; set; } - //public DataKeyValue BU1HSF01_AutoMode { get; set; } - //public DataKeyValue BU1HSF01_AlarmReset { get; set; } - //public DataKeyValue BU1HSF01_SetManual { get; set; } - //public DataKeyValue BU1HSF01_SetAuto { get; set; } - //public DataKeyValue BU1HSF01_SetPosition { get; set; } - //public DataKeyValue BU1HSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1HSF01_Set { get; set; } - //public DataKeyValue BU1HSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1HSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1HSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1HSF01_Alarm { get; set; } - //public DataKeyValue BU1HSF01_P { get; set; } - //public DataKeyValue BU1ISF01_ManualMode { get; set; } - //public DataKeyValue BU1ISF01_AutoMode { get; set; } - //public DataKeyValue BU1ISF01_AlarmReset { get; set; } - //public DataKeyValue BU1ISF01_SetManual { get; set; } - //public DataKeyValue BU1ISF01_SetAuto { get; set; } - //public DataKeyValue BU1ISF01_SetPosition { get; set; } - //public DataKeyValue BU1ISF01_UnSetPosition { get; set; } - //public DataKeyValue BU1ISF01_Set { get; set; } - //public DataKeyValue BU1ISF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1ISF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1ISF01_AlarmPosition { get; set; } - //public DataKeyValue BU1ISF01_Alarm { get; set; } - //public DataKeyValue BU1ISF01_P { get; set; } - //public DataKeyValue BU1JSF01_ManualMode { get; set; } - //public DataKeyValue BU1JSF01_AutoMode { get; set; } - //public DataKeyValue BU1JSF01_AlarmReset { get; set; } - //public DataKeyValue BU1JSF01_SetManual { get; set; } - //public DataKeyValue BU1JSF01_SetAuto { get; set; } - //public DataKeyValue BU1JSF01_SetPosition { get; set; } - //public DataKeyValue BU1JSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1JSF01_Set { get; set; } - //public DataKeyValue BU1JSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1JSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1JSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1JSF01_Alarm { get; set; } - //public DataKeyValue BU1JSF01_P { get; set; } - //public DataKeyValue BU1KSF01_ManualMode { get; set; } - //public DataKeyValue BU1KSF01_AutoMode { get; set; } - //public DataKeyValue BU1KSF01_AlarmReset { get; set; } - //public DataKeyValue BU1KSF01_SetManual { get; set; } - //public DataKeyValue BU1KSF01_SetAuto { get; set; } - //public DataKeyValue BU1KSF01_SetPosition { get; set; } - //public DataKeyValue BU1KSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1KSF01_Set { get; set; } - //public DataKeyValue BU1KSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1KSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1KSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1KSF01_Alarm { get; set; } - //public DataKeyValue BU1KSF01_P { get; set; } - //public DataKeyValue BU1LSF01_ManualMode { get; set; } - //public DataKeyValue BU1LSF01_AutoMode { get; set; } - //public DataKeyValue BU1LSF01_AlarmReset { get; set; } - //public DataKeyValue BU1LSF01_SetManual { get; set; } - //public DataKeyValue BU1LSF01_SetAuto { get; set; } - //public DataKeyValue BU1LSF01_SetPosition { get; set; } - //public DataKeyValue BU1LSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1LSF01_Set { get; set; } - //public DataKeyValue BU1LSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1LSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1LSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1LSF01_Alarm { get; set; } - //public DataKeyValue BU1LSF01_P { get; set; } - //public DataKeyValue BU1MSF01_ManualMode { get; set; } - //public DataKeyValue BU1MSF01_AutoMode { get; set; } - //public DataKeyValue BU1MSF01_AlarmReset { get; set; } - //public DataKeyValue BU1MSF01_SetManual { get; set; } - //public DataKeyValue BU1MSF01_SetAuto { get; set; } - //public DataKeyValue BU1MSF01_SetPosition { get; set; } - //public DataKeyValue BU1MSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1MSF01_Set { get; set; } - //public DataKeyValue BU1MSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1MSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1MSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1MSF01_Alarm { get; set; } - //public DataKeyValue BU1MSF01_P { get; set; } - //public DataKeyValue BU1NSF01_ManualMode { get; set; } - //public DataKeyValue BU1NSF01_AutoMode { get; set; } - //public DataKeyValue BU1NSF01_AlarmReset { get; set; } - //public DataKeyValue BU1NSF01_SetManual { get; set; } - //public DataKeyValue BU1NSF01_SetAuto { get; set; } - //public DataKeyValue BU1NSF01_SetPosition { get; set; } - //public DataKeyValue BU1NSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1NSF01_Set { get; set; } - //public DataKeyValue BU1NSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1NSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1NSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1NSF01_Alarm { get; set; } - //public DataKeyValue BU1NSF01_P { get; set; } - //public DataKeyValue BU1OSF01_ManualMode { get; set; } - //public DataKeyValue BU1OSF01_AutoMode { get; set; } - //public DataKeyValue BU1OSF01_AlarmReset { get; set; } - //public DataKeyValue BU1OSF01_SetManual { get; set; } - //public DataKeyValue BU1OSF01_SetAuto { get; set; } - //public DataKeyValue BU1OSF01_SetPosition { get; set; } - //public DataKeyValue BU1OSF01_UnSetPosition { get; set; } - //public DataKeyValue BU1OSF01_Set { get; set; } - //public DataKeyValue BU1OSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU1OSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1OSF01_AlarmPosition { get; set; } - //public DataKeyValue BU1OSF01_Alarm { get; set; } - //public DataKeyValue BU1OSF01_P { get; set; } - //public DataKeyValue BU1BLT01_ManualMode { get; set; } - //public DataKeyValue BU1BLT01_AutoMode { get; set; } - //public DataKeyValue BU1BLT01_AlarmReset { get; set; } - //public DataKeyValue BU1BLT01_SetManual { get; set; } - //public DataKeyValue BU1BLT01_SetAuto { get; set; } - //public DataKeyValue BU1BLT01_SetPosition { get; set; } - //public DataKeyValue BU1BLT01_UnSetPosition { get; set; } - public DataKeyValue BU1BLT01_Set { get; set; } - //public DataKeyValue BU1BLT01_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT01_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT01_Alarm { get; set; } - //public DataKeyValue BU1BLT01_P { get; set; } - //public DataKeyValue BU1BLT02_ManualMode { get; set; } - //public DataKeyValue BU1BLT02_AutoMode { get; set; } - //public DataKeyValue BU1BLT02_AlarmReset { get; set; } - //public DataKeyValue BU1BLT02_SetManual { get; set; } - //public DataKeyValue BU1BLT02_SetAuto { get; set; } - //public DataKeyValue BU1BLT02_SetPosition { get; set; } - //public DataKeyValue BU1BLT02_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT02_Set { get; set; } - //public DataKeyValue BU1BLT02_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT02_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT02_Alarm { get; set; } - //public DataKeyValue BU1BLT02_P { get; set; } - //public DataKeyValue BU1BLT03_ManualMode { get; set; } - //public DataKeyValue BU1BLT03_AutoMode { get; set; } - //public DataKeyValue BU1BLT03_AlarmReset { get; set; } - //public DataKeyValue BU1BLT03_SetManual { get; set; } - //public DataKeyValue BU1BLT03_SetAuto { get; set; } - //public DataKeyValue BU1BLT03_SetPosition { get; set; } - //public DataKeyValue BU1BLT03_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT03_Set { get; set; } - //public DataKeyValue BU1BLT03_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT03_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT03_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT03_Alarm { get; set; } - //public DataKeyValue BU1BLT03_P { get; set; } - //public DataKeyValue BU1BLT04_ManualMode { get; set; } - //public DataKeyValue BU1BLT04_AutoMode { get; set; } - //public DataKeyValue BU1BLT04_AlarmReset { get; set; } - //public DataKeyValue BU1BLT04_SetManual { get; set; } - //public DataKeyValue BU1BLT04_SetAuto { get; set; } - //public DataKeyValue BU1BLT04_SetPosition { get; set; } - //public DataKeyValue BU1BLT04_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT04_Set { get; set; } - //public DataKeyValue BU1BLT04_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT04_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT04_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT04_Alarm { get; set; } - //public DataKeyValue BU1BLT04_P { get; set; } - //public DataKeyValue BU1BLT05_ManualMode { get; set; } - //public DataKeyValue BU1BLT05_AutoMode { get; set; } - //public DataKeyValue BU1BLT05_AlarmReset { get; set; } - //public DataKeyValue BU1BLT05_SetManual { get; set; } - //public DataKeyValue BU1BLT05_SetAuto { get; set; } - //public DataKeyValue BU1BLT05_SetPosition { get; set; } - //public DataKeyValue BU1BLT05_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT05_Set { get; set; } - //public DataKeyValue BU1BLT05_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT05_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT05_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT05_Alarm { get; set; } - //public DataKeyValue BU1BLT05_P { get; set; } - //public DataKeyValue BU1BLT06_ManualMode { get; set; } - //public DataKeyValue BU1BLT06_AutoMode { get; set; } - //public DataKeyValue BU1BLT06_AlarmReset { get; set; } - //public DataKeyValue BU1BLT06_SetManual { get; set; } - //public DataKeyValue BU1BLT06_SetAuto { get; set; } - //public DataKeyValue BU1BLT06_SetPosition { get; set; } - //public DataKeyValue BU1BLT06_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT06_Set { get; set; } - //public DataKeyValue BU1BLT06_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT06_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT06_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT06_Alarm { get; set; } - //public DataKeyValue BU1BLT06_P { get; set; } - //public DataKeyValue BU1BLT07_ManualMode { get; set; } - //public DataKeyValue BU1BLT07_AutoMode { get; set; } - //public DataKeyValue BU1BLT07_AlarmReset { get; set; } - //public DataKeyValue BU1BLT07_SetManual { get; set; } - //public DataKeyValue BU1BLT07_SetAuto { get; set; } - //public DataKeyValue BU1BLT07_SetPosition { get; set; } - //public DataKeyValue BU1BLT07_UnSetPosition { get; set; } - //public DataKeyValue BU1BLT07_Set { get; set; } - //public DataKeyValue BU1BLT07_AlarmSetPos { get; set; } - //public DataKeyValue BU1BLT07_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BLT07_AlarmPosition { get; set; } - //public DataKeyValue BU1BLT07_Alarm { get; set; } - //public DataKeyValue BU1BLT07_P { get; set; } - //public DataKeyValue BU2BLT01_ManualMode { get; set; } - //public DataKeyValue BU2BLT01_AutoMode { get; set; } - //public DataKeyValue BU2BLT01_AlarmReset { get; set; } - //public DataKeyValue BU2BLT01_SetManual { get; set; } - //public DataKeyValue BU2BLT01_SetAuto { get; set; } - //public DataKeyValue BU2BLT01_SetPosition { get; set; } - //public DataKeyValue BU2BLT01_UnSetPosition { get; set; } - //public DataKeyValue BU2BLT01_Set { get; set; } - //public DataKeyValue BU2BLT01_AlarmSetPos { get; set; } - //public DataKeyValue BU2BLT01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BLT01_AlarmPosition { get; set; } - //public DataKeyValue BU2BLT01_Alarm { get; set; } - //public DataKeyValue BU2BLT01_P { get; set; } - //public DataKeyValue BU2BLT02_ManualMode { get; set; } - //public DataKeyValue BU2BLT02_AutoMode { get; set; } - //public DataKeyValue BU2BLT02_AlarmReset { get; set; } - //public DataKeyValue BU2BLT02_SetManual { get; set; } - //public DataKeyValue BU2BLT02_SetAuto { get; set; } - //public DataKeyValue BU2BLT02_SetPosition { get; set; } - //public DataKeyValue BU2BLT02_UnSetPosition { get; set; } - //public DataKeyValue BU2BLT02_Set { get; set; } - //public DataKeyValue BU2BLT02_AlarmSetPos { get; set; } - //public DataKeyValue BU2BLT02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BLT02_AlarmPosition { get; set; } - //public DataKeyValue BU2BLT02_Alarm { get; set; } - //public DataKeyValue BU2BLT02_P { get; set; } - //public DataKeyValue BU2BLT03_ManualMode { get; set; } - //public DataKeyValue BU2BLT03_AutoMode { get; set; } - //public DataKeyValue BU2BLT03_AlarmReset { get; set; } - //public DataKeyValue BU2BLT03_SetManual { get; set; } - //public DataKeyValue BU2BLT03_SetAuto { get; set; } - //public DataKeyValue BU2BLT03_SetPosition { get; set; } - //public DataKeyValue BU2BLT03_UnSetPosition { get; set; } - //public DataKeyValue BU2BLT03_Set { get; set; } - //public DataKeyValue BU2BLT03_AlarmSetPos { get; set; } - //public DataKeyValue BU2BLT03_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BLT03_AlarmPosition { get; set; } - //public DataKeyValue BU2BLT03_Alarm { get; set; } - //public DataKeyValue BU2BLT03_P { get; set; } - //public DataKeyValue BU2BLT04_ManualMode { get; set; } - //public DataKeyValue BU2BLT04_AutoMode { get; set; } - //public DataKeyValue BU2BLT04_AlarmReset { get; set; } - //public DataKeyValue BU2BLT04_SetManual { get; set; } - //public DataKeyValue BU2BLT04_SetAuto { get; set; } - //public DataKeyValue BU2BLT04_SetPosition { get; set; } - //public DataKeyValue BU2BLT04_UnSetPosition { get; set; } - //public DataKeyValue BU2BLT04_Set { get; set; } - //public DataKeyValue BU2BLT04_AlarmSetPos { get; set; } - //public DataKeyValue BU2BLT04_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BLT04_AlarmPosition { get; set; } - //public DataKeyValue BU2BLT04_Alarm { get; set; } - //public DataKeyValue BU2BLT04_P { get; set; } - //public DataKeyValue BU2BLT05_ManualMode { get; set; } - //public DataKeyValue BU2BLT05_AutoMode { get; set; } - //public DataKeyValue BU2BLT05_AlarmReset { get; set; } - //public DataKeyValue BU2BLT05_SetManual { get; set; } - //public DataKeyValue BU2BLT05_SetAuto { get; set; } - //public DataKeyValue BU2BLT05_SetPosition { get; set; } - //public DataKeyValue BU2BLT05_UnSetPosition { get; set; } - //public DataKeyValue BU2BLT05_Set { get; set; } - //public DataKeyValue BU2BLT05_AlarmSetPos { get; set; } - //public DataKeyValue BU2BLT05_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BLT05_AlarmPosition { get; set; } - //public DataKeyValue BU2BLT05_Alarm { get; set; } - //public DataKeyValue BU2BLT05_P { get; set; } - //public DataKeyValue BU3BLT01_ManualMode { get; set; } - //public DataKeyValue BU3BLT01_AutoMode { get; set; } - //public DataKeyValue BU3BLT01_AlarmReset { get; set; } - //public DataKeyValue BU3BLT01_SetManual { get; set; } - //public DataKeyValue BU3BLT01_SetAuto { get; set; } - //public DataKeyValue BU3BLT01_SetPosition { get; set; } - //public DataKeyValue BU3BLT01_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT01_Set { get; set; } - //public DataKeyValue BU3BLT01_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT01_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT01_Alarm { get; set; } - //public DataKeyValue BU3BLT01_P { get; set; } - //public DataKeyValue BU3BLT02_ManualMode { get; set; } - //public DataKeyValue BU3BLT02_AutoMode { get; set; } - //public DataKeyValue BU3BLT02_AlarmReset { get; set; } - //public DataKeyValue BU3BLT02_SetManual { get; set; } - //public DataKeyValue BU3BLT02_SetAuto { get; set; } - //public DataKeyValue BU3BLT02_SetPosition { get; set; } - //public DataKeyValue BU3BLT02_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT02_Set { get; set; } - //public DataKeyValue BU3BLT02_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT02_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT02_Alarm { get; set; } - //public DataKeyValue BU3BLT02_P { get; set; } - //public DataKeyValue BU3BLT03_ManualMode { get; set; } - //public DataKeyValue BU3BLT03_AutoMode { get; set; } - //public DataKeyValue BU3BLT03_AlarmReset { get; set; } - //public DataKeyValue BU3BLT03_SetManual { get; set; } - //public DataKeyValue BU3BLT03_SetAuto { get; set; } - //public DataKeyValue BU3BLT03_SetPosition { get; set; } - //public DataKeyValue BU3BLT03_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT03_Set { get; set; } - //public DataKeyValue BU3BLT03_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT03_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT03_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT03_Alarm { get; set; } - //public DataKeyValue BU3BLT03_P { get; set; } - //public DataKeyValue BU3BLT04_ManualMode { get; set; } - //public DataKeyValue BU3BLT04_AutoMode { get; set; } - //public DataKeyValue BU3BLT04_AlarmReset { get; set; } - //public DataKeyValue BU3BLT04_SetManual { get; set; } - //public DataKeyValue BU3BLT04_SetAuto { get; set; } - //public DataKeyValue BU3BLT04_SetPosition { get; set; } - //public DataKeyValue BU3BLT04_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT04_Set { get; set; } - //public DataKeyValue BU3BLT04_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT04_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT04_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT04_Alarm { get; set; } - //public DataKeyValue BU3BLT04_P { get; set; } - //public DataKeyValue BU3BLT05_ManualMode { get; set; } - //public DataKeyValue BU3BLT05_AutoMode { get; set; } - //public DataKeyValue BU3BLT05_AlarmReset { get; set; } - //public DataKeyValue BU3BLT05_SetManual { get; set; } - //public DataKeyValue BU3BLT05_SetAuto { get; set; } - //public DataKeyValue BU3BLT05_SetPosition { get; set; } - //public DataKeyValue BU3BLT05_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT05_Set { get; set; } - //public DataKeyValue BU3BLT05_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT05_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT05_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT05_Alarm { get; set; } - //public DataKeyValue BU3BLT05_P { get; set; } - //public DataKeyValue BU3BLT06_ManualMode { get; set; } - //public DataKeyValue BU3BLT06_AutoMode { get; set; } - //public DataKeyValue BU3BLT06_AlarmReset { get; set; } - //public DataKeyValue BU3BLT06_SetManual { get; set; } - //public DataKeyValue BU3BLT06_SetAuto { get; set; } - //public DataKeyValue BU3BLT06_SetPosition { get; set; } - //public DataKeyValue BU3BLT06_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT06_Set { get; set; } - //public DataKeyValue BU3BLT06_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT06_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT06_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT06_Alarm { get; set; } - //public DataKeyValue BU3BLT06_P { get; set; } - //public DataKeyValue BU3BLT07_ManualMode { get; set; } - //public DataKeyValue BU3BLT07_AutoMode { get; set; } - //public DataKeyValue BU3BLT07_AlarmReset { get; set; } - //public DataKeyValue BU3BLT07_SetManual { get; set; } - //public DataKeyValue BU3BLT07_SetAuto { get; set; } - //public DataKeyValue BU3BLT07_SetPosition { get; set; } - //public DataKeyValue BU3BLT07_UnSetPosition { get; set; } - //public DataKeyValue BU3BLT07_Set { get; set; } - //public DataKeyValue BU3BLT07_AlarmSetPos { get; set; } - //public DataKeyValue BU3BLT07_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3BLT07_AlarmPosition { get; set; } - //public DataKeyValue BU3BLT07_Alarm { get; set; } - //public DataKeyValue BU3BLT07_P { get; set; } - //public DataKeyValue BU4BLT01_ManualMode { get; set; } - //public DataKeyValue BU4BLT01_AutoMode { get; set; } - //public DataKeyValue BU4BLT01_AlarmReset { get; set; } - //public DataKeyValue BU4BLT01_SetManual { get; set; } - //public DataKeyValue BU4BLT01_SetAuto { get; set; } - //public DataKeyValue BU4BLT01_SetPosition { get; set; } - //public DataKeyValue BU4BLT01_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT01_Set { get; set; } - //public DataKeyValue BU4BLT01_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT01_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT01_Alarm { get; set; } - //public DataKeyValue BU4BLT01_P { get; set; } - //public DataKeyValue BU4BLT02_ManualMode { get; set; } - //public DataKeyValue BU4BLT02_AutoMode { get; set; } - //public DataKeyValue BU4BLT02_AlarmReset { get; set; } - //public DataKeyValue BU4BLT02_SetManual { get; set; } - //public DataKeyValue BU4BLT02_SetAuto { get; set; } - //public DataKeyValue BU4BLT02_SetPosition { get; set; } - //public DataKeyValue BU4BLT02_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT02_Set { get; set; } - //public DataKeyValue BU4BLT02_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT02_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT02_Alarm { get; set; } - //public DataKeyValue BU4BLT02_P { get; set; } - //public DataKeyValue BU4BLT03_ManualMode { get; set; } - //public DataKeyValue BU4BLT03_AutoMode { get; set; } - //public DataKeyValue BU4BLT03_AlarmReset { get; set; } - //public DataKeyValue BU4BLT03_SetManual { get; set; } - //public DataKeyValue BU4BLT03_SetAuto { get; set; } - //public DataKeyValue BU4BLT03_SetPosition { get; set; } - //public DataKeyValue BU4BLT03_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT03_Set { get; set; } - //public DataKeyValue BU4BLT03_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT03_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT03_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT03_Alarm { get; set; } - //public DataKeyValue BU4BLT03_P { get; set; } - //public DataKeyValue BU4BLT04_ManualMode { get; set; } - //public DataKeyValue BU4BLT04_AutoMode { get; set; } - //public DataKeyValue BU4BLT04_AlarmReset { get; set; } - //public DataKeyValue BU4BLT04_SetManual { get; set; } - //public DataKeyValue BU4BLT04_SetAuto { get; set; } - //public DataKeyValue BU4BLT04_SetPosition { get; set; } - //public DataKeyValue BU4BLT04_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT04_Set { get; set; } - //public DataKeyValue BU4BLT04_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT04_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT04_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT04_Alarm { get; set; } - //public DataKeyValue BU4BLT04_P { get; set; } - //public DataKeyValue BU4BLT05_ManualMode { get; set; } - //public DataKeyValue BU4BLT05_AutoMode { get; set; } - //public DataKeyValue BU4BLT05_AlarmReset { get; set; } - //public DataKeyValue BU4BLT05_SetManual { get; set; } - //public DataKeyValue BU4BLT05_SetAuto { get; set; } - //public DataKeyValue BU4BLT05_SetPosition { get; set; } - //public DataKeyValue BU4BLT05_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT05_Set { get; set; } - //public DataKeyValue BU4BLT05_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT05_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT05_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT05_Alarm { get; set; } - //public DataKeyValue BU4BLT05_P { get; set; } - //public DataKeyValue BU4BLT06_ManualMode { get; set; } - //public DataKeyValue BU4BLT06_AutoMode { get; set; } - //public DataKeyValue BU4BLT06_AlarmReset { get; set; } - //public DataKeyValue BU4BLT06_SetManual { get; set; } - //public DataKeyValue BU4BLT06_SetAuto { get; set; } - //public DataKeyValue BU4BLT06_SetPosition { get; set; } - //public DataKeyValue BU4BLT06_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT06_Set { get; set; } - //public DataKeyValue BU4BLT06_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT06_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT06_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT06_Alarm { get; set; } - //public DataKeyValue BU4BLT06_P { get; set; } - //public DataKeyValue BU4BLT07_ManualMode { get; set; } - //public DataKeyValue BU4BLT07_AutoMode { get; set; } - //public DataKeyValue BU4BLT07_AlarmReset { get; set; } - //public DataKeyValue BU4BLT07_SetManual { get; set; } - //public DataKeyValue BU4BLT07_SetAuto { get; set; } - //public DataKeyValue BU4BLT07_SetPosition { get; set; } - //public DataKeyValue BU4BLT07_UnSetPosition { get; set; } - //public DataKeyValue BU4BLT07_Set { get; set; } - //public DataKeyValue BU4BLT07_AlarmSetPos { get; set; } - //public DataKeyValue BU4BLT07_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4BLT07_AlarmPosition { get; set; } - //public DataKeyValue BU4BLT07_Alarm { get; set; } - //public DataKeyValue BU4BLT07_P { get; set; } - //public DataKeyValue BU5BLT01_ManualMode { get; set; } - //public DataKeyValue BU5BLT01_AutoMode { get; set; } - //public DataKeyValue BU5BLT01_AlarmReset { get; set; } - //public DataKeyValue BU5BLT01_SetManual { get; set; } - //public DataKeyValue BU5BLT01_SetAuto { get; set; } - //public DataKeyValue BU5BLT01_SetPosition { get; set; } - //public DataKeyValue BU5BLT01_UnSetPosition { get; set; } - //public DataKeyValue BU5BLT01_Set { get; set; } - //public DataKeyValue BU5BLT01_AlarmSetPos { get; set; } - //public DataKeyValue BU5BLT01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU5BLT01_AlarmPosition { get; set; } - //public DataKeyValue BU5BLT01_Alarm { get; set; } - //public DataKeyValue BU5BLT01_P { get; set; } - //public DataKeyValue BU5BLT02_ManualMode { get; set; } - //public DataKeyValue BU5BLT02_AutoMode { get; set; } - //public DataKeyValue BU5BLT02_AlarmReset { get; set; } - //public DataKeyValue BU5BLT02_SetManual { get; set; } - //public DataKeyValue BU5BLT02_SetAuto { get; set; } - //public DataKeyValue BU5BLT02_SetPosition { get; set; } - //public DataKeyValue BU5BLT02_UnSetPosition { get; set; } - //public DataKeyValue BU5BLT02_Set { get; set; } - //public DataKeyValue BU5BLT02_AlarmSetPos { get; set; } - //public DataKeyValue BU5BLT02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU5BLT02_AlarmPosition { get; set; } - //public DataKeyValue BU5BLT02_Alarm { get; set; } - //public DataKeyValue BU5BLT02_P { get; set; } - //public DataKeyValue BU5BLT03_ManualMode { get; set; } - //public DataKeyValue BU5BLT03_AutoMode { get; set; } - //public DataKeyValue BU5BLT03_AlarmReset { get; set; } - //public DataKeyValue BU5BLT03_SetManual { get; set; } - //public DataKeyValue BU5BLT03_SetAuto { get; set; } - //public DataKeyValue BU5BLT03_SetPosition { get; set; } - //public DataKeyValue BU5BLT03_UnSetPosition { get; set; } - //public DataKeyValue BU5BLT03_Set { get; set; } - //public DataKeyValue BU5BLT03_AlarmSetPos { get; set; } - //public DataKeyValue BU5BLT03_AlarmUnSetPos { get; set; } - //public DataKeyValue BU5BLT03_AlarmPosition { get; set; } - //public DataKeyValue BU5BLT03_Alarm { get; set; } - //public DataKeyValue BU5BLT03_P { get; set; } - //public DataKeyValue BU5BLT04_ManualMode { get; set; } - //public DataKeyValue BU5BLT04_AutoMode { get; set; } - //public DataKeyValue BU5BLT04_AlarmReset { get; set; } - //public DataKeyValue BU5BLT04_SetManual { get; set; } - //public DataKeyValue BU5BLT04_SetAuto { get; set; } - //public DataKeyValue BU5BLT04_SetPosition { get; set; } - //public DataKeyValue BU5BLT04_UnSetPosition { get; set; } - //public DataKeyValue BU5BLT04_Set { get; set; } - //public DataKeyValue BU5BLT04_AlarmSetPos { get; set; } - //public DataKeyValue BU5BLT04_AlarmUnSetPos { get; set; } - //public DataKeyValue BU5BLT04_AlarmPosition { get; set; } - //public DataKeyValue BU5BLT04_Alarm { get; set; } - //public DataKeyValue BU5BLT04_P { get; set; } - //public DataKeyValue BU2ASF01_ManualMode { get; set; } - //public DataKeyValue BU2ASF01_AutoMode { get; set; } - //public DataKeyValue BU2ASF01_AlarmReset { get; set; } - //public DataKeyValue BU2ASF01_SetManual { get; set; } - //public DataKeyValue BU2ASF01_SetAuto { get; set; } - //public DataKeyValue BU2ASF01_SetPosition { get; set; } - //public DataKeyValue BU2ASF01_UnSetPosition { get; set; } - //public DataKeyValue BU2ASF01_Set { get; set; } - //public DataKeyValue BU2ASF01_AlarmSetPos { get; set; } - //public DataKeyValue BU2ASF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2ASF01_AlarmPosition { get; set; } - //public DataKeyValue BU2ASF01_Alarm { get; set; } - //public DataKeyValue BU2ASF01_P { get; set; } - //public DataKeyValue BU2ASF02_ManualMode { get; set; } - //public DataKeyValue BU2ASF02_AutoMode { get; set; } - //public DataKeyValue BU2ASF02_AlarmReset { get; set; } - //public DataKeyValue BU2ASF02_SetManual { get; set; } - //public DataKeyValue BU2ASF02_SetAuto { get; set; } - //public DataKeyValue BU2ASF02_SetPosition { get; set; } - //public DataKeyValue BU2ASF02_UnSetPosition { get; set; } - //public DataKeyValue BU2ASF02_Set { get; set; } - //public DataKeyValue BU2ASF02_AlarmSetPos { get; set; } - //public DataKeyValue BU2ASF02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2ASF02_AlarmPosition { get; set; } - //public DataKeyValue BU2ASF02_Alarm { get; set; } - //public DataKeyValue BU2ASF02_P { get; set; } - //public DataKeyValue BU2BSF01_ManualMode { get; set; } - //public DataKeyValue BU2BSF01_AutoMode { get; set; } - //public DataKeyValue BU2BSF01_AlarmReset { get; set; } - //public DataKeyValue BU2BSF01_SetManual { get; set; } - //public DataKeyValue BU2BSF01_SetAuto { get; set; } - //public DataKeyValue BU2BSF01_SetPosition { get; set; } - //public DataKeyValue BU2BSF01_UnSetPosition { get; set; } - //public DataKeyValue BU2BSF01_Set { get; set; } - //public DataKeyValue BU2BSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU2BSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BSF01_AlarmPosition { get; set; } - //public DataKeyValue BU2BSF01_Alarm { get; set; } - //public DataKeyValue BU2BSF01_P { get; set; } - //public DataKeyValue BU2BSF02_ManualMode { get; set; } - //public DataKeyValue BU2BSF02_AutoMode { get; set; } - //public DataKeyValue BU2BSF02_AlarmReset { get; set; } - //public DataKeyValue BU2BSF02_SetManual { get; set; } - //public DataKeyValue BU2BSF02_SetAuto { get; set; } - //public DataKeyValue BU2BSF02_SetPosition { get; set; } - //public DataKeyValue BU2BSF02_UnSetPosition { get; set; } - //public DataKeyValue BU2BSF02_Set { get; set; } - //public DataKeyValue BU2BSF02_AlarmSetPos { get; set; } - //public DataKeyValue BU2BSF02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2BSF02_AlarmPosition { get; set; } - //public DataKeyValue BU2BSF02_Alarm { get; set; } - //public DataKeyValue BU2BSF02_P { get; set; } - //public DataKeyValue BU2CSF01_ManualMode { get; set; } - //public DataKeyValue BU2CSF01_AutoMode { get; set; } - //public DataKeyValue BU2CSF01_AlarmReset { get; set; } - //public DataKeyValue BU2CSF01_SetManual { get; set; } - //public DataKeyValue BU2CSF01_SetAuto { get; set; } - //public DataKeyValue BU2CSF01_SetPosition { get; set; } - //public DataKeyValue BU2CSF01_UnSetPosition { get; set; } - //public DataKeyValue BU2CSF01_Set { get; set; } - //public DataKeyValue BU2CSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU2CSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2CSF01_AlarmPosition { get; set; } - //public DataKeyValue BU2CSF01_Alarm { get; set; } - //public DataKeyValue BU2CSF01_P { get; set; } - //public DataKeyValue BU2CSF02_ManualMode { get; set; } - //public DataKeyValue BU2CSF02_AutoMode { get; set; } - //public DataKeyValue BU2CSF02_AlarmReset { get; set; } - //public DataKeyValue BU2CSF02_SetManual { get; set; } - //public DataKeyValue BU2CSF02_SetAuto { get; set; } - //public DataKeyValue BU2CSF02_SetPosition { get; set; } - //public DataKeyValue BU2CSF02_UnSetPosition { get; set; } - //public DataKeyValue BU2CSF02_Set { get; set; } - //public DataKeyValue BU2CSF02_AlarmSetPos { get; set; } - //public DataKeyValue BU2CSF02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2CSF02_AlarmPosition { get; set; } - //public DataKeyValue BU2CSF02_Alarm { get; set; } - //public DataKeyValue BU2CSF02_P { get; set; } - //public DataKeyValue BU2DSF01_ManualMode { get; set; } - //public DataKeyValue BU2DSF01_AutoMode { get; set; } - //public DataKeyValue BU2DSF01_AlarmReset { get; set; } - //public DataKeyValue BU2DSF01_SetManual { get; set; } - //public DataKeyValue BU2DSF01_SetAuto { get; set; } - //public DataKeyValue BU2DSF01_SetPosition { get; set; } - //public DataKeyValue BU2DSF01_UnSetPosition { get; set; } - //public DataKeyValue BU2DSF01_Set { get; set; } - //public DataKeyValue BU2DSF01_AlarmSetPos { get; set; } - //public DataKeyValue BU2DSF01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2DSF01_AlarmPosition { get; set; } - //public DataKeyValue BU2DSF01_Alarm { get; set; } - //public DataKeyValue BU2DSF01_P { get; set; } - //public DataKeyValue BU2DSF02_ManualMode { get; set; } - //public DataKeyValue BU2DSF02_AutoMode { get; set; } - //public DataKeyValue BU2DSF02_AlarmReset { get; set; } - //public DataKeyValue BU2DSF02_SetManual { get; set; } - //public DataKeyValue BU2DSF02_SetAuto { get; set; } - //public DataKeyValue BU2DSF02_SetPosition { get; set; } - //public DataKeyValue BU2DSF02_UnSetPosition { get; set; } - //public DataKeyValue BU2DSF02_Set { get; set; } - //public DataKeyValue BU2DSF02_AlarmSetPos { get; set; } - //public DataKeyValue BU2DSF02_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2DSF02_AlarmPosition { get; set; } - //public DataKeyValue BU2DSF02_Alarm { get; set; } - //public DataKeyValue BU2DSF02_P { get; set; } - //public DataKeyValue BU1ADB01_ManualMode { get; set; } - //public DataKeyValue BU1ADB01_AutoMode { get; set; } - //public DataKeyValue BU1ADB01_AlarmReset { get; set; } - //public DataKeyValue BU1ADB01_SetManual { get; set; } - //public DataKeyValue BU1ADB01_SetAuto { get; set; } - //public DataKeyValue BU1ADB01_SetPosition { get; set; } - //public DataKeyValue BU1ADB01_UnSetPosition { get; set; } - //public DataKeyValue BU1ADB01_Set { get; set; } - //public DataKeyValue BU1ADB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1ADB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1ADB01_AlarmPosition { get; set; } - //public DataKeyValue BU1ADB01_Alarm { get; set; } - //public DataKeyValue BU1ADB01_P { get; set; } - //public DataKeyValue BU1BDB01_ManualMode { get; set; } - //public DataKeyValue BU1BDB01_AutoMode { get; set; } - //public DataKeyValue BU1BDB01_AlarmReset { get; set; } - //public DataKeyValue BU1BDB01_SetManual { get; set; } - //public DataKeyValue BU1BDB01_SetAuto { get; set; } - //public DataKeyValue BU1BDB01_SetPosition { get; set; } - //public DataKeyValue BU1BDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1BDB01_Set { get; set; } - //public DataKeyValue BU1BDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1BDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1BDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1BDB01_Alarm { get; set; } - //public DataKeyValue BU1BDB01_P { get; set; } - //public DataKeyValue BU1CDB01_ManualMode { get; set; } - //public DataKeyValue BU1CDB01_AutoMode { get; set; } - //public DataKeyValue BU1CDB01_AlarmReset { get; set; } - //public DataKeyValue BU1CDB01_SetManual { get; set; } - //public DataKeyValue BU1CDB01_SetAuto { get; set; } - //public DataKeyValue BU1CDB01_SetPosition { get; set; } - //public DataKeyValue BU1CDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1CDB01_Set { get; set; } - //public DataKeyValue BU1CDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1CDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1CDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1CDB01_Alarm { get; set; } - //public DataKeyValue BU1CDB01_P { get; set; } - //public DataKeyValue BU1DDB01_ManualMode { get; set; } - //public DataKeyValue BU1DDB01_AutoMode { get; set; } - //public DataKeyValue BU1DDB01_AlarmReset { get; set; } - //public DataKeyValue BU1DDB01_SetManual { get; set; } - //public DataKeyValue BU1DDB01_SetAuto { get; set; } - //public DataKeyValue BU1DDB01_SetPosition { get; set; } - //public DataKeyValue BU1DDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1DDB01_Set { get; set; } - //public DataKeyValue BU1DDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1DDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1DDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1DDB01_Alarm { get; set; } - //public DataKeyValue BU1DDB01_P { get; set; } - //public DataKeyValue BU1EDB01_ManualMode { get; set; } - //public DataKeyValue BU1EDB01_AutoMode { get; set; } - //public DataKeyValue BU1EDB01_AlarmReset { get; set; } - //public DataKeyValue BU1EDB01_SetManual { get; set; } - //public DataKeyValue BU1EDB01_SetAuto { get; set; } - //public DataKeyValue BU1EDB01_SetPosition { get; set; } - //public DataKeyValue BU1EDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1EDB01_Set { get; set; } - //public DataKeyValue BU1EDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1EDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1EDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1EDB01_Alarm { get; set; } - //public DataKeyValue BU1EDB01_P { get; set; } - //public DataKeyValue BU1FDB01_ManualMode { get; set; } - //public DataKeyValue BU1FDB01_AutoMode { get; set; } - //public DataKeyValue BU1FDB01_AlarmReset { get; set; } - //public DataKeyValue BU1FDB01_SetManual { get; set; } - //public DataKeyValue BU1FDB01_SetAuto { get; set; } - //public DataKeyValue BU1FDB01_SetPosition { get; set; } - //public DataKeyValue BU1FDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1FDB01_Set { get; set; } - //public DataKeyValue BU1FDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1FDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1FDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1FDB01_Alarm { get; set; } - //public DataKeyValue BU1FDB01_P { get; set; } - //public DataKeyValue BU1GDB01_ManualMode { get; set; } - //public DataKeyValue BU1GDB01_AutoMode { get; set; } - //public DataKeyValue BU1GDB01_AlarmReset { get; set; } - //public DataKeyValue BU1GDB01_SetManual { get; set; } - //public DataKeyValue BU1GDB01_SetAuto { get; set; } - //public DataKeyValue BU1GDB01_SetPosition { get; set; } - //public DataKeyValue BU1GDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1GDB01_Set { get; set; } - //public DataKeyValue BU1GDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1GDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1GDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1GDB01_Alarm { get; set; } - //public DataKeyValue BU1GDB01_P { get; set; } - //public DataKeyValue BU1HDB01_ManualMode { get; set; } - //public DataKeyValue BU1HDB01_AutoMode { get; set; } - //public DataKeyValue BU1HDB01_AlarmReset { get; set; } - //public DataKeyValue BU1HDB01_SetManual { get; set; } - //public DataKeyValue BU1HDB01_SetAuto { get; set; } - //public DataKeyValue BU1HDB01_SetPosition { get; set; } - //public DataKeyValue BU1HDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1HDB01_Set { get; set; } - //public DataKeyValue BU1HDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1HDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1HDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1HDB01_Alarm { get; set; } - //public DataKeyValue BU1HDB01_P { get; set; } - //public DataKeyValue BU1IDB01_ManualMode { get; set; } - //public DataKeyValue BU1IDB01_AutoMode { get; set; } - //public DataKeyValue BU1IDB01_AlarmReset { get; set; } - //public DataKeyValue BU1IDB01_SetManual { get; set; } - //public DataKeyValue BU1IDB01_SetAuto { get; set; } - //public DataKeyValue BU1IDB01_SetPosition { get; set; } - //public DataKeyValue BU1IDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1IDB01_Set { get; set; } - //public DataKeyValue BU1IDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1IDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1IDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1IDB01_Alarm { get; set; } - //public DataKeyValue BU1IDB01_P { get; set; } - //public DataKeyValue BU1JDB01_ManualMode { get; set; } - //public DataKeyValue BU1JDB01_AutoMode { get; set; } - //public DataKeyValue BU1JDB01_AlarmReset { get; set; } - //public DataKeyValue BU1JDB01_SetManual { get; set; } - //public DataKeyValue BU1JDB01_SetAuto { get; set; } - //public DataKeyValue BU1JDB01_SetPosition { get; set; } - //public DataKeyValue BU1JDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1JDB01_Set { get; set; } - //public DataKeyValue BU1JDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1JDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1JDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1JDB01_Alarm { get; set; } - //public DataKeyValue BU1JDB01_P { get; set; } - //public DataKeyValue BU1KDB01_ManualMode { get; set; } - //public DataKeyValue BU1KDB01_AutoMode { get; set; } - //public DataKeyValue BU1KDB01_AlarmReset { get; set; } - //public DataKeyValue BU1KDB01_SetManual { get; set; } - //public DataKeyValue BU1KDB01_SetAuto { get; set; } - //public DataKeyValue BU1KDB01_SetPosition { get; set; } - //public DataKeyValue BU1KDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1KDB01_Set { get; set; } - //public DataKeyValue BU1KDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1KDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1KDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1KDB01_Alarm { get; set; } - //public DataKeyValue BU1KDB01_P { get; set; } - //public DataKeyValue BU1LDB01_ManualMode { get; set; } - //public DataKeyValue BU1LDB01_AutoMode { get; set; } - //public DataKeyValue BU1LDB01_AlarmReset { get; set; } - //public DataKeyValue BU1LDB01_SetManual { get; set; } - //public DataKeyValue BU1LDB01_SetAuto { get; set; } - //public DataKeyValue BU1LDB01_SetPosition { get; set; } - //public DataKeyValue BU1LDB01_UnSetPosition { get; set; } - //public DataKeyValue BU1LDB01_Set { get; set; } - //public DataKeyValue BU1LDB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1LDB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1LDB01_AlarmPosition { get; set; } - //public DataKeyValue BU1LDB01_Alarm { get; set; } - //public DataKeyValue BU1LDB01_P { get; set; } - //public DataKeyValue DV2PCP01_ManualMode { get; set; } - //public DataKeyValue DV2PCP01_AutoMode { get; set; } - //public DataKeyValue DV2PCP01_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP01_SetRightManual { get; set; } - //public DataKeyValue DV2PCP01_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP01_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP01_AlarmReset { get; set; } - //public DataKeyValue DV2PCP01_LeftPosition { get; set; } - //public DataKeyValue DV2PCP01_RightPosition { get; set; } - //public DataKeyValue DV2PCP01_SetLeft { get; set; } - //public DataKeyValue DV2PCP01_SetRight { get; set; } - //public DataKeyValue DV2PCP01_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP01_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP01_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP01_Alarm { get; set; } - //public DataKeyValue DV2PCP01_P1 { get; set; } - //public DataKeyValue DV2PCP02_ManualMode { get; set; } - //public DataKeyValue DV2PCP02_AutoMode { get; set; } - //public DataKeyValue DV2PCP02_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP02_SetRightManual { get; set; } - //public DataKeyValue DV2PCP02_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP02_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP02_AlarmReset { get; set; } - //public DataKeyValue DV2PCP02_LeftPosition { get; set; } - //public DataKeyValue DV2PCP02_RightPosition { get; set; } - //public DataKeyValue DV2PCP02_SetLeft { get; set; } - //public DataKeyValue DV2PCP02_SetRight { get; set; } - //public DataKeyValue DV2PCP02_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP02_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP02_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP02_Alarm { get; set; } - //public DataKeyValue DV2PCP02_P1 { get; set; } - //public DataKeyValue DV2PCP03_ManualMode { get; set; } - //public DataKeyValue DV2PCP03_AutoMode { get; set; } - //public DataKeyValue DV2PCP03_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP03_SetRightManual { get; set; } - //public DataKeyValue DV2PCP03_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP03_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP03_AlarmReset { get; set; } - //public DataKeyValue DV2PCP03_LeftPosition { get; set; } - //public DataKeyValue DV2PCP03_RightPosition { get; set; } - //public DataKeyValue DV2PCP03_SetLeft { get; set; } - //public DataKeyValue DV2PCP03_SetRight { get; set; } - //public DataKeyValue DV2PCP03_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP03_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP03_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP03_Alarm { get; set; } - //public DataKeyValue DV2PCP03_P1 { get; set; } - //public DataKeyValue DV2PCP04_ManualMode { get; set; } - //public DataKeyValue DV2PCP04_AutoMode { get; set; } - //public DataKeyValue DV2PCP04_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP04_SetRightManual { get; set; } - //public DataKeyValue DV2PCP04_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP04_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP04_AlarmReset { get; set; } - //public DataKeyValue DV2PCP04_LeftPosition { get; set; } - //public DataKeyValue DV2PCP04_RightPosition { get; set; } - //public DataKeyValue DV2PCP04_SetLeft { get; set; } - //public DataKeyValue DV2PCP04_SetRight { get; set; } - //public DataKeyValue DV2PCP04_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP04_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP04_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP04_Alarm { get; set; } - //public DataKeyValue DV2PCP04_P1 { get; set; } - //public DataKeyValue DV2PCP05_ManualMode { get; set; } - //public DataKeyValue DV2PCP05_AutoMode { get; set; } - //public DataKeyValue DV2PCP05_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP05_SetRightManual { get; set; } - //public DataKeyValue DV2PCP05_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP05_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP05_AlarmReset { get; set; } - //public DataKeyValue DV2PCP05_LeftPosition { get; set; } - //public DataKeyValue DV2PCP05_RightPosition { get; set; } - //public DataKeyValue DV2PCP05_SetLeft { get; set; } - //public DataKeyValue DV2PCP05_SetRight { get; set; } - //public DataKeyValue DV2PCP05_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP05_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP05_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP05_Alarm { get; set; } - //public DataKeyValue DV2PCP05_P1 { get; set; } - //public DataKeyValue DV2PCP06_ManualMode { get; set; } - //public DataKeyValue DV2PCP06_AutoMode { get; set; } - //public DataKeyValue DV2PCP06_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP06_SetRightManual { get; set; } - //public DataKeyValue DV2PCP06_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP06_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP06_AlarmReset { get; set; } - //public DataKeyValue DV2PCP06_LeftPosition { get; set; } - //public DataKeyValue DV2PCP06_RightPosition { get; set; } - //public DataKeyValue DV2PCP06_SetLeft { get; set; } - //public DataKeyValue DV2PCP06_SetRight { get; set; } - //public DataKeyValue DV2PCP06_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP06_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP06_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP06_Alarm { get; set; } - //public DataKeyValue DV2PCP06_P1 { get; set; } - //public DataKeyValue DV2PCP07_ManualMode { get; set; } - //public DataKeyValue DV2PCP07_AutoMode { get; set; } - //public DataKeyValue DV2PCP07_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP07_SetRightManual { get; set; } - //public DataKeyValue DV2PCP07_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP07_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP07_AlarmReset { get; set; } - //public DataKeyValue DV2PCP07_LeftPosition { get; set; } - //public DataKeyValue DV2PCP07_RightPosition { get; set; } - //public DataKeyValue DV2PCP07_SetLeft { get; set; } - //public DataKeyValue DV2PCP07_SetRight { get; set; } - //public DataKeyValue DV2PCP07_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP07_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP07_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP07_Alarm { get; set; } - //public DataKeyValue DV2PCP07_P1 { get; set; } - //public DataKeyValue DV2PCP08_ManualMode { get; set; } - //public DataKeyValue DV2PCP08_AutoMode { get; set; } - //public DataKeyValue DV2PCP08_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP08_SetRightManual { get; set; } - //public DataKeyValue DV2PCP08_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP08_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP08_AlarmReset { get; set; } - //public DataKeyValue DV2PCP08_LeftPosition { get; set; } - //public DataKeyValue DV2PCP08_RightPosition { get; set; } - //public DataKeyValue DV2PCP08_SetLeft { get; set; } - //public DataKeyValue DV2PCP08_SetRight { get; set; } - //public DataKeyValue DV2PCP08_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP08_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP08_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP08_Alarm { get; set; } - //public DataKeyValue DV2PCP08_P1 { get; set; } - //public DataKeyValue DV2PCP09_ManualMode { get; set; } - //public DataKeyValue DV2PCP09_AutoMode { get; set; } - //public DataKeyValue DV2PCP09_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP09_SetRightManual { get; set; } - //public DataKeyValue DV2PCP09_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP09_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP09_AlarmReset { get; set; } - //public DataKeyValue DV2PCP09_LeftPosition { get; set; } - //public DataKeyValue DV2PCP09_RightPosition { get; set; } - //public DataKeyValue DV2PCP09_SetLeft { get; set; } - //public DataKeyValue DV2PCP09_SetRight { get; set; } - //public DataKeyValue DV2PCP09_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP09_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP09_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP09_Alarm { get; set; } - //public DataKeyValue DV2PCP09_P1 { get; set; } - //public DataKeyValue DV2PCP10_ManualMode { get; set; } - //public DataKeyValue DV2PCP10_AutoMode { get; set; } - //public DataKeyValue DV2PCP10_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP10_SetRightManual { get; set; } - //public DataKeyValue DV2PCP10_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP10_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP10_AlarmReset { get; set; } - //public DataKeyValue DV2PCP10_LeftPosition { get; set; } - //public DataKeyValue DV2PCP10_RightPosition { get; set; } - //public DataKeyValue DV2PCP10_SetLeft { get; set; } - //public DataKeyValue DV2PCP10_SetRight { get; set; } - //public DataKeyValue DV2PCP10_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP10_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP10_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP10_Alarm { get; set; } - //public DataKeyValue DV2PCP10_P1 { get; set; } - //public DataKeyValue DV2PCP11_ManualMode { get; set; } - //public DataKeyValue DV2PCP11_AutoMode { get; set; } - //public DataKeyValue DV2PCP11_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP11_SetRightManual { get; set; } - //public DataKeyValue DV2PCP11_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP11_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP11_AlarmReset { get; set; } - //public DataKeyValue DV2PCP11_LeftPosition { get; set; } - //public DataKeyValue DV2PCP11_RightPosition { get; set; } - //public DataKeyValue DV2PCP11_SetLeft { get; set; } - //public DataKeyValue DV2PCP11_SetRight { get; set; } - //public DataKeyValue DV2PCP11_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP11_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP11_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP11_Alarm { get; set; } - //public DataKeyValue DV2PCP11_P1 { get; set; } - //public DataKeyValue DV2PCP12_ManualMode { get; set; } - //public DataKeyValue DV2PCP12_AutoMode { get; set; } - //public DataKeyValue DV2PCP12_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP12_SetRightManual { get; set; } - //public DataKeyValue DV2PCP12_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP12_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP12_AlarmReset { get; set; } - //public DataKeyValue DV2PCP12_LeftPosition { get; set; } - //public DataKeyValue DV2PCP12_RightPosition { get; set; } - //public DataKeyValue DV2PCP12_SetLeft { get; set; } - //public DataKeyValue DV2PCP12_SetRight { get; set; } - //public DataKeyValue DV2PCP12_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP12_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP12_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP12_Alarm { get; set; } - //public DataKeyValue DV2PCP12_P1 { get; set; } - //public DataKeyValue DV2PCP13_ManualMode { get; set; } - //public DataKeyValue DV2PCP13_AutoMode { get; set; } - //public DataKeyValue DV2PCP13_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP13_SetRightManual { get; set; } - //public DataKeyValue DV2PCP13_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP13_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP13_AlarmReset { get; set; } - //public DataKeyValue DV2PCP13_LeftPosition { get; set; } - //public DataKeyValue DV2PCP13_RightPosition { get; set; } - //public DataKeyValue DV2PCP13_SetLeft { get; set; } - //public DataKeyValue DV2PCP13_SetRight { get; set; } - //public DataKeyValue DV2PCP13_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP13_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP13_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP13_Alarm { get; set; } - //public DataKeyValue DV2PCP13_P1 { get; set; } - //public DataKeyValue DV2PCP14_ManualMode { get; set; } - //public DataKeyValue DV2PCP14_AutoMode { get; set; } - //public DataKeyValue DV2PCP14_SetLeftManual { get; set; } - //public DataKeyValue DV2PCP14_SetRightManual { get; set; } - //public DataKeyValue DV2PCP14_SetLeftAuto { get; set; } - //public DataKeyValue DV2PCP14_SetRightAuto { get; set; } - //public DataKeyValue DV2PCP14_AlarmReset { get; set; } - //public DataKeyValue DV2PCP14_LeftPosition { get; set; } - //public DataKeyValue DV2PCP14_RightPosition { get; set; } - //public DataKeyValue DV2PCP14_SetLeft { get; set; } - //public DataKeyValue DV2PCP14_SetRight { get; set; } - //public DataKeyValue DV2PCP14_AlarmLeftPosition { get; set; } - //public DataKeyValue DV2PCP14_AlarmRightPosition { get; set; } - //public DataKeyValue DV2PCP14_AlarmPosition { get; set; } - //public DataKeyValue DV2PCP14_Alarm { get; set; } - //public DataKeyValue DV2PCP14_P1 { get; set; } - //public DataKeyValue BU1DRB01_ManualMode { get; set; } - //public DataKeyValue BU1DRB01_AutoMode { get; set; } - //public DataKeyValue BU1DRB01_AlarmReset { get; set; } - //public DataKeyValue BU1DRB01_SetManual { get; set; } - //public DataKeyValue BU1DRB01_SetAuto { get; set; } - //public DataKeyValue BU1DRB01_SetPosition { get; set; } - //public DataKeyValue BU1DRB01_UnSetPosition { get; set; } - //public DataKeyValue BU1DRB01_Set { get; set; } - //public DataKeyValue BU1DRB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1DRB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1DRB01_AlarmPosition { get; set; } - //public DataKeyValue BU1DRB01_Alarm { get; set; } - //public DataKeyValue BU1DRB01_P { get; set; } - //public DataKeyValue BU2DRB01_ManualMode { get; set; } - //public DataKeyValue BU2DRB01_AutoMode { get; set; } - //public DataKeyValue BU2DRB01_AlarmReset { get; set; } - //public DataKeyValue BU2DRB01_SetManual { get; set; } - //public DataKeyValue BU2DRB01_SetAuto { get; set; } - //public DataKeyValue BU2DRB01_SetPosition { get; set; } - //public DataKeyValue BU2DRB01_UnSetPosition { get; set; } - //public DataKeyValue BU2DRB01_Set { get; set; } - //public DataKeyValue BU2DRB01_AlarmSetPos { get; set; } - //public DataKeyValue BU2DRB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2DRB01_AlarmPosition { get; set; } - //public DataKeyValue BU2DRB01_Alarm { get; set; } - //public DataKeyValue BU2DRB01_P { get; set; } - //public DataKeyValue BU3DRB01_ManualMode { get; set; } - //public DataKeyValue BU3DRB01_AutoMode { get; set; } - //public DataKeyValue BU3DRB01_AlarmReset { get; set; } - //public DataKeyValue BU3DRB01_SetManual { get; set; } - //public DataKeyValue BU3DRB01_SetAuto { get; set; } - //public DataKeyValue BU3DRB01_SetPosition { get; set; } - //public DataKeyValue BU3DRB01_UnSetPosition { get; set; } - //public DataKeyValue BU3DRB01_Set { get; set; } - //public DataKeyValue BU3DRB01_AlarmSetPos { get; set; } - //public DataKeyValue BU3DRB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3DRB01_AlarmPosition { get; set; } - //public DataKeyValue BU3DRB01_Alarm { get; set; } - //public DataKeyValue BU3DRB01_P { get; set; } - //public DataKeyValue BU4DRB01_ManualMode { get; set; } - //public DataKeyValue BU4DRB01_AutoMode { get; set; } - //public DataKeyValue BU4DRB01_AlarmReset { get; set; } - //public DataKeyValue BU4DRB01_SetManual { get; set; } - //public DataKeyValue BU4DRB01_SetAuto { get; set; } - //public DataKeyValue BU4DRB01_SetPosition { get; set; } - //public DataKeyValue BU4DRB01_UnSetPosition { get; set; } - //public DataKeyValue BU4DRB01_Set { get; set; } - //public DataKeyValue BU4DRB01_AlarmSetPos { get; set; } - //public DataKeyValue BU4DRB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4DRB01_AlarmPosition { get; set; } - //public DataKeyValue BU4DRB01_Alarm { get; set; } - //public DataKeyValue BU4DRB01_P { get; set; } - //public DataKeyValue BU1GEB01_ManualMode { get; set; } - //public DataKeyValue BU1GEB01_AutoMode { get; set; } - //public DataKeyValue BU1GEB01_AlarmReset { get; set; } - //public DataKeyValue BU1GEB01_SetManual { get; set; } - //public DataKeyValue BU1GEB01_SetAuto { get; set; } - //public DataKeyValue BU1GEB01_SetPosition { get; set; } - //public DataKeyValue BU1GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU1GEB01_Set { get; set; } - //public DataKeyValue BU1GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU1GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU1GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU1GEB01_Alarm { get; set; } - //public DataKeyValue BU1GEB01_P { get; set; } - //public DataKeyValue BU2GEB01_ManualMode { get; set; } - //public DataKeyValue BU2GEB01_AutoMode { get; set; } - //public DataKeyValue BU2GEB01_AlarmReset { get; set; } - //public DataKeyValue BU2GEB01_SetManual { get; set; } - //public DataKeyValue BU2GEB01_SetAuto { get; set; } - //public DataKeyValue BU2GEB01_SetPosition { get; set; } - //public DataKeyValue BU2GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU2GEB01_Set { get; set; } - //public DataKeyValue BU2GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU2GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU2GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU2GEB01_Alarm { get; set; } - //public DataKeyValue BU2GEB01_P { get; set; } - //public DataKeyValue BU3GEB01_ManualMode { get; set; } - //public DataKeyValue BU3GEB01_AutoMode { get; set; } - //public DataKeyValue BU3GEB01_AlarmReset { get; set; } - //public DataKeyValue BU3GEB01_SetManual { get; set; } - //public DataKeyValue BU3GEB01_SetAuto { get; set; } - //public DataKeyValue BU3GEB01_SetPosition { get; set; } - //public DataKeyValue BU3GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU3GEB01_Set { get; set; } - //public DataKeyValue BU3GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU3GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU3GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU3GEB01_Alarm { get; set; } - //public DataKeyValue BU3GEB01_P { get; set; } - //public DataKeyValue BU4GEB01_ManualMode { get; set; } - //public DataKeyValue BU4GEB01_AutoMode { get; set; } - //public DataKeyValue BU4GEB01_AlarmReset { get; set; } - //public DataKeyValue BU4GEB01_SetManual { get; set; } - //public DataKeyValue BU4GEB01_SetAuto { get; set; } - //public DataKeyValue BU4GEB01_SetPosition { get; set; } - //public DataKeyValue BU4GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU4GEB01_Set { get; set; } - //public DataKeyValue BU4GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU4GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU4GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU4GEB01_Alarm { get; set; } - //public DataKeyValue BU4GEB01_P { get; set; } - //public DataKeyValue BU5GEB01_ManualMode { get; set; } - //public DataKeyValue BU5GEB01_AutoMode { get; set; } - //public DataKeyValue BU5GEB01_AlarmReset { get; set; } - //public DataKeyValue BU5GEB01_SetManual { get; set; } - //public DataKeyValue BU5GEB01_SetAuto { get; set; } - //public DataKeyValue BU5GEB01_SetPosition { get; set; } - //public DataKeyValue BU5GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU5GEB01_Set { get; set; } - //public DataKeyValue BU5GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU5GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU5GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU5GEB01_Alarm { get; set; } - //public DataKeyValue BU5GEB01_P { get; set; } - //public DataKeyValue BU6GEB01_ManualMode { get; set; } - //public DataKeyValue BU6GEB01_AutoMode { get; set; } - //public DataKeyValue BU6GEB01_AlarmReset { get; set; } - //public DataKeyValue BU6GEB01_SetManual { get; set; } - //public DataKeyValue BU6GEB01_SetAuto { get; set; } - //public DataKeyValue BU6GEB01_SetPosition { get; set; } - //public DataKeyValue BU6GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU6GEB01_Set { get; set; } - //public DataKeyValue BU6GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU6GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU6GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU6GEB01_Alarm { get; set; } - //public DataKeyValue BU6GEB01_P { get; set; } - //public DataKeyValue BU7GEB01_ManualMode { get; set; } - //public DataKeyValue BU7GEB01_AutoMode { get; set; } - //public DataKeyValue BU7GEB01_AlarmReset { get; set; } - //public DataKeyValue BU7GEB01_SetManual { get; set; } - //public DataKeyValue BU7GEB01_SetAuto { get; set; } - //public DataKeyValue BU7GEB01_SetPosition { get; set; } - //public DataKeyValue BU7GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU7GEB01_Set { get; set; } - //public DataKeyValue BU7GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU7GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU7GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU7GEB01_Alarm { get; set; } - //public DataKeyValue BU7GEB01_P { get; set; } - //public DataKeyValue BU8GEB01_ManualMode { get; set; } - //public DataKeyValue BU8GEB01_AutoMode { get; set; } - //public DataKeyValue BU8GEB01_AlarmReset { get; set; } - //public DataKeyValue BU8GEB01_SetManual { get; set; } - //public DataKeyValue BU8GEB01_SetAuto { get; set; } - //public DataKeyValue BU8GEB01_SetPosition { get; set; } - //public DataKeyValue BU8GEB01_UnSetPosition { get; set; } - //public DataKeyValue BU8GEB01_Set { get; set; } - //public DataKeyValue BU8GEB01_AlarmSetPos { get; set; } - //public DataKeyValue BU8GEB01_AlarmUnSetPos { get; set; } - //public DataKeyValue BU8GEB01_AlarmPosition { get; set; } - //public DataKeyValue BU8GEB01_Alarm { get; set; } - //public DataKeyValue BU8GEB01_P { get; set; } - - -#endregion - - - - - - - #region 干混机报表参数 Add By wenjy 2023-08-08 15:40:00 - #region 注释代码 - /*/// - /// 设备编号 Dos[0] - /// - public DataKeyValue dryerA_dos0_eqNo { get; set; } - /// - /// 批次号 Dos[0] - /// - public DataKeyValue dryerA_dos0_batch { get; set; } - /// - /// 物料代码 Dos[0] - /// - public DataKeyValue dryerA_dos0_matCode { get; set; } - /// - /// 设定重量 Dos[0] - /// - public DataKeyValue dryerA_dos0_setValue { get; set; } - /// - /// 设定公差 Dos[0] - /// - public DataKeyValue dryerA_dos0_setToler { get; set; } - /// - /// 实际重量 Dos[0] - /// - public DataKeyValue dryerA_dos0_actValue { get; set; } - /// - /// 实际公差 Dos[0] - /// - public DataKeyValue dryerA_dos0_actToLer { get; set; } - - - /// - /// 设备编号 Dos[1] - /// - public DataKeyValue dryerA_dos1_eqNo { get; set; } - /// - /// 批次号 Dos[1] - /// - public DataKeyValue dryerA_dos1_batch { get; set; } - /// - /// 物料代码 Dos[1] - /// - public DataKeyValue dryerA_dos1_matCode { get; set; } - /// - /// 设定重量 Dos[1] - /// - public DataKeyValue dryerA_dos1_setValue { get; set; } - /// - /// 设定公差 Dos[1] - /// - public DataKeyValue dryerA_dos1_setToler { get; set; } - /// - /// 实际重量 Dos[1] - /// - public DataKeyValue dryerA_dos1_actValue { get; set; } - /// - /// 实际公差 Dos[1] - /// - public DataKeyValue dryerA_dos1_actToLer { get; set; } - - /// - /// 设备编号 Dos[2] - /// - public DataKeyValue dryerA_dos2_eqNo { get; set; } - /// - /// 批次号 Dos[2] - /// - public DataKeyValue dryerA_dos2_batch { get; set; } - /// - /// 物料代码 Dos[2] - /// - public DataKeyValue dryerA_dos2_matCode { get; set; } - /// - /// 设定重量 Dos[2] - /// - public DataKeyValue dryerA_dos2_setValue { get; set; } - /// - /// 设定公差 Dos[2] - /// - public DataKeyValue dryerA_dos2_setToler { get; set; } - /// - /// 实际重量 Dos[2] - /// - public DataKeyValue dryerA_dos2_actValue { get; set; } - /// - /// 实际公差 Dos[2] - /// - public DataKeyValue dryerA_dos2_actToLer { get; set; } - - /// - /// 设备编号 Dos[3] - /// - public DataKeyValue dryerA_dos3_eqNo { get; set; } - /// - /// 批次号 Dos[3] - /// - public DataKeyValue dryerA_dos3_batch { get; set; } - /// - /// 物料代码 Dos[3] - /// - public DataKeyValue dryerA_dos3_matCode { get; set; } - /// - /// 设定重量 Dos[3] - /// - public DataKeyValue dryerA_dos3_setValue { get; set; } - /// - /// 设定公差 Dos[3] - /// - public DataKeyValue dryerA_dos3_setToler { get; set; } - /// - /// 实际重量 Dos[3] - /// - public DataKeyValue dryerA_dos3_actValue { get; set; } - /// - /// 实际公差 Dos[3] - /// - public DataKeyValue dryerA_dos3_actToLer { get; set; }*/ #endregion - public DataKeyValue dryerA_dos0_eqNo { get; set; } - - /// - /// 设备编号 - /// - public DataKeyValue dryer_eqNo { get; set; } - /// - /// 批次号 - /// - public DataKeyValue dryer_batch { get; set; } - /// - /// 物料代码 - /// - public DataKeyValue dryer_matCode { get; set; } - /// - /// 设定重量 - /// - public DataKeyValue dryer_setValue { get; set; } - /// - /// 设定公差 - /// - public DataKeyValue dryer_setToler { get; set; } - /// - /// 实际重量 - /// - public DataKeyValue dryer_actValue { get; set; } - /// - /// 实际公差 - /// - public DataKeyValue dryer_actToLer { get; set; } - - /// - /// 批次 - /// - public DataKeyValue dryer_mixBatch { get; set; } - /// - /// 步号 - /// - public DataKeyValue dryer_mixStep { get; set; } - /// - /// 动作 - /// - public DataKeyValue dryer_actCode { get; set; } - /// - /// 时间 - /// - public DataKeyValue dryer_mixTime { get; set; } - /// - /// 温度 - /// - public DataKeyValue dryer_mixTemp { get; set; } - /// - /// 速度 - /// - public DataKeyValue dryer_mixSpeed { get; set; } - - - - /// - /// 设备编号 - /// - public DataKeyValue geler_dos_eqNo { get; set; } - - /// - /// 批次号 - /// - public DataKeyValue geler_dos_batch { get; set; } - /// - /// 物料代码 - /// - public DataKeyValue geler_dos_matCode { get; set; } - /// - /// 设定重量 - /// - public DataKeyValue geler_dos_setValue { get; set; } - /// - /// 设定公差 - /// - public DataKeyValue geler_dos_setToler { get; set; } - /// - /// 实际重量 - /// - public DataKeyValue geler_dos_actValue { get; set; } - /// - /// 实际公差 - /// - public DataKeyValue geler_dos_actToLer { get; set; } - - - public DataKeyValue DM1GDP01_ManualMode { get; set; } - public DataKeyValue DM1GDP01_AutoMode { get; set; } - public DataKeyValue DM1GDP01_StartManual { get; set; } - public DataKeyValue DM1GDP01_StopManual { get; set; } - public DataKeyValue DM1GDP01_StartAuto { get; set; } - public DataKeyValue DM1GDP01_StopAuto { get; set; } - public DataKeyValue DM1GDP01_AlarmReset { get; set; } - public DataKeyValue DM1GDP01_Running { get; set; } - public DataKeyValue DM1GDP01_Run { get; set; } - public DataKeyValue DM1GDP01_Alarm { get; set; } - public DataKeyValue DM1GDP01_Spare { get; set; } - public DataKeyValue DM1GDP01_Spare1 { get; set; } - public DataKeyValue DM1GDP01_Spare2 { get; set; } - public DataKeyValue DM1GDP01_Spare3 { get; set; } - public DataKeyValue DM1GDP01_p1 { get; set; } - public DataKeyValue DM1GDP01_p2 { get; set; } - public DataKeyValue DM1ASIG01_ManualMode { get; set; } - public DataKeyValue DM1ASIG01_AutoMode { get; set; } - public DataKeyValue DM1ASIG01_StartManual { get; set; } - public DataKeyValue DM1ASIG01_StopManual { get; set; } - public DataKeyValue DM1ASIG01_StartAuto { get; set; } - public DataKeyValue DM1ASIG01_StopAuto { get; set; } - public DataKeyValue DM1ASIG01_AlarmReset { get; set; } - public DataKeyValue DM1ASIG01_Running { get; set; } - public DataKeyValue DM1ASIG01_Run { get; set; } - public DataKeyValue DM1ASIG01_Alarm { get; set; } - public DataKeyValue DM1ASIG01_Spare { get; set; } - public DataKeyValue DM1ASIG01_Spare1 { get; set; } - public DataKeyValue DM1ASIG01_Spare2 { get; set; } - public DataKeyValue DM1ASIG01_Spare3 { get; set; } - public DataKeyValue DM1ASIG01_p1 { get; set; } - public DataKeyValue DM1ASIG01_p2 { get; set; } - public DataKeyValue DM1BSIG01_ManualMode { get; set; } - public DataKeyValue DM1BSIG01_AutoMode { get; set; } - public DataKeyValue DM1BSIG01_StartManual { get; set; } - public DataKeyValue DM1BSIG01_StopManual { get; set; } - public DataKeyValue DM1BSIG01_StartAuto { get; set; } - public DataKeyValue DM1BSIG01_StopAuto { get; set; } - public DataKeyValue DM1BSIG01_AlarmReset { get; set; } - public DataKeyValue DM1BSIG01_Running { get; set; } - public DataKeyValue DM1BSIG01_Run { get; set; } - public DataKeyValue DM1BSIG01_Alarm { get; set; } - public DataKeyValue DM1BSIG01_Spare { get; set; } - public DataKeyValue DM1BSIG01_Spare1 { get; set; } - public DataKeyValue DM1BSIG01_Spare2 { get; set; } - public DataKeyValue DM1BSIG01_Spare3 { get; set; } - public DataKeyValue DM1BSIG01_p1 { get; set; } - public DataKeyValue DM1BSIG01_p2 { get; set; } - public DataKeyValue DM1CSIG01_ManualMode { get; set; } - public DataKeyValue DM1CSIG01_AutoMode { get; set; } - public DataKeyValue DM1CSIG01_StartManual { get; set; } - public DataKeyValue DM1CSIG01_StopManual { get; set; } - public DataKeyValue DM1CSIG01_StartAuto { get; set; } - public DataKeyValue DM1CSIG01_StopAuto { get; set; } - public DataKeyValue DM1CSIG01_AlarmReset { get; set; } - public DataKeyValue DM1CSIG01_Running { get; set; } - public DataKeyValue DM1CSIG01_Run { get; set; } - public DataKeyValue DM1CSIG01_Alarm { get; set; } - public DataKeyValue DM1CSIG01_Spare { get; set; } - public DataKeyValue DM1CSIG01_Spare1 { get; set; } - public DataKeyValue DM1CSIG01_Spare2 { get; set; } - public DataKeyValue DM1CSIG01_Spare3 { get; set; } - public DataKeyValue DM1CSIG01_p1 { get; set; } - public DataKeyValue DM1CSIG01_p2 { get; set; } - public DataKeyValue DM1DSIG01_ManualMode { get; set; } - public DataKeyValue DM1DSIG01_AutoMode { get; set; } - public DataKeyValue DM1DSIG01_StartManual { get; set; } - public DataKeyValue DM1DSIG01_StopManual { get; set; } - public DataKeyValue DM1DSIG01_StartAuto { get; set; } - public DataKeyValue DM1DSIG01_StopAuto { get; set; } - public DataKeyValue DM1DSIG01_AlarmReset { get; set; } - public DataKeyValue DM1DSIG01_Running { get; set; } - public DataKeyValue DM1DSIG01_Run { get; set; } - public DataKeyValue DM1DSIG01_Alarm { get; set; } - public DataKeyValue DM1DSIG01_Spare { get; set; } - public DataKeyValue DM1DSIG01_Spare1 { get; set; } - public DataKeyValue DM1DSIG01_Spare2 { get; set; } - public DataKeyValue DM1DSIG01_Spare3 { get; set; } - public DataKeyValue DM1DSIG01_p1 { get; set; } - public DataKeyValue DM1DSIG01_p2 { get; set; } - public DataKeyValue DM1GDS01_ManualMode { get; set; } - public DataKeyValue DM1GDS01_AutoMode { get; set; } - public DataKeyValue DM1GDS01_StartManual { get; set; } - public DataKeyValue DM1GDS01_StopManual { get; set; } - public DataKeyValue DM1GDS01_StartAuto { get; set; } - public DataKeyValue DM1GDS01_StopAuto { get; set; } - public DataKeyValue DM1GDS01_AlarmReset { get; set; } - public DataKeyValue DM1GDS01_Running { get; set; } - public DataKeyValue DM1GDS01_Run { get; set; } - public DataKeyValue DM1GDS01_Alarm { get; set; } - public DataKeyValue DM1GDS01_Spare { get; set; } - public DataKeyValue DM1GDS01_Spare1 { get; set; } - public DataKeyValue DM1GDS01_Spare2 { get; set; } - public DataKeyValue DM1GDS01_Spare3 { get; set; } - public DataKeyValue DM1GDS01_p1 { get; set; } - public DataKeyValue DM1GDS01_p2 { get; set; } - public DataKeyValue DM1GDS02_ManualMode { get; set; } - public DataKeyValue DM1GDS02_AutoMode { get; set; } - public DataKeyValue DM1GDS02_StartManual { get; set; } - public DataKeyValue DM1GDS02_StopManual { get; set; } - public DataKeyValue DM1GDS02_StartAuto { get; set; } - public DataKeyValue DM1GDS02_StopAuto { get; set; } - public DataKeyValue DM1GDS02_AlarmReset { get; set; } - public DataKeyValue DM1GDS02_Running { get; set; } - public DataKeyValue DM1GDS02_Run { get; set; } - public DataKeyValue DM1GDS02_Alarm { get; set; } - public DataKeyValue DM1GDS02_Spare { get; set; } - public DataKeyValue DM1GDS02_Spare1 { get; set; } - public DataKeyValue DM1GDS02_Spare2 { get; set; } - public DataKeyValue DM1GDS02_Spare3 { get; set; } - public DataKeyValue DM1GDS02_p1 { get; set; } - public DataKeyValue DM1GDS02_p2 { get; set; } - public DataKeyValue DM1GDS03_ManualMode { get; set; } - public DataKeyValue DM1GDS03_AutoMode { get; set; } - public DataKeyValue DM1GDS03_StartManual { get; set; } - public DataKeyValue DM1GDS03_StopManual { get; set; } - public DataKeyValue DM1GDS03_StartAuto { get; set; } - public DataKeyValue DM1GDS03_StopAuto { get; set; } - public DataKeyValue DM1GDS03_AlarmReset { get; set; } - public DataKeyValue DM1GDS03_Running { get; set; } - public DataKeyValue DM1GDS03_Run { get; set; } - public DataKeyValue DM1GDS03_Alarm { get; set; } - public DataKeyValue DM1GDS03_Spare { get; set; } - public DataKeyValue DM1GDS03_Spare1 { get; set; } - public DataKeyValue DM1GDS03_Spare2 { get; set; } - public DataKeyValue DM1GDS03_Spare3 { get; set; } - public DataKeyValue DM1GDS03_p1 { get; set; } - public DataKeyValue DM1GDS03_p2 { get; set; } - public DataKeyValue DM1GDS04_ManualMode { get; set; } - public DataKeyValue DM1GDS04_AutoMode { get; set; } - public DataKeyValue DM1GDS04_StartManual { get; set; } - public DataKeyValue DM1GDS04_StopManual { get; set; } - public DataKeyValue DM1GDS04_StartAuto { get; set; } - public DataKeyValue DM1GDS04_StopAuto { get; set; } - public DataKeyValue DM1GDS04_AlarmReset { get; set; } - public DataKeyValue DM1GDS04_Running { get; set; } - public DataKeyValue DM1GDS04_Run { get; set; } - public DataKeyValue DM1GDS04_Alarm { get; set; } - public DataKeyValue DM1GDS04_Spare { get; set; } - public DataKeyValue DM1GDS04_Spare1 { get; set; } - public DataKeyValue DM1GDS04_Spare2 { get; set; } - public DataKeyValue DM1GDS04_Spare3 { get; set; } - public DataKeyValue DM1GDS04_p1 { get; set; } - public DataKeyValue DM1GDS04_p2 { get; set; } - public DataKeyValue DM1GDS05_ManualMode { get; set; } - public DataKeyValue DM1GDS05_AutoMode { get; set; } - public DataKeyValue DM1GDS05_StartManual { get; set; } - public DataKeyValue DM1GDS05_StopManual { get; set; } - public DataKeyValue DM1GDS05_StartAuto { get; set; } - public DataKeyValue DM1GDS05_StopAuto { get; set; } - public DataKeyValue DM1GDS05_AlarmReset { get; set; } - public DataKeyValue DM1GDS05_Running { get; set; } - public DataKeyValue DM1GDS05_Run { get; set; } - public DataKeyValue DM1GDS05_Alarm { get; set; } - public DataKeyValue DM1GDS05_Spare { get; set; } - public DataKeyValue DM1GDS05_Spare1 { get; set; } - public DataKeyValue DM1GDS05_Spare2 { get; set; } - public DataKeyValue DM1GDS05_Spare3 { get; set; } - public DataKeyValue DM1GDS05_p1 { get; set; } - public DataKeyValue DM1GDS05_p2 { get; set; } - public DataKeyValue DM1GDS06_ManualMode { get; set; } - public DataKeyValue DM1GDS06_AutoMode { get; set; } - public DataKeyValue DM1GDS06_StartManual { get; set; } - public DataKeyValue DM1GDS06_StopManual { get; set; } - public DataKeyValue DM1GDS06_StartAuto { get; set; } - public DataKeyValue DM1GDS06_StopAuto { get; set; } - public DataKeyValue DM1GDS06_AlarmReset { get; set; } - public DataKeyValue DM1GDS06_RunningM { get; set; } - public DataKeyValue DM1GDS06_RunningS { get; set; } - public DataKeyValue DM1GDS06_RunningT { get; set; } - public DataKeyValue DM1GDS06_RunM { get; set; } - public DataKeyValue DM1GDS06_RunS { get; set; } - public DataKeyValue DM1GDS06_RunT { get; set; } - public DataKeyValue DM1GDS06_Alarm { get; set; } - public DataKeyValue DM1GDS06_AlarmM { get; set; } - public DataKeyValue DM1GDS06_AlarmS { get; set; } - public DataKeyValue DM1GDS06_AlarmT { get; set; } - public DataKeyValue DM1GDS06_Spare1 { get; set; } - public DataKeyValue DM1GDS06_Spare2 { get; set; } - public DataKeyValue DM1GDS06_Spare3 { get; set; } - public DataKeyValue DM1GDS06_StopTime { get; set; } - public DataKeyValue DM1GDS07_ManualMode { get; set; } - public DataKeyValue DM1GDS07_AutoMode { get; set; } - public DataKeyValue DM1GDS07_StartManual { get; set; } - public DataKeyValue DM1GDS07_StopManual { get; set; } - public DataKeyValue DM1GDS07_StartAuto { get; set; } - public DataKeyValue DM1GDS07_StopAuto { get; set; } - public DataKeyValue DM1GDS07_AlarmReset { get; set; } - public DataKeyValue DM1GDS07_RunningM { get; set; } - public DataKeyValue DM1GDS07_RunningS { get; set; } - public DataKeyValue DM1GDS07_RunningT { get; set; } - public DataKeyValue DM1GDS07_RunM { get; set; } - public DataKeyValue DM1GDS07_RunS { get; set; } - public DataKeyValue DM1GDS07_RunT { get; set; } - public DataKeyValue DM1GDS07_Alarm { get; set; } - public DataKeyValue DM1GDS07_AlarmM { get; set; } - public DataKeyValue DM1GDS07_AlarmS { get; set; } - public DataKeyValue DM1GDS07_AlarmT { get; set; } - public DataKeyValue DM1GDS07_Spare1 { get; set; } - public DataKeyValue DM1GDS07_Spare2 { get; set; } - public DataKeyValue DM1GDS07_Spare3 { get; set; } - public DataKeyValue DM1GDS07_StopTime { get; set; } - public DataKeyValue DM1DSM01_AutoBt { get; set; } - public DataKeyValue DM1DSM01_ManBt { get; set; } - public DataKeyValue DM1DSM01_StartA { get; set; } - public DataKeyValue DM1DSM01_StopA { get; set; } - public DataKeyValue DM1DSM01_StartM { get; set; } - public DataKeyValue DM1DSM01_StopM { get; set; } - public DataKeyValue DM1DSM01_AlarmReset { get; set; } - public DataKeyValue DM1DSM01_EXTEstop { get; set; } - public DataKeyValue DM1DSM01_AutoMode { get; set; } - public DataKeyValue DM1DSM01_ManMode { get; set; } - public DataKeyValue DM1DSM01_VVVFOK { get; set; } - public DataKeyValue DM1DSM01_Running { get; set; } - public DataKeyValue DM1DSM01_Alarm { get; set; } - public DataKeyValue DM1DSM01_Error { get; set; } - public DataKeyValue DM1DSM01_Enable { get; set; } - public DataKeyValue DM1DSM01_Polarity { get; set; } - public DataKeyValue DM1DSM01_SetSpeedA { get; set; } - public DataKeyValue DM1DSM01_SetSpeedM { get; set; } - public DataKeyValue DM1DSM01_ActSpeed { get; set; } - public DataKeyValue DM2DSM01_AutoBt { get; set; } - public DataKeyValue DM2DSM01_ManBt { get; set; } - public DataKeyValue DM2DSM01_StartA { get; set; } - public DataKeyValue DM2DSM01_StopA { get; set; } - public DataKeyValue DM2DSM01_StartM { get; set; } - public DataKeyValue DM2DSM01_StopM { get; set; } - public DataKeyValue DM2DSM01_AlarmReset { get; set; } - public DataKeyValue DM2DSM01_EXTEstop { get; set; } - public DataKeyValue DM2DSM01_AutoMode { get; set; } - public DataKeyValue DM2DSM01_ManMode { get; set; } - public DataKeyValue DM2DSM01_VVVFOK { get; set; } - public DataKeyValue DM2DSM01_Running { get; set; } - public DataKeyValue DM2DSM01_Alarm { get; set; } - public DataKeyValue DM2DSM01_Error { get; set; } - public DataKeyValue DM2DSM01_Enable { get; set; } - public DataKeyValue DM2DSM01_Polarity { get; set; } - public DataKeyValue DM2DSM01_SetSpeedA { get; set; } - public DataKeyValue DM2DSM01_SetSpeedM { get; set; } - public DataKeyValue DM2DSM01_ActSpeed { get; set; } - public DataKeyValue DM3DSM01_AutoBt { get; set; } - public DataKeyValue DM3DSM01_ManBt { get; set; } - public DataKeyValue DM3DSM01_StartA { get; set; } - public DataKeyValue DM3DSM01_StopA { get; set; } - public DataKeyValue DM3DSM01_StartM { get; set; } - public DataKeyValue DM3DSM01_StopM { get; set; } - public DataKeyValue DM3DSM01_AlarmReset { get; set; } - public DataKeyValue DM3DSM01_EXTEstop { get; set; } - public DataKeyValue DM3DSM01_AutoMode { get; set; } - public DataKeyValue DM3DSM01_ManMode { get; set; } - public DataKeyValue DM3DSM01_VVVFOK { get; set; } - public DataKeyValue DM3DSM01_Running { get; set; } - public DataKeyValue DM3DSM01_Alarm { get; set; } - public DataKeyValue DM3DSM01_Error { get; set; } - public DataKeyValue DM3DSM01_Enable { get; set; } - public DataKeyValue DM3DSM01_Polarity { get; set; } - public DataKeyValue DM3DSM01_SetSpeedA { get; set; } - public DataKeyValue DM3DSM01_SetSpeedM { get; set; } - public DataKeyValue DM3DSM01_ActSpeed { get; set; } - public DataKeyValue DM1GDS12_AutoBt { get; set; } - public DataKeyValue DM1GDS12_ManBt { get; set; } - public DataKeyValue DM1GDS12_StartA { get; set; } - public DataKeyValue DM1GDS12_StopA { get; set; } - public DataKeyValue DM1GDS12_StartM { get; set; } - public DataKeyValue DM1GDS12_StopM { get; set; } - public DataKeyValue DM1GDS12_AlarmReset { get; set; } - public DataKeyValue DM1GDS12_EXTEstop { get; set; } - public DataKeyValue DM1GDS12_AutoMode { get; set; } - public DataKeyValue DM1GDS12_ManMode { get; set; } - public DataKeyValue DM1GDS12_VVVFOK { get; set; } - public DataKeyValue DM1GDS12_Running { get; set; } - public DataKeyValue DM1GDS12_Alarm { get; set; } - public DataKeyValue DM1GDS12_Error { get; set; } - public DataKeyValue DM1GDS12_Enable { get; set; } - public DataKeyValue DM1GDS12_Polarity { get; set; } - public DataKeyValue DM1GDS12_SetSpeedA { get; set; } - public DataKeyValue DM1GDS12_SetSpeedM { get; set; } - public DataKeyValue DM1GDS12_ActSpeed { get; set; } - - - - #endregion - - #region 2104 - - // public DataKeyValue FirstWord { get; set; } - //public DataKeyValue RecipeCode { get; set; } - //public DataKeyValue PlanCode { get; set; } - //public DataKeyValue RecipeName0 { get; set; } - //public DataKeyValue PlanName0 { get; set; } - //public DataKeyValue Batch { get; set; } - //public DataKeyValue EnableDB_B1 { get; set; } - //public DataKeyValue EnableDB_B2 { get; set; } - //public DataKeyValue EnableDB_B3 { get; set; } - //public DataKeyValue EnableDB_B4 { get; set; } - //public DataKeyValue EnableDB_B5 { get; set; } - //public DataKeyValue EnableDB_B6 { get; set; } - //public DataKeyValue EnableDB_B7 { get; set; } - //public DataKeyValue EnableDB_B8 { get; set; } - //public DataKeyValue EnableDB_B9 { get; set; } - //public DataKeyValue EnableDB_B10 { get; set; } - //public DataKeyValue EnableDB_B11 { get; set; } - //public DataKeyValue EnableDB_B12 { get; set; } - //public DataKeyValue EnableWater_S1 { get; set; } - //public DataKeyValue EnableWater_S2 { get; set; } - public DataKeyValue EnableDryD1 { get; set; } - public DataKeyValue EnableDryD2 { get; set; } - public DataKeyValue EnableDryD3 { get; set; } - public DataKeyValue EnableDryD4 { get; set; } - public DataKeyValue EnableDryG1 { get; set; } - public DataKeyValue EnableDryG2 { get; set; } - public DataKeyValue EnableDryG3 { get; set; } - public DataKeyValue EnableDryG4 { get; set; } - public DataKeyValue EnableDryG5 { get; set; } - public DataKeyValue EnableDryG6 { get; set; } - public DataKeyValue EnableDryG7 { get; set; } - public DataKeyValue EnableDryG8 { get; set; } - public DataKeyValue EnableDryM1 { get; set; } - public DataKeyValue EnableDryM2 { get; set; } - public DataKeyValue EnableDryM3 { get; set; } - public DataKeyValue EnableDryM4 { get; set; } - public DataKeyValue EnableDryM5 { get; set; } - public DataKeyValue EnableDryM6 { get; set; } - public DataKeyValue EnableDryM7 { get; set; } - public DataKeyValue EnableDryM8 { get; set; } - public DataKeyValue DryerD1Recip0_Bin { get; set; } - public DataKeyValue DryerD1Recip0_Set { get; set; } - public DataKeyValue DryerD1Recip0_Tolerance { get; set; } - public DataKeyValue DryerD1Recip1_Bin { get; set; } - public DataKeyValue DryerD1Recip1_Set { get; set; } - public DataKeyValue DryerD1Recip1_Tolerance { get; set; } - public DataKeyValue DryerD1Recip2_Bin { get; set; } - public DataKeyValue DryerD1Recip2_Set { get; set; } - public DataKeyValue DryerD1Recip2_Tolerance { get; set; } - public DataKeyValue DryerD1Recip3_Bin { get; set; } - public DataKeyValue DryerD1Recip3_Set { get; set; } - public DataKeyValue DryerD1Recip3_Tolerance { get; set; } - public DataKeyValue DryerD1Step0_MixCode { get; set; } - public DataKeyValue DryerD1Step0_MixTime { get; set; } - public DataKeyValue DryerD1Step0_MixTemp { get; set; } - public DataKeyValue DryerD1Step0_MixSpeed { get; set; } - public DataKeyValue DryerD1Step1_MixCode { get; set; } - public DataKeyValue DryerD1Step1_MixTime { get; set; } - public DataKeyValue DryerD1Step1_MixTemp { get; set; } - public DataKeyValue DryerD1Step1_MixSpeed { get; set; } - public DataKeyValue DryerD1Step2_MixCode { get; set; } - public DataKeyValue DryerD1Step2_MixTime { get; set; } - public DataKeyValue DryerD1Step2_MixTemp { get; set; } - public DataKeyValue DryerD1Step2_MixSpeed { get; set; } - public DataKeyValue DryerD1Step3_MixCode { get; set; } - public DataKeyValue DryerD1Step3_MixTime { get; set; } - public DataKeyValue DryerD1Step3_MixTemp { get; set; } - public DataKeyValue DryerD1Step3_MixSpeed { get; set; } - public DataKeyValue DryerD1Step4_MixCode { get; set; } - public DataKeyValue DryerD1Step4_MixTime { get; set; } - public DataKeyValue DryerD1Step4_MixTemp { get; set; } - public DataKeyValue DryerD1Step4_MixSpeed { get; set; } - public DataKeyValue DryerD1Step5_MixCode { get; set; } - public DataKeyValue DryerD1Step5_MixTime { get; set; } - public DataKeyValue DryerD1Step5_MixTemp { get; set; } - public DataKeyValue DryerD1Step5_MixSpeed { get; set; } - public DataKeyValue DryerD1Step6_MixCode { get; set; } - public DataKeyValue DryerD1Step6_MixTime { get; set; } - public DataKeyValue DryerD1Step6_MixTemp { get; set; } - public DataKeyValue DryerD1Step6_MixSpeed { get; set; } - public DataKeyValue DryerD1Step7_MixCode { get; set; } - public DataKeyValue DryerD1Step7_MixTime { get; set; } - public DataKeyValue DryerD1Step7_MixTemp { get; set; } - public DataKeyValue DryerD1Step7_MixSpeed { get; set; } - public DataKeyValue DryerD1Step8_MixCode { get; set; } - public DataKeyValue DryerD1Step8_MixTime { get; set; } - public DataKeyValue DryerD1Step8_MixTemp { get; set; } - public DataKeyValue DryerD1Step8_MixSpeed { get; set; } - public DataKeyValue DryerD1Step9_MixCode { get; set; } - public DataKeyValue DryerD1Step9_MixTime { get; set; } - public DataKeyValue DryerD1Step9_MixTemp { get; set; } - public DataKeyValue DryerD1Step9_MixSpeed { get; set; } - public DataKeyValue DryerD2Recip0_Bin { get; set; } - public DataKeyValue DryerD2Recip0_Set { get; set; } - public DataKeyValue DryerD2Recip0_Tolerance { get; set; } - - public DataKeyValue DryerD2Recip1_Bin { get; set; } - public DataKeyValue DryerD2Recip1_Set { get; set; } - public DataKeyValue DryerD2Recip1_Tolerance { get; set; } - public DataKeyValue DryerD2Recip2_Bin { get; set; } - public DataKeyValue DryerD2Recip2_Set { get; set; } - public DataKeyValue DryerD2Recip2_Tolerance { get; set; } - public DataKeyValue DryerD2Recip3_Bin { get; set; } - public DataKeyValue DryerD2Recip3_Set { get; set; } - public DataKeyValue DryerD2Recip3_Tolerance { get; set; } - public DataKeyValue DryerD2Step0_MixCode { get; set; } - public DataKeyValue DryerD2Step0_MixTime { get; set; } - public DataKeyValue DryerD2Step0_MixTemp { get; set; } - public DataKeyValue DryerD2Step0_MixSpeed { get; set; } - public DataKeyValue DryerD2Step1_MixCode { get; set; } - public DataKeyValue DryerD2Step1_MixTime { get; set; } - public DataKeyValue DryerD2Step1_MixTemp { get; set; } - public DataKeyValue DryerD2Step1_MixSpeed { get; set; } - public DataKeyValue DryerD2Step2_MixCode { get; set; } - public DataKeyValue DryerD2Step2_MixTime { get; set; } - public DataKeyValue DryerD2Step2_MixTemp { get; set; } - public DataKeyValue DryerD2Step2_MixSpeed { get; set; } - public DataKeyValue DryerD2Step3_MixCode { get; set; } - public DataKeyValue DryerD2Step3_MixTime { get; set; } - public DataKeyValue DryerD2Step3_MixTemp { get; set; } - public DataKeyValue DryerD2Step3_MixSpeed { get; set; } - public DataKeyValue DryerD2Step4_MixCode { get; set; } - public DataKeyValue DryerD2Step4_MixTime { get; set; } - public DataKeyValue DryerD2Step4_MixTemp { get; set; } - public DataKeyValue DryerD2Step4_MixSpeed { get; set; } - public DataKeyValue DryerD2Step5_MixCode { get; set; } - public DataKeyValue DryerD2Step5_MixTime { get; set; } - public DataKeyValue DryerD2Step5_MixTemp { get; set; } - public DataKeyValue DryerD2Step5_MixSpeed { get; set; } - public DataKeyValue DryerD2Step6_MixCode { get; set; } - public DataKeyValue DryerD2Step6_MixTime { get; set; } - public DataKeyValue DryerD2Step6_MixTemp { get; set; } - public DataKeyValue DryerD2Step6_MixSpeed { get; set; } - public DataKeyValue DryerD2Step7_MixCode { get; set; } - public DataKeyValue DryerD2Step7_MixTime { get; set; } - public DataKeyValue DryerD2Step7_MixTemp { get; set; } - public DataKeyValue DryerD2Step7_MixSpeed { get; set; } - public DataKeyValue DryerD2Step8_MixCode { get; set; } - public DataKeyValue DryerD2Step8_MixTime { get; set; } - public DataKeyValue DryerD2Step8_MixTemp { get; set; } - public DataKeyValue DryerD2Step8_MixSpeed { get; set; } - public DataKeyValue DryerD2Step9_MixCode { get; set; } - public DataKeyValue DryerD2Step9_MixTime { get; set; } - public DataKeyValue DryerD2Step9_MixTemp { get; set; } - public DataKeyValue DryerD2Step9_MixSpeed { get; set; } - - public DataKeyValue DryerD3Recip0_Bin { get; set; } - public DataKeyValue DryerD3Recip0_Set { get; set; } - public DataKeyValue DryerD3Recip0_Tolerance { get; set; } - public DataKeyValue DryerD3Recip1_Bin { get; set; } - public DataKeyValue DryerD3Recip1_Set { get; set; } - public DataKeyValue DryerD3Recip1_Tolerance { get; set; } - public DataKeyValue DryerD3Recip2_Bin { get; set; } - public DataKeyValue DryerD3Recip2_Set { get; set; } - public DataKeyValue DryerD3Recip2_Tolerance { get; set; } - public DataKeyValue DryerD3Recip3_Bin { get; set; } - public DataKeyValue DryerD3Recip3_Set { get; set; } - public DataKeyValue DryerD3Recip3_Tolerance { get; set; } - public DataKeyValue DryerD3Step0_MixCode { get; set; } - public DataKeyValue DryerD3Step0_MixTime { get; set; } - public DataKeyValue DryerD3Step0_MixTemp { get; set; } - public DataKeyValue DryerD3Step0_MixSpeed { get; set; } - public DataKeyValue DryerD3Step1_MixCode { get; set; } - public DataKeyValue DryerD3Step1_MixTime { get; set; } - public DataKeyValue DryerD3Step1_MixTemp { get; set; } - public DataKeyValue DryerD3Step1_MixSpeed { get; set; } - public DataKeyValue DryerD3Step2_MixCode { get; set; } - public DataKeyValue DryerD3Step2_MixTime { get; set; } - public DataKeyValue DryerD3Step2_MixTemp { get; set; } - public DataKeyValue DryerD3Step2_MixSpeed { get; set; } - public DataKeyValue DryerD3Step3_MixCode { get; set; } - public DataKeyValue DryerD3Step3_MixTime { get; set; } - public DataKeyValue DryerD3Step3_MixTemp { get; set; } - public DataKeyValue DryerD3Step3_MixSpeed { get; set; } - public DataKeyValue DryerD3Step4_MixCode { get; set; } - public DataKeyValue DryerD3Step4_MixTime { get; set; } - public DataKeyValue DryerD3Step4_MixTemp { get; set; } - public DataKeyValue DryerD3Step4_MixSpeed { get; set; } - public DataKeyValue DryerD3Step5_MixCode { get; set; } - public DataKeyValue DryerD3Step5_MixTime { get; set; } - public DataKeyValue DryerD3Step5_MixTemp { get; set; } - public DataKeyValue DryerD3Step5_MixSpeed { get; set; } - public DataKeyValue DryerD3Step6_MixCode { get; set; } - public DataKeyValue DryerD3Step6_MixTime { get; set; } - public DataKeyValue DryerD3Step6_MixTemp { get; set; } - public DataKeyValue DryerD3Step6_MixSpeed { get; set; } - public DataKeyValue DryerD3Step7_MixCode { get; set; } - public DataKeyValue DryerD3Step7_MixTime { get; set; } - public DataKeyValue DryerD3Step7_MixTemp { get; set; } - public DataKeyValue DryerD3Step7_MixSpeed { get; set; } - public DataKeyValue DryerD3Step8_MixCode { get; set; } - public DataKeyValue DryerD3Step8_MixTime { get; set; } - public DataKeyValue DryerD3Step8_MixTemp { get; set; } - public DataKeyValue DryerD3Step8_MixSpeed { get; set; } - public DataKeyValue DryerD3Step9_MixCode { get; set; } - public DataKeyValue DryerD3Step9_MixTime { get; set; } - public DataKeyValue DryerD3Step9_MixTemp { get; set; } - public DataKeyValue DryerD3Step9_MixSpeed { get; set; } - public DataKeyValue DryerD4Recip0_Bin { get; set; } - public DataKeyValue DryerD4Recip0_Set { get; set; } - public DataKeyValue DryerD4Recip0_Tolerance { get; set; } - public DataKeyValue DryerD4Recip1_Bin { get; set; } - public DataKeyValue DryerD4Recip1_Set { get; set; } - public DataKeyValue DryerD4Recip1_Tolerance { get; set; } - public DataKeyValue DryerD4Recip2_Bin { get; set; } - public DataKeyValue DryerD4Recip2_Set { get; set; } - public DataKeyValue DryerD4Recip2_Tolerance { get; set; } - public DataKeyValue DryerD4Recip3_Bin { get; set; } - public DataKeyValue DryerD4Recip3_Set { get; set; } - public DataKeyValue DryerD4Recip3_Tolerance { get; set; } - public DataKeyValue DryerD4Step0_MixCode { get; set; } - public DataKeyValue DryerD4Step0_MixTime { get; set; } - public DataKeyValue DryerD4Step0_MixTemp { get; set; } - public DataKeyValue DryerD4Step0_MixSpeed { get; set; } - public DataKeyValue DryerD4Step1_MixCode { get; set; } - public DataKeyValue DryerD4Step1_MixTime { get; set; } - public DataKeyValue DryerD4Step1_MixTemp { get; set; } - public DataKeyValue DryerD4Step1_MixSpeed { get; set; } - public DataKeyValue DryerD4Step2_MixCode { get; set; } - public DataKeyValue DryerD4Step2_MixTime { get; set; } - public DataKeyValue DryerD4Step2_MixTemp { get; set; } - public DataKeyValue DryerD4Step2_MixSpeed { get; set; } - public DataKeyValue DryerD4Step3_MixCode { get; set; } - public DataKeyValue DryerD4Step3_MixTime { get; set; } - public DataKeyValue DryerD4Step3_MixTemp { get; set; } - public DataKeyValue DryerD4Step3_MixSpeed { get; set; } - public DataKeyValue DryerD4Step4_MixCode { get; set; } - public DataKeyValue DryerD4Step4_MixTime { get; set; } - public DataKeyValue DryerD4Step4_MixTemp { get; set; } - public DataKeyValue DryerD4Step4_MixSpeed { get; set; } - public DataKeyValue DryerD4Step5_MixCode { get; set; } - public DataKeyValue DryerD4Step5_MixTime { get; set; } - public DataKeyValue DryerD4Step5_MixTemp { get; set; } - public DataKeyValue DryerD4Step5_MixSpeed { get; set; } - public DataKeyValue DryerD4Step6_MixCode { get; set; } - public DataKeyValue DryerD4Step6_MixTime { get; set; } - public DataKeyValue DryerD4Step6_MixTemp { get; set; } - public DataKeyValue DryerD4Step6_MixSpeed { get; set; } - public DataKeyValue DryerD4Step7_MixCode { get; set; } - public DataKeyValue DryerD4Step7_MixTime { get; set; } - public DataKeyValue DryerD4Step7_MixTemp { get; set; } - public DataKeyValue DryerD4Step7_MixSpeed { get; set; } - public DataKeyValue DryerD4Step8_MixCode { get; set; } - public DataKeyValue DryerD4Step8_MixTime { get; set; } - public DataKeyValue DryerD4Step8_MixTemp { get; set; } - public DataKeyValue DryerD4Step8_MixSpeed { get; set; } - public DataKeyValue DryerD4Step9_MixCode { get; set; } - public DataKeyValue DryerD4Step9_MixTime { get; set; } - public DataKeyValue DryerD4Step9_MixTemp { get; set; } - public DataKeyValue DryerD4Step9_MixSpeed { get; set; } - public DataKeyValue GelatG1Recip0_Bin { get; set; } - public DataKeyValue GelatG1Recip0_Set { get; set; } - public DataKeyValue GelatG1Recip0_Tolerance { get; set; } - public DataKeyValue GelatG1Recip1_Bin { get; set; } - public DataKeyValue GelatG1Recip1_Set { get; set; } - public DataKeyValue GelatG1Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG1Recip0_Bin { get; set; } - public DataKeyValue WaterSCG1Recip0_Set { get; set; } - public DataKeyValue WaterSCG1Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG1Recip1_Bin { get; set; } - public DataKeyValue WaterSCG1Recip1_Set { get; set; } - public DataKeyValue WaterSCG1Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG1Step0_MixCode { get; set; } - public DataKeyValue WaterSCG1Step0_MixTime { get; set; } - public DataKeyValue WaterSCG1Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step1_MixCode { get; set; } - public DataKeyValue WaterSCG1Step1_MixTime { get; set; } - public DataKeyValue WaterSCG1Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step2_MixCode { get; set; } - public DataKeyValue WaterSCG1Step2_MixTime { get; set; } - public DataKeyValue WaterSCG1Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step3_MixCode { get; set; } - public DataKeyValue WaterSCG1Step3_MixTime { get; set; } - public DataKeyValue WaterSCG1Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step4_MixCode { get; set; } - public DataKeyValue WaterSCG1Step4_MixTime { get; set; } - public DataKeyValue WaterSCG1Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step5_MixCode { get; set; } - public DataKeyValue WaterSCG1Step5_MixTime { get; set; } - public DataKeyValue WaterSCG1Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step6_MixCode { get; set; } - public DataKeyValue WaterSCG1Step6_MixTime { get; set; } - public DataKeyValue WaterSCG1Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step7_MixCode { get; set; } - public DataKeyValue WaterSCG1Step7_MixTime { get; set; } - public DataKeyValue WaterSCG1Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step8_MixCode { get; set; } - public DataKeyValue WaterSCG1Step8_MixTime { get; set; } - public DataKeyValue WaterSCG1Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG1Step9_MixCode { get; set; } - public DataKeyValue WaterSCG1Step9_MixTime { get; set; } - public DataKeyValue WaterSCG1Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG1Step9_MixSpeed { get; set; } - public DataKeyValue GelatG2Recip0_Bin { get; set; } - public DataKeyValue GelatG2Recip0_Set { get; set; } - public DataKeyValue GelatG2Recip0_Tolerance { get; set; } - public DataKeyValue GelatG2Recip1_Bin { get; set; } - public DataKeyValue GelatG2Recip1_Set { get; set; } - public DataKeyValue GelatG2Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG2Recip0_Bin { get; set; } - public DataKeyValue WaterSCG2Recip0_Set { get; set; } - public DataKeyValue WaterSCG2Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG2Recip1_Bin { get; set; } - public DataKeyValue WaterSCG2Recip1_Set { get; set; } - public DataKeyValue WaterSCG2Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG2Step0_MixCode { get; set; } - public DataKeyValue WaterSCG2Step0_MixTime { get; set; } - public DataKeyValue WaterSCG2Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step1_MixCode { get; set; } - public DataKeyValue WaterSCG2Step1_MixTime { get; set; } - public DataKeyValue WaterSCG2Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step2_MixCode { get; set; } - public DataKeyValue WaterSCG2Step2_MixTime { get; set; } - public DataKeyValue WaterSCG2Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step3_MixCode { get; set; } - public DataKeyValue WaterSCG2Step3_MixTime { get; set; } - public DataKeyValue WaterSCG2Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step4_MixCode { get; set; } - public DataKeyValue WaterSCG2Step4_MixTime { get; set; } - public DataKeyValue WaterSCG2Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step5_MixCode { get; set; } - public DataKeyValue WaterSCG2Step5_MixTime { get; set; } - public DataKeyValue WaterSCG2Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step6_MixCode { get; set; } - public DataKeyValue WaterSCG2Step6_MixTime { get; set; } - public DataKeyValue WaterSCG2Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step7_MixCode { get; set; } - public DataKeyValue WaterSCG2Step7_MixTime { get; set; } - public DataKeyValue WaterSCG2Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step8_MixCode { get; set; } - public DataKeyValue WaterSCG2Step8_MixTime { get; set; } - public DataKeyValue WaterSCG2Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG2Step9_MixCode { get; set; } - public DataKeyValue WaterSCG2Step9_MixTime { get; set; } - public DataKeyValue WaterSCG2Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG2Step9_MixSpeed { get; set; } - public DataKeyValue GelatG3Recip0_Bin { get; set; } - public DataKeyValue GelatG3Recip0_Set { get; set; } - public DataKeyValue GelatG3Recip0_Tolerance { get; set; } - public DataKeyValue GelatG3Recip1_Bin { get; set; } - public DataKeyValue GelatG3Recip1_Set { get; set; } - public DataKeyValue GelatG3Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG3Recip0_Bin { get; set; } - public DataKeyValue WaterSCG3Recip0_Set { get; set; } - public DataKeyValue WaterSCG3Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG3Recip1_Bin { get; set; } - public DataKeyValue WaterSCG3Recip1_Set { get; set; } - public DataKeyValue WaterSCG3Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG3Step0_MixCode { get; set; } - public DataKeyValue WaterSCG3Step0_MixTime { get; set; } - public DataKeyValue WaterSCG3Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step1_MixCode { get; set; } - public DataKeyValue WaterSCG3Step1_MixTime { get; set; } - public DataKeyValue WaterSCG3Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step2_MixCode { get; set; } - public DataKeyValue WaterSCG3Step2_MixTime { get; set; } - public DataKeyValue WaterSCG3Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step3_MixCode { get; set; } - public DataKeyValue WaterSCG3Step3_MixTime { get; set; } - public DataKeyValue WaterSCG3Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step4_MixCode { get; set; } - public DataKeyValue WaterSCG3Step4_MixTime { get; set; } - public DataKeyValue WaterSCG3Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step5_MixCode { get; set; } - public DataKeyValue WaterSCG3Step5_MixTime { get; set; } - public DataKeyValue WaterSCG3Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step6_MixCode { get; set; } - public DataKeyValue WaterSCG3Step6_MixTime { get; set; } - public DataKeyValue WaterSCG3Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step7_MixCode { get; set; } - public DataKeyValue WaterSCG3Step7_MixTime { get; set; } - public DataKeyValue WaterSCG3Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step8_MixCode { get; set; } - public DataKeyValue WaterSCG3Step8_MixTime { get; set; } - public DataKeyValue WaterSCG3Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG3Step9_MixCode { get; set; } - public DataKeyValue WaterSCG3Step9_MixTime { get; set; } - public DataKeyValue WaterSCG3Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG3Step9_MixSpeed { get; set; } - public DataKeyValue GelatG4Recip0_Bin { get; set; } - public DataKeyValue GelatG4Recip0_Set { get; set; } - public DataKeyValue GelatG4Recip0_Tolerance { get; set; } - public DataKeyValue GelatG4Recip1_Bin { get; set; } - public DataKeyValue GelatG4Recip1_Set { get; set; } - public DataKeyValue GelatG4Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG4Recip0_Bin { get; set; } - public DataKeyValue WaterSCG4Recip0_Set { get; set; } - public DataKeyValue WaterSCG4Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG4Recip1_Bin { get; set; } - public DataKeyValue WaterSCG4Recip1_Set { get; set; } - public DataKeyValue WaterSCG4Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG4Step0_MixCode { get; set; } - public DataKeyValue WaterSCG4Step0_MixTime { get; set; } - public DataKeyValue WaterSCG4Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step1_MixCode { get; set; } - public DataKeyValue WaterSCG4Step1_MixTime { get; set; } - public DataKeyValue WaterSCG4Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step2_MixCode { get; set; } - public DataKeyValue WaterSCG4Step2_MixTime { get; set; } - public DataKeyValue WaterSCG4Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step3_MixCode { get; set; } - public DataKeyValue WaterSCG4Step3_MixTime { get; set; } - public DataKeyValue WaterSCG4Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step4_MixCode { get; set; } - public DataKeyValue WaterSCG4Step4_MixTime { get; set; } - public DataKeyValue WaterSCG4Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step5_MixCode { get; set; } - public DataKeyValue WaterSCG4Step5_MixTime { get; set; } - public DataKeyValue WaterSCG4Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step6_MixCode { get; set; } - public DataKeyValue WaterSCG4Step6_MixTime { get; set; } - public DataKeyValue WaterSCG4Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step7_MixCode { get; set; } - public DataKeyValue WaterSCG4Step7_MixTime { get; set; } - public DataKeyValue WaterSCG4Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step8_MixCode { get; set; } - public DataKeyValue WaterSCG4Step8_MixTime { get; set; } - public DataKeyValue WaterSCG4Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG4Step9_MixCode { get; set; } - public DataKeyValue WaterSCG4Step9_MixTime { get; set; } - public DataKeyValue WaterSCG4Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG4Step9_MixSpeed { get; set; } - public DataKeyValue GelatG5Recip0_Bin { get; set; } - public DataKeyValue GelatG5Recip0_Set { get; set; } - public DataKeyValue GelatG5Recip0_Tolerance { get; set; } - public DataKeyValue GelatG5Recip1_Bin { get; set; } - public DataKeyValue GelatG5Recip1_Set { get; set; } - public DataKeyValue GelatG5Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG5Recip0_Bin { get; set; } - public DataKeyValue WaterSCG5Recip0_Set { get; set; } - public DataKeyValue WaterSCG5Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG5Recip1_Bin { get; set; } - public DataKeyValue WaterSCG5Recip1_Set { get; set; } - public DataKeyValue WaterSCG5Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG5Step0_MixCode { get; set; } - public DataKeyValue WaterSCG5Step0_MixTime { get; set; } - public DataKeyValue WaterSCG5Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step1_MixCode { get; set; } - public DataKeyValue WaterSCG5Step1_MixTime { get; set; } - public DataKeyValue WaterSCG5Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step2_MixCode { get; set; } - public DataKeyValue WaterSCG5Step2_MixTime { get; set; } - public DataKeyValue WaterSCG5Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step3_MixCode { get; set; } - public DataKeyValue WaterSCG5Step3_MixTime { get; set; } - public DataKeyValue WaterSCG5Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step4_MixCode { get; set; } - public DataKeyValue WaterSCG5Step4_MixTime { get; set; } - public DataKeyValue WaterSCG5Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step5_MixCode { get; set; } - public DataKeyValue WaterSCG5Step5_MixTime { get; set; } - public DataKeyValue WaterSCG5Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step6_MixCode { get; set; } - public DataKeyValue WaterSCG5Step6_MixTime { get; set; } - public DataKeyValue WaterSCG5Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step7_MixCode { get; set; } - public DataKeyValue WaterSCG5Step7_MixTime { get; set; } - public DataKeyValue WaterSCG5Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step8_MixCode { get; set; } - public DataKeyValue WaterSCG5Step8_MixTime { get; set; } - public DataKeyValue WaterSCG5Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG5Step9_MixCode { get; set; } - public DataKeyValue WaterSCG5Step9_MixTime { get; set; } - public DataKeyValue WaterSCG5Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG5Step9_MixSpeed { get; set; } - public DataKeyValue GelatG6Recip0_Bin { get; set; } - public DataKeyValue GelatG6Recip0_Set { get; set; } - public DataKeyValue GelatG6Recip0_Tolerance { get; set; } - public DataKeyValue GelatG6Recip1_Bin { get; set; } - public DataKeyValue GelatG6Recip1_Set { get; set; } - public DataKeyValue GelatG6Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG6Recip0_Bin { get; set; } - public DataKeyValue WaterSCG6Recip0_Set { get; set; } - public DataKeyValue WaterSCG6Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG6Recip1_Bin { get; set; } - public DataKeyValue WaterSCG6Recip1_Set { get; set; } - public DataKeyValue WaterSCG6Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG6Step0_MixCode { get; set; } - public DataKeyValue WaterSCG6Step0_MixTime { get; set; } - public DataKeyValue WaterSCG6Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step1_MixCode { get; set; } - public DataKeyValue WaterSCG6Step1_MixTime { get; set; } - public DataKeyValue WaterSCG6Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step2_MixCode { get; set; } - public DataKeyValue WaterSCG6Step2_MixTime { get; set; } - public DataKeyValue WaterSCG6Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step3_MixCode { get; set; } - public DataKeyValue WaterSCG6Step3_MixTime { get; set; } - public DataKeyValue WaterSCG6Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step4_MixCode { get; set; } - public DataKeyValue WaterSCG6Step4_MixTime { get; set; } - public DataKeyValue WaterSCG6Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step5_MixCode { get; set; } - public DataKeyValue WaterSCG6Step5_MixTime { get; set; } - public DataKeyValue WaterSCG6Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step6_MixCode { get; set; } - public DataKeyValue WaterSCG6Step6_MixTime { get; set; } - public DataKeyValue WaterSCG6Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step7_MixCode { get; set; } - public DataKeyValue WaterSCG6Step7_MixTime { get; set; } - public DataKeyValue WaterSCG6Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step8_MixCode { get; set; } - public DataKeyValue WaterSCG6Step8_MixTime { get; set; } - public DataKeyValue WaterSCG6Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG6Step9_MixCode { get; set; } - public DataKeyValue WaterSCG6Step9_MixTime { get; set; } - public DataKeyValue WaterSCG6Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG6Step9_MixSpeed { get; set; } - public DataKeyValue GelatG7Recip0_Bin { get; set; } - public DataKeyValue GelatG7Recip0_Set { get; set; } - public DataKeyValue GelatG7Recip0_Tolerance { get; set; } - public DataKeyValue GelatG7Recip1_Bin { get; set; } - public DataKeyValue GelatG7Recip1_Set { get; set; } - public DataKeyValue GelatG7Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG7Recip0_Bin { get; set; } - public DataKeyValue WaterSCG7Recip0_Set { get; set; } - public DataKeyValue WaterSCG7Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG7Recip1_Bin { get; set; } - public DataKeyValue WaterSCG7Recip1_Set { get; set; } - public DataKeyValue WaterSCG7Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG7Step0_MixCode { get; set; } - public DataKeyValue WaterSCG7Step0_MixTime { get; set; } - public DataKeyValue WaterSCG7Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step1_MixCode { get; set; } - public DataKeyValue WaterSCG7Step1_MixTime { get; set; } - public DataKeyValue WaterSCG7Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step2_MixCode { get; set; } - public DataKeyValue WaterSCG7Step2_MixTime { get; set; } - public DataKeyValue WaterSCG7Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step3_MixCode { get; set; } - public DataKeyValue WaterSCG7Step3_MixTime { get; set; } - public DataKeyValue WaterSCG7Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step4_MixCode { get; set; } - public DataKeyValue WaterSCG7Step4_MixTime { get; set; } - public DataKeyValue WaterSCG7Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step5_MixCode { get; set; } - public DataKeyValue WaterSCG7Step5_MixTime { get; set; } - public DataKeyValue WaterSCG7Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step6_MixCode { get; set; } - public DataKeyValue WaterSCG7Step6_MixTime { get; set; } - public DataKeyValue WaterSCG7Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step7_MixCode { get; set; } - public DataKeyValue WaterSCG7Step7_MixTime { get; set; } - public DataKeyValue WaterSCG7Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step8_MixCode { get; set; } - public DataKeyValue WaterSCG7Step8_MixTime { get; set; } - public DataKeyValue WaterSCG7Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step8_MixSpeed { get; set; } - public DataKeyValue WaterSCG7Step9_MixCode { get; set; } - public DataKeyValue WaterSCG7Step9_MixTime { get; set; } - public DataKeyValue WaterSCG7Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG7Step9_MixSpeed { get; set; } - public DataKeyValue GelatG8Recip0_Bin { get; set; } - public DataKeyValue GelatG8Recip0_Set { get; set; } - public DataKeyValue GelatG8Recip0_Tolerance { get; set; } - public DataKeyValue GelatG8Recip1_Bin { get; set; } - public DataKeyValue GelatG8Recip1_Set { get; set; } - public DataKeyValue GelatG8Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG8Recip0_Bin { get; set; } - public DataKeyValue WaterSCG8Recip0_Set { get; set; } - public DataKeyValue WaterSCG8Recip0_Tolerance { get; set; } - public DataKeyValue WaterSCG8Recip1_Bin { get; set; } - public DataKeyValue WaterSCG8Recip1_Set { get; set; } - public DataKeyValue WaterSCG8Recip1_Tolerance { get; set; } - public DataKeyValue WaterSCG8Step0_MixCode { get; set; } - public DataKeyValue WaterSCG8Step0_MixTime { get; set; } - public DataKeyValue WaterSCG8Step0_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step0_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step1_MixCode { get; set; } - public DataKeyValue WaterSCG8Step1_MixTime { get; set; } - public DataKeyValue WaterSCG8Step1_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step1_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step2_MixCode { get; set; } - public DataKeyValue WaterSCG8Step2_MixTime { get; set; } - public DataKeyValue WaterSCG8Step2_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step2_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step3_MixCode { get; set; } - public DataKeyValue WaterSCG8Step3_MixTime { get; set; } - public DataKeyValue WaterSCG8Step3_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step3_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step4_MixCode { get; set; } - public DataKeyValue WaterSCG8Step4_MixTime { get; set; } - public DataKeyValue WaterSCG8Step4_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step4_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step5_MixCode { get; set; } - public DataKeyValue WaterSCG8Step5_MixTime { get; set; } - public DataKeyValue WaterSCG8Step5_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step5_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step6_MixCode { get; set; } - public DataKeyValue WaterSCG8Step6_MixTime { get; set; } - public DataKeyValue WaterSCG8Step6_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step6_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step7_MixCode { get; set; } - public DataKeyValue WaterSCG8Step7_MixTime { get; set; } - public DataKeyValue WaterSCG8Step7_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step7_MixSpeed { get; set; } - public DataKeyValue WaterSCG8Step8_MixCode { get; set; } - public DataKeyValue WaterSCG8Step8_MixTime { get; set; } - public DataKeyValue WaterSCG8Step8_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step8_MixSpeed { get; set; } - - public DataKeyValue WaterSCG8Step9_MixCode { get; set; } - public DataKeyValue WaterSCG8Step9_MixTime { get; set; } - public DataKeyValue WaterSCG8Step9_MixTemp { get; set; } - public DataKeyValue WaterSCG8Step9_MixSpeed { get; set; } - - public DataKeyValue WeterM1Step0_MixCode { get; set; } - public DataKeyValue WeterM1Step0_MixTime { get; set; } - public DataKeyValue WeterM1Step0_MixTemp { get; set; } - public DataKeyValue WeterM1Step0_MixSpeed { get; set; } - public DataKeyValue WeterM1Step0_SetValue { get; set; } - public DataKeyValue WeterM1Step0_Tolerance { get; set; } - public DataKeyValue WeterM1Step1_MixCode { get; set; } - public DataKeyValue WeterM1Step1_MixTime { get; set; } - public DataKeyValue WeterM1Step1_MixTemp { get; set; } - public DataKeyValue WeterM1Step1_MixSpeed { get; set; } - public DataKeyValue WeterM1Step1_SetValue { get; set; } - public DataKeyValue WeterM1Step1_Tolerance { get; set; } - public DataKeyValue WeterM1Step2_MixCode { get; set; } - public DataKeyValue WeterM1Step2_MixTime { get; set; } - public DataKeyValue WeterM1Step2_MixTemp { get; set; } - public DataKeyValue WeterM1Step2_MixSpeed { get; set; } - public DataKeyValue WeterM1Step2_SetValue { get; set; } - public DataKeyValue WeterM1Step2_Tolerance { get; set; } - public DataKeyValue WeterM1Step3_MixCode { get; set; } - public DataKeyValue WeterM1Step3_MixTime { get; set; } - public DataKeyValue WeterM1Step3_MixTemp { get; set; } - public DataKeyValue WeterM1Step3_MixSpeed { get; set; } - public DataKeyValue WeterM1Step3_SetValue { get; set; } - public DataKeyValue WeterM1Step3_Tolerance { get; set; } - public DataKeyValue WeterM1Step4_MixCode { get; set; } - public DataKeyValue WeterM1Step4_MixTime { get; set; } - public DataKeyValue WeterM1Step4_MixTemp { get; set; } - public DataKeyValue WeterM1Step4_MixSpeed { get; set; } - public DataKeyValue WeterM1Step4_SetValue { get; set; } - public DataKeyValue WeterM1Step4_Tolerance { get; set; } - public DataKeyValue WeterM1Step5_MixCode { get; set; } - public DataKeyValue WeterM1Step5_MixTime { get; set; } - public DataKeyValue WeterM1Step5_MixTemp { get; set; } - public DataKeyValue WeterM1Step5_MixSpeed { get; set; } - public DataKeyValue WeterM1Step5_SetValue { get; set; } - public DataKeyValue WeterM1Step5_Tolerance { get; set; } - public DataKeyValue WeterM1Step6_MixCode { get; set; } - public DataKeyValue WeterM1Step6_MixTime { get; set; } - public DataKeyValue WeterM1Step6_MixTemp { get; set; } - public DataKeyValue WeterM1Step6_MixSpeed { get; set; } - public DataKeyValue WeterM1Step6_SetValue { get; set; } - public DataKeyValue WeterM1Step6_Tolerance { get; set; } - public DataKeyValue WeterM1Step7_MixCode { get; set; } - public DataKeyValue WeterM1Step7_MixTime { get; set; } - public DataKeyValue WeterM1Step7_MixTemp { get; set; } - public DataKeyValue WeterM1Step7_MixSpeed { get; set; } - public DataKeyValue WeterM1Step7_SetValue { get; set; } - public DataKeyValue WeterM1Step7_Tolerance { get; set; } - public DataKeyValue WeterM1Step8_MixCode { get; set; } - public DataKeyValue WeterM1Step8_MixTime { get; set; } - public DataKeyValue WeterM1Step8_MixTemp { get; set; } - public DataKeyValue WeterM1Step8_MixSpeed { get; set; } - public DataKeyValue WeterM1Step8_SetValue { get; set; } - public DataKeyValue WeterM1Step8_Tolerance { get; set; } - public DataKeyValue WeterM1Step9_MixCode { get; set; } - public DataKeyValue WeterM1Step9_MixTime { get; set; } - public DataKeyValue WeterM1Step9_MixTemp { get; set; } - public DataKeyValue WeterM1Step9_MixSpeed { get; set; } - public DataKeyValue WeterM1Step9_SetValue { get; set; } - public DataKeyValue WeterM1Step9_Tolerance { get; set; } - public DataKeyValue WeterM2Step0_MixCode { get; set; } - public DataKeyValue WeterM2Step0_MixTime { get; set; } - public DataKeyValue WeterM2Step0_MixTemp { get; set; } - public DataKeyValue WeterM2Step0_MixSpeed { get; set; } - public DataKeyValue WeterM2Step0_SetValue { get; set; } - public DataKeyValue WeterM2Step0_Tolerance { get; set; } - public DataKeyValue WeterM2Step1_MixCode { get; set; } - public DataKeyValue WeterM2Step1_MixTime { get; set; } - public DataKeyValue WeterM2Step1_MixTemp { get; set; } - public DataKeyValue WeterM2Step1_MixSpeed { get; set; } - public DataKeyValue WeterM2Step1_SetValue { get; set; } - public DataKeyValue WeterM2Step1_Tolerance { get; set; } - public DataKeyValue WeterM2Step2_MixCode { get; set; } - public DataKeyValue WeterM2Step2_MixTime { get; set; } - public DataKeyValue WeterM2Step2_MixTemp { get; set; } - public DataKeyValue WeterM2Step2_MixSpeed { get; set; } - public DataKeyValue WeterM2Step2_SetValue { get; set; } - public DataKeyValue WeterM2Step2_Tolerance { get; set; } - public DataKeyValue WeterM2Step3_MixCode { get; set; } - public DataKeyValue WeterM2Step3_MixTime { get; set; } - public DataKeyValue WeterM2Step3_MixTemp { get; set; } - public DataKeyValue WeterM2Step3_MixSpeed { get; set; } - public DataKeyValue WeterM2Step3_SetValue { get; set; } - public DataKeyValue WeterM2Step3_Tolerance { get; set; } - public DataKeyValue WeterM2Step4_MixCode { get; set; } - public DataKeyValue WeterM2Step4_MixTime { get; set; } - public DataKeyValue WeterM2Step4_MixTemp { get; set; } - public DataKeyValue WeterM2Step4_MixSpeed { get; set; } - public DataKeyValue WeterM2Step4_SetValue { get; set; } - public DataKeyValue WeterM2Step4_Tolerance { get; set; } - public DataKeyValue WeterM2Step5_MixCode { get; set; } - public DataKeyValue WeterM2Step5_MixTime { get; set; } - public DataKeyValue WeterM2Step5_MixTemp { get; set; } - public DataKeyValue WeterM2Step5_MixSpeed { get; set; } - public DataKeyValue WeterM2Step5_SetValue { get; set; } - public DataKeyValue WeterM2Step5_Tolerance { get; set; } - public DataKeyValue WeterM2Step6_MixCode { get; set; } - public DataKeyValue WeterM2Step6_MixTime { get; set; } - public DataKeyValue WeterM2Step6_MixTemp { get; set; } - public DataKeyValue WeterM2Step6_MixSpeed { get; set; } - public DataKeyValue WeterM2Step6_SetValue { get; set; } - public DataKeyValue WeterM2Step6_Tolerance { get; set; } - public DataKeyValue WeterM2Step7_MixCode { get; set; } - public DataKeyValue WeterM2Step7_MixTime { get; set; } - public DataKeyValue WeterM2Step7_MixTemp { get; set; } - public DataKeyValue WeterM2Step7_MixSpeed { get; set; } - public DataKeyValue WeterM2Step7_SetValue { get; set; } - public DataKeyValue WeterM2Step7_Tolerance { get; set; } - public DataKeyValue WeterM2Step8_MixCode { get; set; } - public DataKeyValue WeterM2Step8_MixTime { get; set; } - public DataKeyValue WeterM2Step8_MixTemp { get; set; } - public DataKeyValue WeterM2Step8_MixSpeed { get; set; } - public DataKeyValue WeterM2Step8_SetValue { get; set; } - public DataKeyValue WeterM2Step8_Tolerance { get; set; } - public DataKeyValue WeterM2Step9_MixCode { get; set; } - public DataKeyValue WeterM2Step9_MixTime { get; set; } - public DataKeyValue WeterM2Step9_MixTemp { get; set; } - public DataKeyValue WeterM2Step9_MixSpeed { get; set; } - public DataKeyValue WeterM2Step9_SetValue { get; set; } - public DataKeyValue WeterM2Step9_Tolerance { get; set; } - public DataKeyValue WeterM3Step0_MixCode { get; set; } - public DataKeyValue WeterM3Step0_MixTime { get; set; } - public DataKeyValue WeterM3Step0_MixTemp { get; set; } - public DataKeyValue WeterM3Step0_MixSpeed { get; set; } - public DataKeyValue WeterM3Step0_SetValue { get; set; } - public DataKeyValue WeterM3Step0_Tolerance { get; set; } - public DataKeyValue WeterM3Step1_MixCode { get; set; } - public DataKeyValue WeterM3Step1_MixTime { get; set; } - public DataKeyValue WeterM3Step1_MixTemp { get; set; } - public DataKeyValue WeterM3Step1_MixSpeed { get; set; } - public DataKeyValue WeterM3Step1_SetValue { get; set; } - public DataKeyValue WeterM3Step1_Tolerance { get; set; } - public DataKeyValue WeterM3Step2_MixCode { get; set; } - public DataKeyValue WeterM3Step2_MixTime { get; set; } - public DataKeyValue WeterM3Step2_MixTemp { get; set; } - public DataKeyValue WeterM3Step2_MixSpeed { get; set; } - public DataKeyValue WeterM3Step2_SetValue { get; set; } - public DataKeyValue WeterM3Step2_Tolerance { get; set; } - public DataKeyValue WeterM3Step3_MixCode { get; set; } - public DataKeyValue WeterM3Step3_MixTime { get; set; } - public DataKeyValue WeterM3Step3_MixTemp { get; set; } - public DataKeyValue WeterM3Step3_MixSpeed { get; set; } - public DataKeyValue WeterM3Step3_SetValue { get; set; } - public DataKeyValue WeterM3Step3_Tolerance { get; set; } - public DataKeyValue WeterM3Step4_MixCode { get; set; } - public DataKeyValue WeterM3Step4_MixTime { get; set; } - public DataKeyValue WeterM3Step4_MixTemp { get; set; } - public DataKeyValue WeterM3Step4_MixSpeed { get; set; } - public DataKeyValue WeterM3Step4_SetValue { get; set; } - public DataKeyValue WeterM3Step4_Tolerance { get; set; } - public DataKeyValue WeterM3Step5_MixCode { get; set; } - public DataKeyValue WeterM3Step5_MixTime { get; set; } - public DataKeyValue WeterM3Step5_MixTemp { get; set; } - public DataKeyValue WeterM3Step5_MixSpeed { get; set; } - public DataKeyValue WeterM3Step5_SetValue { get; set; } - public DataKeyValue WeterM3Step5_Tolerance { get; set; } - public DataKeyValue WeterM3Step6_MixCode { get; set; } - public DataKeyValue WeterM3Step6_MixTime { get; set; } - public DataKeyValue WeterM3Step6_MixTemp { get; set; } - public DataKeyValue WeterM3Step6_MixSpeed { get; set; } - public DataKeyValue WeterM3Step6_SetValue { get; set; } - public DataKeyValue WeterM3Step6_Tolerance { get; set; } - public DataKeyValue WeterM3Step7_MixCode { get; set; } - public DataKeyValue WeterM3Step7_MixTime { get; set; } - public DataKeyValue WeterM3Step7_MixTemp { get; set; } - public DataKeyValue WeterM3Step7_MixSpeed { get; set; } - public DataKeyValue WeterM3Step7_SetValue { get; set; } - public DataKeyValue WeterM3Step7_Tolerance { get; set; } - public DataKeyValue WeterM3Step8_MixCode { get; set; } - public DataKeyValue WeterM3Step8_MixTime { get; set; } - public DataKeyValue WeterM3Step8_MixTemp { get; set; } - public DataKeyValue WeterM3Step8_MixSpeed { get; set; } - public DataKeyValue WeterM3Step8_SetValue { get; set; } - public DataKeyValue WeterM3Step8_Tolerance { get; set; } - public DataKeyValue WeterM3Step9_MixCode { get; set; } - public DataKeyValue WeterM3Step9_MixTime { get; set; } - public DataKeyValue WeterM3Step9_MixTemp { get; set; } - public DataKeyValue WeterM3Step9_MixSpeed { get; set; } - public DataKeyValue WeterM3Step9_SetValue { get; set; } - public DataKeyValue WeterM3Step9_Tolerance { get; set; } - public DataKeyValue WeterM4Step0_MixCode { get; set; } - public DataKeyValue WeterM4Step0_MixTime { get; set; } - public DataKeyValue WeterM4Step0_MixTemp { get; set; } - public DataKeyValue WeterM4Step0_MixSpeed { get; set; } - public DataKeyValue WeterM4Step0_SetValue { get; set; } - public DataKeyValue WeterM4Step0_Tolerance { get; set; } - public DataKeyValue WeterM4Step1_MixCode { get; set; } - public DataKeyValue WeterM4Step1_MixTime { get; set; } - public DataKeyValue WeterM4Step1_MixTemp { get; set; } - public DataKeyValue WeterM4Step1_MixSpeed { get; set; } - public DataKeyValue WeterM4Step1_SetValue { get; set; } - public DataKeyValue WeterM4Step1_Tolerance { get; set; } - public DataKeyValue WeterM4Step2_MixCode { get; set; } - public DataKeyValue WeterM4Step2_MixTime { get; set; } - public DataKeyValue WeterM4Step2_MixTemp { get; set; } - public DataKeyValue WeterM4Step2_MixSpeed { get; set; } - public DataKeyValue WeterM4Step2_SetValue { get; set; } - public DataKeyValue WeterM4Step2_Tolerance { get; set; } - public DataKeyValue WeterM4Step3_MixCode { get; set; } - public DataKeyValue WeterM4Step3_MixTime { get; set; } - public DataKeyValue WeterM4Step3_MixTemp { get; set; } - public DataKeyValue WeterM4Step3_MixSpeed { get; set; } - public DataKeyValue WeterM4Step3_SetValue { get; set; } - public DataKeyValue WeterM4Step3_Tolerance { get; set; } - public DataKeyValue WeterM4Step4_MixCode { get; set; } - public DataKeyValue WeterM4Step4_MixTime { get; set; } - public DataKeyValue WeterM4Step4_MixTemp { get; set; } - public DataKeyValue WeterM4Step4_MixSpeed { get; set; } - public DataKeyValue WeterM4Step4_SetValue { get; set; } - public DataKeyValue WeterM4Step4_Tolerance { get; set; } - public DataKeyValue WeterM4Step5_MixCode { get; set; } - public DataKeyValue WeterM4Step5_MixTime { get; set; } - public DataKeyValue WeterM4Step5_MixTemp { get; set; } - public DataKeyValue WeterM4Step5_MixSpeed { get; set; } - public DataKeyValue WeterM4Step5_SetValue { get; set; } - public DataKeyValue WeterM4Step5_Tolerance { get; set; } - public DataKeyValue WeterM4Step6_MixCode { get; set; } - public DataKeyValue WeterM4Step6_MixTime { get; set; } - public DataKeyValue WeterM4Step6_MixTemp { get; set; } - public DataKeyValue WeterM4Step6_MixSpeed { get; set; } - public DataKeyValue WeterM4Step6_SetValue { get; set; } - public DataKeyValue WeterM4Step6_Tolerance { get; set; } - public DataKeyValue WeterM4Step7_MixCode { get; set; } - public DataKeyValue WeterM4Step7_MixTime { get; set; } - public DataKeyValue WeterM4Step7_MixTemp { get; set; } - public DataKeyValue WeterM4Step7_MixSpeed { get; set; } - public DataKeyValue WeterM4Step7_SetValue { get; set; } - public DataKeyValue WeterM4Step7_Tolerance { get; set; } - public DataKeyValue WeterM4Step8_MixCode { get; set; } - public DataKeyValue WeterM4Step8_MixTime { get; set; } - public DataKeyValue WeterM4Step8_MixTemp { get; set; } - public DataKeyValue WeterM4Step8_MixSpeed { get; set; } - public DataKeyValue WeterM4Step8_SetValue { get; set; } - public DataKeyValue WeterM4Step8_Tolerance { get; set; } - public DataKeyValue WeterM4Step9_MixCode { get; set; } - public DataKeyValue WeterM4Step9_MixTime { get; set; } - public DataKeyValue WeterM4Step9_MixTemp { get; set; } - public DataKeyValue WeterM4Step9_MixSpeed { get; set; } - public DataKeyValue WeterM4Step9_SetValue { get; set; } - public DataKeyValue WeterM4Step9_Tolerance { get; set; } - public DataKeyValue WeterM5Step0_MixCode { get; set; } - public DataKeyValue WeterM5Step0_MixTime { get; set; } - public DataKeyValue WeterM5Step0_MixTemp { get; set; } - public DataKeyValue WeterM5Step0_MixSpeed { get; set; } - public DataKeyValue WeterM5Step0_SetValue { get; set; } - public DataKeyValue WeterM5Step0_Tolerance { get; set; } - public DataKeyValue WeterM5Step1_MixCode { get; set; } - public DataKeyValue WeterM5Step1_MixTime { get; set; } - public DataKeyValue WeterM5Step1_MixTemp { get; set; } - public DataKeyValue WeterM5Step1_MixSpeed { get; set; } - public DataKeyValue WeterM5Step1_SetValue { get; set; } - public DataKeyValue WeterM5Step1_Tolerance { get; set; } - public DataKeyValue WeterM5Step2_MixCode { get; set; } - public DataKeyValue WeterM5Step2_MixTime { get; set; } - public DataKeyValue WeterM5Step2_MixTemp { get; set; } - public DataKeyValue WeterM5Step2_MixSpeed { get; set; } - public DataKeyValue WeterM5Step2_SetValue { get; set; } - public DataKeyValue WeterM5Step2_Tolerance { get; set; } - public DataKeyValue WeterM5Step3_MixCode { get; set; } - public DataKeyValue WeterM5Step3_MixTime { get; set; } - public DataKeyValue WeterM5Step3_MixTemp { get; set; } - public DataKeyValue WeterM5Step3_MixSpeed { get; set; } - public DataKeyValue WeterM5Step3_SetValue { get; set; } - public DataKeyValue WeterM5Step3_Tolerance { get; set; } - public DataKeyValue WeterM5Step4_MixCode { get; set; } - public DataKeyValue WeterM5Step4_MixTime { get; set; } - public DataKeyValue WeterM5Step4_MixTemp { get; set; } - public DataKeyValue WeterM5Step4_MixSpeed { get; set; } - public DataKeyValue WeterM5Step4_SetValue { get; set; } - public DataKeyValue WeterM5Step4_Tolerance { get; set; } - public DataKeyValue WeterM5Step5_MixCode { get; set; } - public DataKeyValue WeterM5Step5_MixTime { get; set; } - public DataKeyValue WeterM5Step5_MixTemp { get; set; } - public DataKeyValue WeterM5Step5_MixSpeed { get; set; } - public DataKeyValue WeterM5Step5_SetValue { get; set; } - public DataKeyValue WeterM5Step5_Tolerance { get; set; } - public DataKeyValue WeterM5Step6_MixCode { get; set; } - public DataKeyValue WeterM5Step6_MixTime { get; set; } - public DataKeyValue WeterM5Step6_MixTemp { get; set; } - public DataKeyValue WeterM5Step6_MixSpeed { get; set; } - public DataKeyValue WeterM5Step6_SetValue { get; set; } - public DataKeyValue WeterM5Step6_Tolerance { get; set; } - public DataKeyValue WeterM5Step7_MixCode { get; set; } - public DataKeyValue WeterM5Step7_MixTime { get; set; } - public DataKeyValue WeterM5Step7_MixTemp { get; set; } - public DataKeyValue WeterM5Step7_MixSpeed { get; set; } - public DataKeyValue WeterM5Step7_SetValue { get; set; } - public DataKeyValue WeterM5Step7_Tolerance { get; set; } - public DataKeyValue WeterM5Step8_MixCode { get; set; } - public DataKeyValue WeterM5Step8_MixTime { get; set; } - public DataKeyValue WeterM5Step8_MixTemp { get; set; } - public DataKeyValue WeterM5Step8_MixSpeed { get; set; } - public DataKeyValue WeterM5Step8_SetValue { get; set; } - public DataKeyValue WeterM5Step8_Tolerance { get; set; } - public DataKeyValue WeterM5Step9_MixCode { get; set; } - public DataKeyValue WeterM5Step9_MixTime { get; set; } - public DataKeyValue WeterM5Step9_MixTemp { get; set; } - public DataKeyValue WeterM5Step9_MixSpeed { get; set; } - public DataKeyValue WeterM5Step9_SetValue { get; set; } - public DataKeyValue WeterM5Step9_Tolerance { get; set; } - public DataKeyValue WeterM6Step0_MixCode { get; set; } - public DataKeyValue WeterM6Step0_MixTime { get; set; } - public DataKeyValue WeterM6Step0_MixTemp { get; set; } - public DataKeyValue WeterM6Step0_MixSpeed { get; set; } - public DataKeyValue WeterM6Step0_SetValue { get; set; } - public DataKeyValue WeterM6Step0_Tolerance { get; set; } - public DataKeyValue WeterM6Step1_MixCode { get; set; } - public DataKeyValue WeterM6Step1_MixTime { get; set; } - public DataKeyValue WeterM6Step1_MixTemp { get; set; } - public DataKeyValue WeterM6Step1_MixSpeed { get; set; } - public DataKeyValue WeterM6Step1_SetValue { get; set; } - public DataKeyValue WeterM6Step1_Tolerance { get; set; } - public DataKeyValue WeterM6Step2_MixCode { get; set; } - public DataKeyValue WeterM6Step2_MixTime { get; set; } - public DataKeyValue WeterM6Step2_MixTemp { get; set; } - public DataKeyValue WeterM6Step2_MixSpeed { get; set; } - public DataKeyValue WeterM6Step2_SetValue { get; set; } - public DataKeyValue WeterM6Step2_Tolerance { get; set; } - public DataKeyValue WeterM6Step3_MixCode { get; set; } - public DataKeyValue WeterM6Step3_MixTime { get; set; } - public DataKeyValue WeterM6Step3_MixTemp { get; set; } - public DataKeyValue WeterM6Step3_MixSpeed { get; set; } - public DataKeyValue WeterM6Step3_SetValue { get; set; } - public DataKeyValue WeterM6Step3_Tolerance { get; set; } - public DataKeyValue WeterM6Step4_MixCode { get; set; } - public DataKeyValue WeterM6Step4_MixTime { get; set; } - public DataKeyValue WeterM6Step4_MixTemp { get; set; } - public DataKeyValue WeterM6Step4_MixSpeed { get; set; } - public DataKeyValue WeterM6Step4_SetValue { get; set; } - public DataKeyValue WeterM6Step4_Tolerance { get; set; } - public DataKeyValue WeterM6Step5_MixCode { get; set; } - public DataKeyValue WeterM6Step5_MixTime { get; set; } - public DataKeyValue WeterM6Step5_MixTemp { get; set; } - public DataKeyValue WeterM6Step5_MixSpeed { get; set; } - public DataKeyValue WeterM6Step5_SetValue { get; set; } - public DataKeyValue WeterM6Step5_Tolerance { get; set; } - public DataKeyValue WeterM6Step6_MixCode { get; set; } - public DataKeyValue WeterM6Step6_MixTime { get; set; } - public DataKeyValue WeterM6Step6_MixTemp { get; set; } - public DataKeyValue WeterM6Step6_MixSpeed { get; set; } - public DataKeyValue WeterM6Step6_SetValue { get; set; } - public DataKeyValue WeterM6Step6_Tolerance { get; set; } - public DataKeyValue WeterM6Step7_MixCode { get; set; } - public DataKeyValue WeterM6Step7_MixTime { get; set; } - public DataKeyValue WeterM6Step7_MixTemp { get; set; } - public DataKeyValue WeterM6Step7_MixSpeed { get; set; } - public DataKeyValue WeterM6Step7_SetValue { get; set; } - public DataKeyValue WeterM6Step7_Tolerance { get; set; } - public DataKeyValue WeterM6Step8_MixCode { get; set; } - public DataKeyValue WeterM6Step8_MixTime { get; set; } - public DataKeyValue WeterM6Step8_MixTemp { get; set; } - public DataKeyValue WeterM6Step8_MixSpeed { get; set; } - public DataKeyValue WeterM6Step8_SetValue { get; set; } - public DataKeyValue WeterM6Step8_Tolerance { get; set; } - public DataKeyValue WeterM6Step9_MixCode { get; set; } - public DataKeyValue WeterM6Step9_MixTime { get; set; } - public DataKeyValue WeterM6Step9_MixTemp { get; set; } - public DataKeyValue WeterM6Step9_MixSpeed { get; set; } - public DataKeyValue WeterM6Step9_SetValue { get; set; } - public DataKeyValue WeterM6Step9_Tolerance { get; set; } - public DataKeyValue WeterM7Step0_MixCode { get; set; } - public DataKeyValue WeterM7Step0_MixTime { get; set; } - public DataKeyValue WeterM7Step0_MixTemp { get; set; } - public DataKeyValue WeterM7Step0_MixSpeed { get; set; } - public DataKeyValue WeterM7Step0_SetValue { get; set; } - public DataKeyValue WeterM7Step0_Tolerance { get; set; } - public DataKeyValue WeterM7Step1_MixCode { get; set; } - public DataKeyValue WeterM7Step1_MixTime { get; set; } - public DataKeyValue WeterM7Step1_MixTemp { get; set; } - public DataKeyValue WeterM7Step1_MixSpeed { get; set; } - public DataKeyValue WeterM7Step1_SetValue { get; set; } - public DataKeyValue WeterM7Step1_Tolerance { get; set; } - public DataKeyValue WeterM7Step2_MixCode { get; set; } - public DataKeyValue WeterM7Step2_MixTime { get; set; } - public DataKeyValue WeterM7Step2_MixTemp { get; set; } - public DataKeyValue WeterM7Step2_MixSpeed { get; set; } - public DataKeyValue WeterM7Step2_SetValue { get; set; } - public DataKeyValue WeterM7Step2_Tolerance { get; set; } - public DataKeyValue WeterM7Step3_MixCode { get; set; } - public DataKeyValue WeterM7Step3_MixTime { get; set; } - public DataKeyValue WeterM7Step3_MixTemp { get; set; } - public DataKeyValue WeterM7Step3_MixSpeed { get; set; } - public DataKeyValue WeterM7Step3_SetValue { get; set; } - public DataKeyValue WeterM7Step3_Tolerance { get; set; } - public DataKeyValue WeterM7Step4_MixCode { get; set; } - public DataKeyValue WeterM7Step4_MixTime { get; set; } - public DataKeyValue WeterM7Step4_MixTemp { get; set; } - public DataKeyValue WeterM7Step4_MixSpeed { get; set; } - public DataKeyValue WeterM7Step4_SetValue { get; set; } - public DataKeyValue WeterM7Step4_Tolerance { get; set; } - public DataKeyValue WeterM7Step5_MixCode { get; set; } - public DataKeyValue WeterM7Step5_MixTime { get; set; } - public DataKeyValue WeterM7Step5_MixTemp { get; set; } - public DataKeyValue WeterM7Step5_MixSpeed { get; set; } - public DataKeyValue WeterM7Step5_SetValue { get; set; } - public DataKeyValue WeterM7Step5_Tolerance { get; set; } - public DataKeyValue WeterM7Step6_MixCode { get; set; } - public DataKeyValue WeterM7Step6_MixTime { get; set; } - public DataKeyValue WeterM7Step6_MixTemp { get; set; } - public DataKeyValue WeterM7Step6_MixSpeed { get; set; } - public DataKeyValue WeterM7Step6_SetValue { get; set; } - public DataKeyValue WeterM7Step6_Tolerance { get; set; } - public DataKeyValue WeterM7Step7_MixCode { get; set; } - public DataKeyValue WeterM7Step7_MixTime { get; set; } - public DataKeyValue WeterM7Step7_MixTemp { get; set; } - public DataKeyValue WeterM7Step7_MixSpeed { get; set; } - public DataKeyValue WeterM7Step7_SetValue { get; set; } - public DataKeyValue WeterM7Step7_Tolerance { get; set; } - public DataKeyValue WeterM7Step8_MixCode { get; set; } - public DataKeyValue WeterM7Step8_MixTime { get; set; } - public DataKeyValue WeterM7Step8_MixTemp { get; set; } - public DataKeyValue WeterM7Step8_MixSpeed { get; set; } - public DataKeyValue WeterM7Step8_SetValue { get; set; } - public DataKeyValue WeterM7Step8_Tolerance { get; set; } - public DataKeyValue WeterM7Step9_MixCode { get; set; } - public DataKeyValue WeterM7Step9_MixTime { get; set; } - public DataKeyValue WeterM7Step9_MixTemp { get; set; } - public DataKeyValue WeterM7Step9_MixSpeed { get; set; } - public DataKeyValue WeterM7Step9_SetValue { get; set; } - public DataKeyValue WeterM7Step9_Tolerance { get; set; } - public DataKeyValue WeterM8Step0_MixCode { get; set; } - public DataKeyValue WeterM8Step0_MixTime { get; set; } - public DataKeyValue WeterM8Step0_MixTemp { get; set; } - public DataKeyValue WeterM8Step0_MixSpeed { get; set; } - public DataKeyValue WeterM8Step0_SetValue { get; set; } - public DataKeyValue WeterM8Step0_Tolerance { get; set; } - public DataKeyValue WeterM8Step1_MixCode { get; set; } - public DataKeyValue WeterM8Step1_MixTime { get; set; } - public DataKeyValue WeterM8Step1_MixTemp { get; set; } - public DataKeyValue WeterM8Step1_MixSpeed { get; set; } - public DataKeyValue WeterM8Step1_SetValue { get; set; } - public DataKeyValue WeterM8Step1_Tolerance { get; set; } - public DataKeyValue WeterM8Step2_MixCode { get; set; } - public DataKeyValue WeterM8Step2_MixTime { get; set; } - public DataKeyValue WeterM8Step2_MixTemp { get; set; } - public DataKeyValue WeterM8Step2_MixSpeed { get; set; } - public DataKeyValue WeterM8Step2_SetValue { get; set; } - public DataKeyValue WeterM8Step2_Tolerance { get; set; } - public DataKeyValue WeterM8Step3_MixCode { get; set; } - public DataKeyValue WeterM8Step3_MixTime { get; set; } - public DataKeyValue WeterM8Step3_MixTemp { get; set; } - public DataKeyValue WeterM8Step3_MixSpeed { get; set; } - public DataKeyValue WeterM8Step3_SetValue { get; set; } - public DataKeyValue WeterM8Step3_Tolerance { get; set; } - public DataKeyValue WeterM8Step4_MixCode { get; set; } - public DataKeyValue WeterM8Step4_MixTime { get; set; } - public DataKeyValue WeterM8Step4_MixTemp { get; set; } - public DataKeyValue WeterM8Step4_MixSpeed { get; set; } - public DataKeyValue WeterM8Step4_SetValue { get; set; } - public DataKeyValue WeterM8Step4_Tolerance { get; set; } - public DataKeyValue WeterM8Step5_MixCode { get; set; } - public DataKeyValue WeterM8Step5_MixTime { get; set; } - public DataKeyValue WeterM8Step5_MixTemp { get; set; } - public DataKeyValue WeterM8Step5_MixSpeed { get; set; } - public DataKeyValue WeterM8Step5_SetValue { get; set; } - public DataKeyValue WeterM8Step5_Tolerance { get; set; } - public DataKeyValue WeterM8Step6_MixCode { get; set; } - public DataKeyValue WeterM8Step6_MixTime { get; set; } - public DataKeyValue WeterM8Step6_MixTemp { get; set; } - public DataKeyValue WeterM8Step6_MixSpeed { get; set; } - public DataKeyValue WeterM8Step6_SetValue { get; set; } - public DataKeyValue WeterM8Step6_Tolerance { get; set; } - public DataKeyValue WeterM8Step7_MixCode { get; set; } - public DataKeyValue WeterM8Step7_MixTime { get; set; } - public DataKeyValue WeterM8Step7_MixTemp { get; set; } - public DataKeyValue WeterM8Step7_MixSpeed { get; set; } - public DataKeyValue WeterM8Step7_SetValue { get; set; } - public DataKeyValue WeterM8Step7_Tolerance { get; set; } - public DataKeyValue WeterM8Step8_MixCode { get; set; } - public DataKeyValue WeterM8Step8_MixTime { get; set; } - public DataKeyValue WeterM8Step8_MixTemp { get; set; } - public DataKeyValue WeterM8Step8_MixSpeed { get; set; } - public DataKeyValue WeterM8Step8_SetValue { get; set; } - public DataKeyValue WeterM8Step8_Tolerance { get; set; } - public DataKeyValue WeterM8Step9_MixCode { get; set; } - public DataKeyValue WeterM8Step9_MixTime { get; set; } - public DataKeyValue WeterM8Step9_MixTemp { get; set; } - public DataKeyValue WeterM8Step9_MixSpeed { get; set; } - public DataKeyValue WeterM8Step9_SetValue { get; set; } - public DataKeyValue WeterM8Step9_Tolerance { get; set; } - #endregion - - #region 2105 - - public DataKeyValue Plan0_RecipeCode { get; set; } - public DataKeyValue Plan0_PlanCode { get; set; } - public DataKeyValue Plan0_Batch { get; set; } - public DataKeyValue Plan0_Start { get; set; } - public DataKeyValue Plan0_Pause { get; set; } - //public DataKeyValue Plan0_Stop { get; set; } - public DataKeyValue Plan1_RecipeCode { get; set; } - //public DataKeyValue Plan1_PlanCode { get; set; } - public DataKeyValue Plan1_Batch { get; set; } - public DataKeyValue Plan1_Start { get; set; } - public DataKeyValue Plan1_Pause { get; set; } - //public DataKeyValue Plan1_Stop { get; set; } - public DataKeyValue Plan2_RecipeCode { get; set; } - //public DataKeyValue Plan2_PlanCode { get; set; } - public DataKeyValue Plan2_Batch { get; set; } - public DataKeyValue Plan2_Start { get; set; } - public DataKeyValue Plan2_Pause { get; set; } - //public DataKeyValue Plan2_Stop { get; set; } - public DataKeyValue Plan3_RecipeCode { get; set; } - //public DataKeyValue Plan3_PlanCode { get; set; } - public DataKeyValue Plan3_Batch { get; set; } - public DataKeyValue Plan3_Start { get; set; } - public DataKeyValue Plan3_Pause { get; set; } - //public DataKeyValue Plan3_Stop { get; set; } - //public DataKeyValue Status0 { get; set; } - //public DataKeyValue Status1 { get; set; } - //public DataKeyValue Status2 { get; set; } - //public DataKeyValue Status3 { get; set; } - //public DataKeyValue End0 { get; set; } - //public DataKeyValue End1 { get; set; } - //public DataKeyValue End2 { get; set; } - //public DataKeyValue End3 { get; set; } - - #endregion - #region 2102 新增 - //public DataKeyValue BUWeter1_ManualMode { get; set; } - //public DataKeyValue BUWeter1_AutoMode { get; set; } - //public DataKeyValue BUWeter1_AlarmReset { get; set; } - //public DataKeyValue BUWeter1_SetManual { get; set; } - //public DataKeyValue BUWeter1_SetAuto { get; set; } - //public DataKeyValue BUWeter1_SetPosition { get; set; } - //public DataKeyValue BUWeter1_UnSetPosition { get; set; } - //public DataKeyValue BUWeter1_Set { get; set; } - //public DataKeyValue BUWeter1_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter1_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter1_AlarmPosition { get; set; } - //public DataKeyValue BUWeter1_Alarm { get; set; } - //public DataKeyValue BUWeter1_P { get; set; } - //public DataKeyValue BUWeter2_ManualMode { get; set; } - //public DataKeyValue BUWeter2_AutoMode { get; set; } - //public DataKeyValue BUWeter2_AlarmReset { get; set; } - //public DataKeyValue BUWeter2_SetManual { get; set; } - //public DataKeyValue BUWeter2_SetAuto { get; set; } - //public DataKeyValue BUWeter2_SetPosition { get; set; } - //public DataKeyValue BUWeter2_UnSetPosition { get; set; } - //public DataKeyValue BUWeter2_Set { get; set; } - //public DataKeyValue BUWeter2_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter2_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter2_AlarmPosition { get; set; } - //public DataKeyValue BUWeter2_Alarm { get; set; } - //public DataKeyValue BUWeter2_P { get; set; } - //public DataKeyValue BUWeter3_ManualMode { get; set; } - //public DataKeyValue BUWeter3_AutoMode { get; set; } - //public DataKeyValue BUWeter3_AlarmReset { get; set; } - //public DataKeyValue BUWeter3_SetManual { get; set; } - //public DataKeyValue BUWeter3_SetAuto { get; set; } - //public DataKeyValue BUWeter3_SetPosition { get; set; } - //public DataKeyValue BUWeter3_UnSetPosition { get; set; } - //public DataKeyValue BUWeter3_Set { get; set; } - //public DataKeyValue BUWeter3_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter3_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter3_AlarmPosition { get; set; } - //public DataKeyValue BUWeter3_Alarm { get; set; } - //public DataKeyValue BUWeter3_P { get; set; } - //public DataKeyValue BUWeter4_ManualMode { get; set; } - //public DataKeyValue BUWeter4_AutoMode { get; set; } - //public DataKeyValue BUWeter4_AlarmReset { get; set; } - //public DataKeyValue BUWeter4_SetManual { get; set; } - //public DataKeyValue BUWeter4_SetAuto { get; set; } - //public DataKeyValue BUWeter4_SetPosition { get; set; } - //public DataKeyValue BUWeter4_UnSetPosition { get; set; } - //public DataKeyValue BUWeter4_Set { get; set; } - //public DataKeyValue BUWeter4_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter4_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter4_AlarmPosition { get; set; } - //public DataKeyValue BUWeter4_Alarm { get; set; } - //public DataKeyValue BUWeter4_P { get; set; } - //public DataKeyValue BUWeter5_ManualMode { get; set; } - //public DataKeyValue BUWeter5_AutoMode { get; set; } - //public DataKeyValue BUWeter5_AlarmReset { get; set; } - //public DataKeyValue BUWeter5_SetManual { get; set; } - //public DataKeyValue BUWeter5_SetAuto { get; set; } - //public DataKeyValue BUWeter5_SetPosition { get; set; } - //public DataKeyValue BUWeter5_UnSetPosition { get; set; } - //public DataKeyValue BUWeter5_Set { get; set; } - //public DataKeyValue BUWeter5_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter5_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter5_AlarmPosition { get; set; } - //public DataKeyValue BUWeter5_Alarm { get; set; } - //public DataKeyValue BUWeter5_P { get; set; } - //public DataKeyValue BUWeter6_ManualMode { get; set; } - //public DataKeyValue BUWeter6_AutoMode { get; set; } - //public DataKeyValue BUWeter6_AlarmReset { get; set; } - //public DataKeyValue BUWeter6_SetManual { get; set; } - //public DataKeyValue BUWeter6_SetAuto { get; set; } - //public DataKeyValue BUWeter6_SetPosition { get; set; } - //public DataKeyValue BUWeter6_UnSetPosition { get; set; } - //public DataKeyValue BUWeter6_Set { get; set; } - //public DataKeyValue BUWeter6_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter6_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter6_AlarmPosition { get; set; } - //public DataKeyValue BUWeter6_Alarm { get; set; } - //public DataKeyValue BUWeter6_P { get; set; } - //public DataKeyValue BUWeter7_ManualMode { get; set; } - //public DataKeyValue BUWeter7_AutoMode { get; set; } - //public DataKeyValue BUWeter7_AlarmReset { get; set; } - //public DataKeyValue BUWeter7_SetManual { get; set; } - //public DataKeyValue BUWeter7_SetAuto { get; set; } - //public DataKeyValue BUWeter7_SetPosition { get; set; } - //public DataKeyValue BUWeter7_UnSetPosition { get; set; } - //public DataKeyValue BUWeter7_Set { get; set; } - //public DataKeyValue BUWeter7_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter7_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter7_AlarmPosition { get; set; } - //public DataKeyValue BUWeter7_Alarm { get; set; } - //public DataKeyValue BUWeter7_P { get; set; } - //public DataKeyValue BUWeter8_ManualMode { get; set; } - //public DataKeyValue BUWeter8_AutoMode { get; set; } - //public DataKeyValue BUWeter8_AlarmReset { get; set; } - //public DataKeyValue BUWeter8_SetManual { get; set; } - //public DataKeyValue BUWeter8_SetAuto { get; set; } - //public DataKeyValue BUWeter8_SetPosition { get; set; } - //public DataKeyValue BUWeter8_UnSetPosition { get; set; } - //public DataKeyValue BUWeter8_Set { get; set; } - //public DataKeyValue BUWeter8_AlarmSetPos { get; set; } - //public DataKeyValue BUWeter8_AlarmUnSetPos { get; set; } - //public DataKeyValue BUWeter8_AlarmPosition { get; set; } - //public DataKeyValue BUWeter8_Alarm { get; set; } - //public DataKeyValue BUWeter8_P { get; set; } - - #endregion - #region 2103 - - //public DataKeyValue DM1ASI01_ManualMode { get; set; } - //public DataKeyValue DM1ASI01_AutoMode { get; set; } - //public DataKeyValue DM1ASI01_AlarmReset { get; set; } - //public DataKeyValue DM1ASI01_StartManual { get; set; } - //public DataKeyValue DM1ASI01_StopManual { get; set; } - //public DataKeyValue DM1ASI01_StartAuto { get; set; } - //public DataKeyValue DM1ASI01_StopAuto { get; set; } - //public DataKeyValue DM1ASI01_Running { get; set; } - //public DataKeyValue DM1ASI01_Run { get; set; } - //public DataKeyValue DM1ASI01_Alarm { get; set; } - //public DataKeyValue DM1BSI01_ManualMode { get; set; } - //public DataKeyValue DM1BSI01_AutoMode { get; set; } - //public DataKeyValue DM1BSI01_AlarmReset { get; set; } - //public DataKeyValue DM1BSI01_StartManual { get; set; } - //public DataKeyValue DM1BSI01_StopManual { get; set; } - //public DataKeyValue DM1BSI01_StartAuto { get; set; } - //public DataKeyValue DM1BSI01_StopAuto { get; set; } - //public DataKeyValue DM1BSI01_Running { get; set; } - //public DataKeyValue DM1BSI01_Run { get; set; } - //public DataKeyValue DM1BSI01_Alarm { get; set; } - //public DataKeyValue DM1CSI01_ManualMode { get; set; } - //public DataKeyValue DM1CSI01_AutoMode { get; set; } - //public DataKeyValue DM1CSI01_AlarmReset { get; set; } - //public DataKeyValue DM1CSI01_StartManual { get; set; } - //public DataKeyValue DM1CSI01_StopManual { get; set; } - //public DataKeyValue DM1CSI01_StartAuto { get; set; } - //public DataKeyValue DM1CSI01_StopAuto { get; set; } - //public DataKeyValue DM1CSI01_Running { get; set; } - //public DataKeyValue DM1CSI01_Run { get; set; } - //public DataKeyValue DM1CSI01_Alarm { get; set; } - //public DataKeyValue DM1DSI01_ManualMode { get; set; } - //public DataKeyValue DM1DSI01_AutoMode { get; set; } - //public DataKeyValue DM1DSI01_AlarmReset { get; set; } - //public DataKeyValue DM1DSI01_StartManual { get; set; } - //public DataKeyValue DM1DSI01_StopManual { get; set; } - //public DataKeyValue DM1DSI01_StartAuto { get; set; } - //public DataKeyValue DM1DSI01_StopAuto { get; set; } - //public DataKeyValue DM1DSI01_Running { get; set; } - //public DataKeyValue DM1DSI01_Run { get; set; } - //public DataKeyValue DM1DSI01_Alarm { get; set; } - //public DataKeyValue DM1ESI01_ManualMode { get; set; } - //public DataKeyValue DM1ESI01_AutoMode { get; set; } - //public DataKeyValue DM1ESI01_AlarmReset { get; set; } - //public DataKeyValue DM1ESI01_StartManual { get; set; } - //public DataKeyValue DM1ESI01_StopManual { get; set; } - //public DataKeyValue DM1ESI01_StartAuto { get; set; } - //public DataKeyValue DM1ESI01_StopAuto { get; set; } - //public DataKeyValue DM1ESI01_Running { get; set; } - //public DataKeyValue DM1ESI01_Run { get; set; } - //public DataKeyValue DM1ESI01_Alarm { get; set; } - //public DataKeyValue DM1FSI01_ManualMode { get; set; } - //public DataKeyValue DM1FSI01_AutoMode { get; set; } - //public DataKeyValue DM1FSI01_AlarmReset { get; set; } - //public DataKeyValue DM1FSI01_StartManual { get; set; } - //public DataKeyValue DM1FSI01_StopManual { get; set; } - //public DataKeyValue DM1FSI01_StartAuto { get; set; } - //public DataKeyValue DM1FSI01_StopAuto { get; set; } - //public DataKeyValue DM1FSI01_Running { get; set; } - //public DataKeyValue DM1FSI01_Run { get; set; } - //public DataKeyValue DM1FSI01_Alarm { get; set; } - //public DataKeyValue DM1GSI01_ManualMode { get; set; } - //public DataKeyValue DM1GSI01_AutoMode { get; set; } - //public DataKeyValue DM1GSI01_AlarmReset { get; set; } - //public DataKeyValue DM1GSI01_StartManual { get; set; } - //public DataKeyValue DM1GSI01_StopManual { get; set; } - //public DataKeyValue DM1GSI01_StartAuto { get; set; } - //public DataKeyValue DM1GSI01_StopAuto { get; set; } - //public DataKeyValue DM1GSI01_Running { get; set; } - //public DataKeyValue DM1GSI01_Run { get; set; } - //public DataKeyValue DM1GSI01_Alarm { get; set; } - //public DataKeyValue DM1HSI01_ManualMode { get; set; } - //public DataKeyValue DM1HSI01_AutoMode { get; set; } - //public DataKeyValue DM1HSI01_AlarmReset { get; set; } - //public DataKeyValue DM1HSI01_StartManual { get; set; } - //public DataKeyValue DM1HSI01_StopManual { get; set; } - //public DataKeyValue DM1HSI01_StartAuto { get; set; } - //public DataKeyValue DM1HSI01_StopAuto { get; set; } - //public DataKeyValue DM1HSI01_Running { get; set; } - //public DataKeyValue DM1HSI01_Run { get; set; } - //public DataKeyValue DM1HSI01_Alarm { get; set; } - //public DataKeyValue DM1ISI01_ManualMode { get; set; } - //public DataKeyValue DM1ISI01_AutoMode { get; set; } - //public DataKeyValue DM1ISI01_AlarmReset { get; set; } - //public DataKeyValue DM1ISI01_StartManual { get; set; } - //public DataKeyValue DM1ISI01_StopManual { get; set; } - //public DataKeyValue DM1ISI01_StartAuto { get; set; } - //public DataKeyValue DM1ISI01_StopAuto { get; set; } - //public DataKeyValue DM1ISI01_Running { get; set; } - //public DataKeyValue DM1ISI01_Run { get; set; } - //public DataKeyValue DM1ISI01_Alarm { get; set; } - //public DataKeyValue DM1JSI01_ManualMode { get; set; } - //public DataKeyValue DM1JSI01_AutoMode { get; set; } - //public DataKeyValue DM1JSI01_AlarmReset { get; set; } - //public DataKeyValue DM1JSI01_StartManual { get; set; } - //public DataKeyValue DM1JSI01_StopManual { get; set; } - //public DataKeyValue DM1JSI01_StartAuto { get; set; } - //public DataKeyValue DM1JSI01_StopAuto { get; set; } - //public DataKeyValue DM1JSI01_Running { get; set; } - //public DataKeyValue DM1JSI01_Run { get; set; } - //public DataKeyValue DM1JSI01_Alarm { get; set; } - //public DataKeyValue DM1KSI01_ManualMode { get; set; } - //public DataKeyValue DM1KSI01_AutoMode { get; set; } - //public DataKeyValue DM1KSI01_AlarmReset { get; set; } - //public DataKeyValue DM1KSI01_StartManual { get; set; } - //public DataKeyValue DM1KSI01_StopManual { get; set; } - //public DataKeyValue DM1KSI01_StartAuto { get; set; } - //public DataKeyValue DM1KSI01_StopAuto { get; set; } - //public DataKeyValue DM1KSI01_Running { get; set; } - //public DataKeyValue DM1KSI01_Run { get; set; } - //public DataKeyValue DM1KSI01_Alarm { get; set; } - //public DataKeyValue DM1LSI01_ManualMode { get; set; } - //public DataKeyValue DM1LSI01_AutoMode { get; set; } - //public DataKeyValue DM1LSI01_AlarmReset { get; set; } - //public DataKeyValue DM1LSI01_StartManual { get; set; } - //public DataKeyValue DM1LSI01_StopManual { get; set; } - //public DataKeyValue DM1LSI01_StartAuto { get; set; } - //public DataKeyValue DM1LSI01_StopAuto { get; set; } - //public DataKeyValue DM1LSI01_Running { get; set; } - //public DataKeyValue DM1LSI01_Run { get; set; } - //public DataKeyValue DM1LSI01_Alarm { get; set; } - //public DataKeyValue DM1MSI01_ManualMode { get; set; } - //public DataKeyValue DM1MSI01_AutoMode { get; set; } - //public DataKeyValue DM1MSI01_AlarmReset { get; set; } - //public DataKeyValue DM1MSI01_StartManual { get; set; } - //public DataKeyValue DM1MSI01_StopManual { get; set; } - //public DataKeyValue DM1MSI01_StartAuto { get; set; } - //public DataKeyValue DM1MSI01_StopAuto { get; set; } - //public DataKeyValue DM1MSI01_Running { get; set; } - //public DataKeyValue DM1MSI01_Run { get; set; } - //public DataKeyValue DM1MSI01_Alarm { get; set; } - //public DataKeyValue DM1NSI01_ManualMode { get; set; } - //public DataKeyValue DM1NSI01_AutoMode { get; set; } - //public DataKeyValue DM1NSI01_AlarmReset { get; set; } - //public DataKeyValue DM1NSI01_StartManual { get; set; } - //public DataKeyValue DM1NSI01_StopManual { get; set; } - //public DataKeyValue DM1NSI01_StartAuto { get; set; } - //public DataKeyValue DM1NSI01_StopAuto { get; set; } - //public DataKeyValue DM1NSI01_Running { get; set; } - //public DataKeyValue DM1NSI01_Run { get; set; } - //public DataKeyValue DM1NSI01_Alarm { get; set; } - //public DataKeyValue DM1OSI01_ManualMode { get; set; } - //public DataKeyValue DM1OSI01_AutoMode { get; set; } - //public DataKeyValue DM1OSI01_AlarmReset { get; set; } - //public DataKeyValue DM1OSI01_StartManual { get; set; } - //public DataKeyValue DM1OSI01_StopManual { get; set; } - //public DataKeyValue DM1OSI01_StartAuto { get; set; } - //public DataKeyValue DM1OSI01_StopAuto { get; set; } - //public DataKeyValue DM1OSI01_Running { get; set; } - //public DataKeyValue DM1OSI01_Run { get; set; } - //public DataKeyValue DM1OSI01_Alarm { get; set; } - //public DataKeyValue DM1ADB01_ManualMode { get; set; } - //public DataKeyValue DM1ADB01_AutoMode { get; set; } - //public DataKeyValue DM1ADB01_AlarmReset { get; set; } - //public DataKeyValue DM1ADB01_StartManual { get; set; } - //public DataKeyValue DM1ADB01_StopManual { get; set; } - //public DataKeyValue DM1ADB01_StartAuto { get; set; } - //public DataKeyValue DM1ADB01_StopAuto { get; set; } - //public DataKeyValue DM1ADB01_Running { get; set; } - //public DataKeyValue DM1ADB01_Run { get; set; } - //public DataKeyValue DM1ADB01_Alarm { get; set; } - //public DataKeyValue DM1BDB01_ManualMode { get; set; } - //public DataKeyValue DM1BDB01_AutoMode { get; set; } - //public DataKeyValue DM1BDB01_AlarmReset { get; set; } - //public DataKeyValue DM1BDB01_StartManual { get; set; } - //public DataKeyValue DM1BDB01_StopManual { get; set; } - //public DataKeyValue DM1BDB01_StartAuto { get; set; } - //public DataKeyValue DM1BDB01_StopAuto { get; set; } - //public DataKeyValue DM1BDB01_Running { get; set; } - //public DataKeyValue DM1BDB01_Run { get; set; } - //public DataKeyValue DM1BDB01_Alarm { get; set; } - //public DataKeyValue DM1CDB01_ManualMode { get; set; } - //public DataKeyValue DM1CDB01_AutoMode { get; set; } - //public DataKeyValue DM1CDB01_AlarmReset { get; set; } - //public DataKeyValue DM1CDB01_StartManual { get; set; } - //public DataKeyValue DM1CDB01_StopManual { get; set; } - //public DataKeyValue DM1CDB01_StartAuto { get; set; } - //public DataKeyValue DM1CDB01_StopAuto { get; set; } - //public DataKeyValue DM1CDB01_Running { get; set; } - //public DataKeyValue DM1CDB01_Run { get; set; } - //public DataKeyValue DM1CDB01_Alarm { get; set; } - //public DataKeyValue DM1DDB01_ManualMode { get; set; } - //public DataKeyValue DM1DDB01_AutoMode { get; set; } - //public DataKeyValue DM1DDB01_AlarmReset { get; set; } - //public DataKeyValue DM1DDB01_StartManual { get; set; } - //public DataKeyValue DM1DDB01_StopManual { get; set; } - //public DataKeyValue DM1DDB01_StartAuto { get; set; } - //public DataKeyValue DM1DDB01_StopAuto { get; set; } - //public DataKeyValue DM1DDB01_Running { get; set; } - //public DataKeyValue DM1DDB01_Run { get; set; } - //public DataKeyValue DM1DDB01_Alarm { get; set; } - //public DataKeyValue DM1EDB01_ManualMode { get; set; } - //public DataKeyValue DM1EDB01_AutoMode { get; set; } - //public DataKeyValue DM1EDB01_AlarmReset { get; set; } - //public DataKeyValue DM1EDB01_StartManual { get; set; } - //public DataKeyValue DM1EDB01_StopManual { get; set; } - //public DataKeyValue DM1EDB01_StartAuto { get; set; } - //public DataKeyValue DM1EDB01_StopAuto { get; set; } - //public DataKeyValue DM1EDB01_Running { get; set; } - //public DataKeyValue DM1EDB01_Run { get; set; } - //public DataKeyValue DM1EDB01_Alarm { get; set; } - //public DataKeyValue DM1FDB01_ManualMode { get; set; } - //public DataKeyValue DM1FDB01_AutoMode { get; set; } - //public DataKeyValue DM1FDB01_AlarmReset { get; set; } - //public DataKeyValue DM1FDB01_StartManual { get; set; } - //public DataKeyValue DM1FDB01_StopManual { get; set; } - //public DataKeyValue DM1FDB01_StartAuto { get; set; } - //public DataKeyValue DM1FDB01_StopAuto { get; set; } - //public DataKeyValue DM1FDB01_Running { get; set; } - //public DataKeyValue DM1FDB01_Run { get; set; } - //public DataKeyValue DM1FDB01_Alarm { get; set; } - //public DataKeyValue DM1GDB01_ManualMode { get; set; } - //public DataKeyValue DM1GDB01_AutoMode { get; set; } - //public DataKeyValue DM1GDB01_AlarmReset { get; set; } - //public DataKeyValue DM1GDB01_StartManual { get; set; } - //public DataKeyValue DM1GDB01_StopManual { get; set; } - //public DataKeyValue DM1GDB01_StartAuto { get; set; } - //public DataKeyValue DM1GDB01_StopAuto { get; set; } - //public DataKeyValue DM1GDB01_Running { get; set; } - //public DataKeyValue DM1GDB01_Run { get; set; } - //public DataKeyValue DM1GDB01_Alarm { get; set; } - //public DataKeyValue DM1HDB01_ManualMode { get; set; } - //public DataKeyValue DM1HDB01_AutoMode { get; set; } - //public DataKeyValue DM1HDB01_AlarmReset { get; set; } - //public DataKeyValue DM1HDB01_StartManual { get; set; } - //public DataKeyValue DM1HDB01_StopManual { get; set; } - //public DataKeyValue DM1HDB01_StartAuto { get; set; } - //public DataKeyValue DM1HDB01_StopAuto { get; set; } - //public DataKeyValue DM1HDB01_Running { get; set; } - //public DataKeyValue DM1HDB01_Run { get; set; } - //public DataKeyValue DM1HDB01_Alarm { get; set; } - //public DataKeyValue DM1IDB01_ManualMode { get; set; } - //public DataKeyValue DM1IDB01_AutoMode { get; set; } - //public DataKeyValue DM1IDB01_AlarmReset { get; set; } - //public DataKeyValue DM1IDB01_StartManual { get; set; } - //public DataKeyValue DM1IDB01_StopManual { get; set; } - //public DataKeyValue DM1IDB01_StartAuto { get; set; } - //public DataKeyValue DM1IDB01_StopAuto { get; set; } - //public DataKeyValue DM1IDB01_Running { get; set; } - //public DataKeyValue DM1IDB01_Run { get; set; } - //public DataKeyValue DM1IDB01_Alarm { get; set; } - //public DataKeyValue DM1JDB01_ManualMode { get; set; } - //public DataKeyValue DM1JDB01_AutoMode { get; set; } - //public DataKeyValue DM1JDB01_AlarmReset { get; set; } - //public DataKeyValue DM1JDB01_StartManual { get; set; } - //public DataKeyValue DM1JDB01_StopManual { get; set; } - //public DataKeyValue DM1JDB01_StartAuto { get; set; } - //public DataKeyValue DM1JDB01_StopAuto { get; set; } - //public DataKeyValue DM1JDB01_Running { get; set; } - //public DataKeyValue DM1JDB01_Run { get; set; } - //public DataKeyValue DM1JDB01_Alarm { get; set; } - //public DataKeyValue DM1KDB01_ManualMode { get; set; } - //public DataKeyValue DM1KDB01_AutoMode { get; set; } - //public DataKeyValue DM1KDB01_AlarmReset { get; set; } - //public DataKeyValue DM1KDB01_StartManual { get; set; } - //public DataKeyValue DM1KDB01_StopManual { get; set; } - //public DataKeyValue DM1KDB01_StartAuto { get; set; } - //public DataKeyValue DM1KDB01_StopAuto { get; set; } - //public DataKeyValue DM1KDB01_Running { get; set; } - //public DataKeyValue DM1KDB01_Run { get; set; } - //public DataKeyValue DM1KDB01_Alarm { get; set; } - //public DataKeyValue DM1LDB01_ManualMode { get; set; } - //public DataKeyValue DM1LDB01_AutoMode { get; set; } - //public DataKeyValue DM1LDB01_AlarmReset { get; set; } - //public DataKeyValue DM1LDB01_StartManual { get; set; } - //public DataKeyValue DM1LDB01_StopManual { get; set; } - //public DataKeyValue DM1LDB01_StartAuto { get; set; } - //public DataKeyValue DM1LDB01_StopAuto { get; set; } - //public DataKeyValue DM1LDB01_Running { get; set; } - //public DataKeyValue DM1LDB01_Run { get; set; } - //public DataKeyValue DM1LDB01_Alarm { get; set; } - //public DataKeyValue DM1ADF01_ManualMode { get; set; } - //public DataKeyValue DM1ADF01_AutoMode { get; set; } - //public DataKeyValue DM1ADF01_AlarmReset { get; set; } - //public DataKeyValue DM1ADF01_StartManual { get; set; } - //public DataKeyValue DM1ADF01_StopManual { get; set; } - //public DataKeyValue DM1ADF01_StartAuto { get; set; } - //public DataKeyValue DM1ADF01_StopAuto { get; set; } - //public DataKeyValue DM1ADF01_Running { get; set; } - //public DataKeyValue DM1ADF01_Run { get; set; } - //public DataKeyValue DM1ADF01_Alarm { get; set; } - //public DataKeyValue DM1BDF01_ManualMode { get; set; } - //public DataKeyValue DM1BDF01_AutoMode { get; set; } - //public DataKeyValue DM1BDF01_AlarmReset { get; set; } - //public DataKeyValue DM1BDF01_StartManual { get; set; } - //public DataKeyValue DM1BDF01_StopManual { get; set; } - //public DataKeyValue DM1BDF01_StartAuto { get; set; } - //public DataKeyValue DM1BDF01_StopAuto { get; set; } - //public DataKeyValue DM1BDF01_Running { get; set; } - //public DataKeyValue DM1BDF01_Run { get; set; } - //public DataKeyValue DM1BDF01_Alarm { get; set; } - //public DataKeyValue DM1CDF01_ManualMode { get; set; } - //public DataKeyValue DM1CDF01_AutoMode { get; set; } - //public DataKeyValue DM1CDF01_AlarmReset { get; set; } - //public DataKeyValue DM1CDF01_StartManual { get; set; } - //public DataKeyValue DM1CDF01_StopManual { get; set; } - //public DataKeyValue DM1CDF01_StartAuto { get; set; } - //public DataKeyValue DM1CDF01_StopAuto { get; set; } - //public DataKeyValue DM1CDF01_Running { get; set; } - //public DataKeyValue DM1CDF01_Run { get; set; } - //public DataKeyValue DM1CDF01_Alarm { get; set; } - //public DataKeyValue DM1DDF01_ManualMode { get; set; } - //public DataKeyValue DM1DDF01_AutoMode { get; set; } - //public DataKeyValue DM1DDF01_AlarmReset { get; set; } - //public DataKeyValue DM1DDF01_StartManual { get; set; } - //public DataKeyValue DM1DDF01_StopManual { get; set; } - //public DataKeyValue DM1DDF01_StartAuto { get; set; } - //public DataKeyValue DM1DDF01_StopAuto { get; set; } - //public DataKeyValue DM1DDF01_Running { get; set; } - //public DataKeyValue DM1DDF01_Run { get; set; } - //public DataKeyValue DM1DDF01_Alarm { get; set; } - //public DataKeyValue DM1EDF01_ManualMode { get; set; } - //public DataKeyValue DM1EDF01_AutoMode { get; set; } - //public DataKeyValue DM1EDF01_AlarmReset { get; set; } - //public DataKeyValue DM1EDF01_StartManual { get; set; } - //public DataKeyValue DM1EDF01_StopManual { get; set; } - //public DataKeyValue DM1EDF01_StartAuto { get; set; } - //public DataKeyValue DM1EDF01_StopAuto { get; set; } - //public DataKeyValue DM1EDF01_Running { get; set; } - //public DataKeyValue DM1EDF01_Run { get; set; } - //public DataKeyValue DM1EDF01_Alarm { get; set; } - //public DataKeyValue DM1FDF01_ManualMode { get; set; } - //public DataKeyValue DM1FDF01_AutoMode { get; set; } - //public DataKeyValue DM1FDF01_AlarmReset { get; set; } - //public DataKeyValue DM1FDF01_StartManual { get; set; } - //public DataKeyValue DM1FDF01_StopManual { get; set; } - //public DataKeyValue DM1FDF01_StartAuto { get; set; } - //public DataKeyValue DM1FDF01_StopAuto { get; set; } - //public DataKeyValue DM1FDF01_Running { get; set; } - //public DataKeyValue DM1FDF01_Run { get; set; } - //public DataKeyValue DM1FDF01_Alarm { get; set; } - //public DataKeyValue DM1GDF01_ManualMode { get; set; } - //public DataKeyValue DM1GDF01_AutoMode { get; set; } - //public DataKeyValue DM1GDF01_AlarmReset { get; set; } - //public DataKeyValue DM1GDF01_StartManual { get; set; } - //public DataKeyValue DM1GDF01_StopManual { get; set; } - //public DataKeyValue DM1GDF01_StartAuto { get; set; } - //public DataKeyValue DM1GDF01_StopAuto { get; set; } - //public DataKeyValue DM1GDF01_Running { get; set; } - //public DataKeyValue DM1GDF01_Run { get; set; } - //public DataKeyValue DM1GDF01_Alarm { get; set; } - //public DataKeyValue DM1HDF01_ManualMode { get; set; } - //public DataKeyValue DM1HDF01_AutoMode { get; set; } - //public DataKeyValue DM1HDF01_AlarmReset { get; set; } - //public DataKeyValue DM1HDF01_StartManual { get; set; } - //public DataKeyValue DM1HDF01_StopManual { get; set; } - //public DataKeyValue DM1HDF01_StartAuto { get; set; } - //public DataKeyValue DM1HDF01_StopAuto { get; set; } - //public DataKeyValue DM1HDF01_Running { get; set; } - //public DataKeyValue DM1HDF01_Run { get; set; } - //public DataKeyValue DM1HDF01_Alarm { get; set; } - //public DataKeyValue DM1IDF01_ManualMode { get; set; } - //public DataKeyValue DM1IDF01_AutoMode { get; set; } - //public DataKeyValue DM1IDF01_AlarmReset { get; set; } - //public DataKeyValue DM1IDF01_StartManual { get; set; } - //public DataKeyValue DM1IDF01_StopManual { get; set; } - //public DataKeyValue DM1IDF01_StartAuto { get; set; } - //public DataKeyValue DM1IDF01_StopAuto { get; set; } - //public DataKeyValue DM1IDF01_Running { get; set; } - //public DataKeyValue DM1IDF01_Run { get; set; } - //public DataKeyValue DM1IDF01_Alarm { get; set; } - //public DataKeyValue DM1JDF01_ManualMode { get; set; } - //public DataKeyValue DM1JDF01_AutoMode { get; set; } - //public DataKeyValue DM1JDF01_AlarmReset { get; set; } - //public DataKeyValue DM1JDF01_StartManual { get; set; } - //public DataKeyValue DM1JDF01_StopManual { get; set; } - //public DataKeyValue DM1JDF01_StartAuto { get; set; } - //public DataKeyValue DM1JDF01_StopAuto { get; set; } - //public DataKeyValue DM1JDF01_Running { get; set; } - //public DataKeyValue DM1JDF01_Run { get; set; } - //public DataKeyValue DM1JDF01_Alarm { get; set; } - //public DataKeyValue DM1KDF01_ManualMode { get; set; } - //public DataKeyValue DM1KDF01_AutoMode { get; set; } - //public DataKeyValue DM1KDF01_AlarmReset { get; set; } - //public DataKeyValue DM1KDF01_StartManual { get; set; } - //public DataKeyValue DM1KDF01_StopManual { get; set; } - //public DataKeyValue DM1KDF01_StartAuto { get; set; } - //public DataKeyValue DM1KDF01_StopAuto { get; set; } - //public DataKeyValue DM1KDF01_Running { get; set; } - //public DataKeyValue DM1KDF01_Run { get; set; } - //public DataKeyValue DM1KDF01_Alarm { get; set; } - //public DataKeyValue DM1LDF01_ManualMode { get; set; } - //public DataKeyValue DM1LDF01_AutoMode { get; set; } - //public DataKeyValue DM1LDF01_AlarmReset { get; set; } - //public DataKeyValue DM1LDF01_StartManual { get; set; } - //public DataKeyValue DM1LDF01_StopManual { get; set; } - //public DataKeyValue DM1LDF01_StartAuto { get; set; } - //public DataKeyValue DM1LDF01_StopAuto { get; set; } - //public DataKeyValue DM1LDF01_Running { get; set; } - //public DataKeyValue DM1LDF01_Run { get; set; } - //public DataKeyValue DM1LDF01_Alarm { get; set; } - //public DataKeyValue DMFILTER_ManualMode { get; set; } - //public DataKeyValue DMFILTER_AutoMode { get; set; } - //public DataKeyValue DMFILTER_AlarmReset { get; set; } - //public DataKeyValue DMFILTER_StartManual { get; set; } - //public DataKeyValue DMFILTER_StopManual { get; set; } - //public DataKeyValue DMFILTER_StartAuto { get; set; } - //public DataKeyValue DMFILTER_StopAuto { get; set; } - //public DataKeyValue DMFILTER_Running { get; set; } - //public DataKeyValue DMFILTER_Run { get; set; } - //public DataKeyValue DMFILTER_Alarm { get; set; } - //public DataKeyValue DM1ASF01_ManualMode { get; set; } - //public DataKeyValue DM1ASF01_AutoMode { get; set; } - //public DataKeyValue DM1ASF01_AlarmReset { get; set; } - //public DataKeyValue DM1ASF01_StartManual { get; set; } - //public DataKeyValue DM1ASF01_StopManual { get; set; } - //public DataKeyValue DM1ASF01_StartAuto { get; set; } - //public DataKeyValue DM1ASF01_StopAuto { get; set; } - //public DataKeyValue DM1ASF01_Running { get; set; } - //public DataKeyValue DM1ASF01_Run { get; set; } - //public DataKeyValue DM1ASF01_Alarm { get; set; } - //public DataKeyValue DM1BSF01_ManualMode { get; set; } - //public DataKeyValue DM1BSF01_AutoMode { get; set; } - //public DataKeyValue DM1BSF01_AlarmReset { get; set; } - //public DataKeyValue DM1BSF01_StartManual { get; set; } - //public DataKeyValue DM1BSF01_StopManual { get; set; } - //public DataKeyValue DM1BSF01_StartAuto { get; set; } - //public DataKeyValue DM1BSF01_StopAuto { get; set; } - //public DataKeyValue DM1BSF01_Running { get; set; } - //public DataKeyValue DM1BSF01_Run { get; set; } - //public DataKeyValue DM1BSF01_Alarm { get; set; } - //public DataKeyValue DM1CSF01_ManualMode { get; set; } - //public DataKeyValue DM1CSF01_AutoMode { get; set; } - //public DataKeyValue DM1CSF01_AlarmReset { get; set; } - //public DataKeyValue DM1CSF01_StartManual { get; set; } - //public DataKeyValue DM1CSF01_StopManual { get; set; } - //public DataKeyValue DM1CSF01_StartAuto { get; set; } - //public DataKeyValue DM1CSF01_StopAuto { get; set; } - //public DataKeyValue DM1CSF01_Running { get; set; } - //public DataKeyValue DM1CSF01_Run { get; set; } - //public DataKeyValue DM1CSF01_Alarm { get; set; } - //public DataKeyValue DM1DSF01_ManualMode { get; set; } - //public DataKeyValue DM1DSF01_AutoMode { get; set; } - //public DataKeyValue DM1DSF01_AlarmReset { get; set; } - //public DataKeyValue DM1DSF01_StartManual { get; set; } - //public DataKeyValue DM1DSF01_StopManual { get; set; } - //public DataKeyValue DM1DSF01_StartAuto { get; set; } - //public DataKeyValue DM1DSF01_StopAuto { get; set; } - //public DataKeyValue DM1DSF01_Running { get; set; } - //public DataKeyValue DM1DSF01_Run { get; set; } - //public DataKeyValue DM1DSF01_Alarm { get; set; } - //public DataKeyValue DM1ESF01_ManualMode { get; set; } - //public DataKeyValue DM1ESF01_AutoMode { get; set; } - //public DataKeyValue DM1ESF01_AlarmReset { get; set; } - //public DataKeyValue DM1ESF01_StartManual { get; set; } - //public DataKeyValue DM1ESF01_StopManual { get; set; } - //public DataKeyValue DM1ESF01_StartAuto { get; set; } - //public DataKeyValue DM1ESF01_StopAuto { get; set; } - //public DataKeyValue DM1ESF01_Running { get; set; } - //public DataKeyValue DM1ESF01_Run { get; set; } - //public DataKeyValue DM1ESF01_Alarm { get; set; } - //public DataKeyValue DM1FSF01_ManualMode { get; set; } - //public DataKeyValue DM1FSF01_AutoMode { get; set; } - //public DataKeyValue DM1FSF01_AlarmReset { get; set; } - //public DataKeyValue DM1FSF01_StartManual { get; set; } - //public DataKeyValue DM1FSF01_StopManual { get; set; } - //public DataKeyValue DM1FSF01_StartAuto { get; set; } - //public DataKeyValue DM1FSF01_StopAuto { get; set; } - //public DataKeyValue DM1FSF01_Running { get; set; } - //public DataKeyValue DM1FSF01_Run { get; set; } - //public DataKeyValue DM1FSF01_Alarm { get; set; } - //public DataKeyValue DM1GSF01_ManualMode { get; set; } - //public DataKeyValue DM1GSF01_AutoMode { get; set; } - //public DataKeyValue DM1GSF01_AlarmReset { get; set; } - //public DataKeyValue DM1GSF01_StartManual { get; set; } - //public DataKeyValue DM1GSF01_StopManual { get; set; } - //public DataKeyValue DM1GSF01_StartAuto { get; set; } - //public DataKeyValue DM1GSF01_StopAuto { get; set; } - //public DataKeyValue DM1GSF01_Running { get; set; } - //public DataKeyValue DM1GSF01_Run { get; set; } - //public DataKeyValue DM1GSF01_Alarm { get; set; } - //public DataKeyValue DM1HSF01_ManualMode { get; set; } - //public DataKeyValue DM1HSF01_AutoMode { get; set; } - //public DataKeyValue DM1HSF01_AlarmReset { get; set; } - //public DataKeyValue DM1HSF01_StartManual { get; set; } - //public DataKeyValue DM1HSF01_StopManual { get; set; } - //public DataKeyValue DM1HSF01_StartAuto { get; set; } - //public DataKeyValue DM1HSF01_StopAuto { get; set; } - //public DataKeyValue DM1HSF01_Running { get; set; } - //public DataKeyValue DM1HSF01_Run { get; set; } - //public DataKeyValue DM1HSF01_Alarm { get; set; } - //public DataKeyValue DM1ISF01_ManualMode { get; set; } - //public DataKeyValue DM1ISF01_AutoMode { get; set; } - //public DataKeyValue DM1ISF01_AlarmReset { get; set; } - //public DataKeyValue DM1ISF01_StartManual { get; set; } - //public DataKeyValue DM1ISF01_StopManual { get; set; } - //public DataKeyValue DM1ISF01_StartAuto { get; set; } - //public DataKeyValue DM1ISF01_StopAuto { get; set; } - //public DataKeyValue DM1ISF01_Running { get; set; } - //public DataKeyValue DM1ISF01_Run { get; set; } - //public DataKeyValue DM1ISF01_Alarm { get; set; } - //public DataKeyValue DM1JSF01_ManualMode { get; set; } - //public DataKeyValue DM1JSF01_AutoMode { get; set; } - //public DataKeyValue DM1JSF01_AlarmReset { get; set; } - //public DataKeyValue DM1JSF01_StartManual { get; set; } - //public DataKeyValue DM1JSF01_StopManual { get; set; } - //public DataKeyValue DM1JSF01_StartAuto { get; set; } - //public DataKeyValue DM1JSF01_StopAuto { get; set; } - //public DataKeyValue DM1JSF01_Running { get; set; } - //public DataKeyValue DM1JSF01_Run { get; set; } - //public DataKeyValue DM1JSF01_Alarm { get; set; } - //public DataKeyValue DM1KSF01_ManualMode { get; set; } - //public DataKeyValue DM1KSF01_AutoMode { get; set; } - //public DataKeyValue DM1KSF01_AlarmReset { get; set; } - //public DataKeyValue DM1KSF01_StartManual { get; set; } - //public DataKeyValue DM1KSF01_StopManual { get; set; } - //public DataKeyValue DM1KSF01_StartAuto { get; set; } - //public DataKeyValue DM1KSF01_StopAuto { get; set; } - //public DataKeyValue DM1KSF01_Running { get; set; } - //public DataKeyValue DM1KSF01_Run { get; set; } - //public DataKeyValue DM1KSF01_Alarm { get; set; } - //public DataKeyValue DM1LSF01_ManualMode { get; set; } - //public DataKeyValue DM1LSF01_AutoMode { get; set; } - //public DataKeyValue DM1LSF01_AlarmReset { get; set; } - //public DataKeyValue DM1LSF01_StartManual { get; set; } - //public DataKeyValue DM1LSF01_StopManual { get; set; } - //public DataKeyValue DM1LSF01_StartAuto { get; set; } - //public DataKeyValue DM1LSF01_StopAuto { get; set; } - //public DataKeyValue DM1LSF01_Running { get; set; } - //public DataKeyValue DM1LSF01_Run { get; set; } - //public DataKeyValue DM1LSF01_Alarm { get; set; } - //public DataKeyValue DM1MSF01_ManualMode { get; set; } - //public DataKeyValue DM1MSF01_AutoMode { get; set; } - //public DataKeyValue DM1MSF01_AlarmReset { get; set; } - //public DataKeyValue DM1MSF01_StartManual { get; set; } - //public DataKeyValue DM1MSF01_StopManual { get; set; } - //public DataKeyValue DM1MSF01_StartAuto { get; set; } - //public DataKeyValue DM1MSF01_StopAuto { get; set; } - //public DataKeyValue DM1MSF01_Running { get; set; } - //public DataKeyValue DM1MSF01_Run { get; set; } - //public DataKeyValue DM1MSF01_Alarm { get; set; } - //public DataKeyValue DM1NSF01_ManualMode { get; set; } - //public DataKeyValue DM1NSF01_AutoMode { get; set; } - //public DataKeyValue DM1NSF01_AlarmReset { get; set; } - //public DataKeyValue DM1NSF01_StartManual { get; set; } - //public DataKeyValue DM1NSF01_StopManual { get; set; } - //public DataKeyValue DM1NSF01_StartAuto { get; set; } - //public DataKeyValue DM1NSF01_StopAuto { get; set; } - //public DataKeyValue DM1NSF01_Running { get; set; } - //public DataKeyValue DM1NSF01_Run { get; set; } - //public DataKeyValue DM1NSF01_Alarm { get; set; } - public DataKeyValue QQ24T11A_D_AutoMode = new DataKeyValue("Q24T11A_D_AutoMode"); - public DataKeyValue Q24T11A_D_ManualMode = new DataKeyValue("24T11A_D_ManualMode"); - public DataKeyValue Q24T11A_D_Start_A = new DataKeyValue("24T11A_D_Start_A"); - public DataKeyValue Q24T11A_D_Stop_A = new DataKeyValue("24T11A_D_Stop_A"); - public DataKeyValue Q24T11A_D_Start_M = new DataKeyValue("24T11A_D_Start_M"); - public DataKeyValue Q24T11A_D_Stop_M = new DataKeyValue("24T11A_D_Stop_M"); - public DataKeyValue Q24T11A_D_AlarmReset = new DataKeyValue("24T11A_D_AlarmReset"); - public DataKeyValue Q24T11A_D_EXT_Estop = new DataKeyValue("24T11A_D_EXT_Estop"); - public DataKeyValue Q24T11A_D_Running = new DataKeyValue("24T11A_D_Running"); - public DataKeyValue Q24T11A_D_Alarm = new DataKeyValue("24T11A_D_Alarm"); - public DataKeyValue Q24T11A_D_Error = new DataKeyValue("24T11A_D_Error"); - public DataKeyValue Q24T11A_D_Enable = new DataKeyValue("24T11A_D_Enable"); - public DataKeyValue Q24T11A_D_Polarity = new DataKeyValue("24T11A_D_Polarity"); - public DataKeyValue Q24T11A_D_SetSpeed_A = new DataKeyValue("24T11A_D_SetSpeed_A"); - public DataKeyValue Q24T11A_D_SetSpeed_M = new DataKeyValue("24T11A_D_SetSpeed_M"); - public DataKeyValue Q24T11A_D_ACT_Speed = new DataKeyValue("24T11A_D_ACT_Speed"); - public DataKeyValue Q64T01G_J_AutoMode = new DataKeyValue("64T01G_J_AutoMode"); - public DataKeyValue Q64T01G_J_ManualMode = new DataKeyValue("64T01G_J_ManualMode"); - public DataKeyValue Q64T01G_J_Start_A = new DataKeyValue("64T01G_J_Start_A"); - public DataKeyValue Q64T01G_J_Stop_A = new DataKeyValue("64T01G_J_Stop_A"); - public DataKeyValue Q64T01G_J_Start_M = new DataKeyValue("64T01G_J_Start_M"); - public DataKeyValue Q64T01G_J_Stop_M = new DataKeyValue("64T01G_J_Stop_M"); - public DataKeyValue Q64T01G_J_AlarmReset = new DataKeyValue("64T01G_J_AlarmReset"); - public DataKeyValue Q64T01G_J_EXT_Estop = new DataKeyValue("64T01G_J_EXT_Estop"); - public DataKeyValue Q64T01G_J_Running = new DataKeyValue("64T01G_J_Running"); - public DataKeyValue Q64T01G_J_Alarm = new DataKeyValue("64T01G_J_Alarm"); - public DataKeyValue Q64T01G_J_Error = new DataKeyValue("64T01G_J_Error"); - public DataKeyValue Q64T01G_J_Enable = new DataKeyValue("64T01G_J_Enable"); - public DataKeyValue Q64T01G_J_Polarity = new DataKeyValue("64T01G_J_Polarity"); - public DataKeyValue Q64T01G_J_SetSpeed_A = new DataKeyValue("64T01G_J_SetSpeed_A"); - public DataKeyValue Q64T01G_J_SetSpeed_M = new DataKeyValue("64T01G_J_SetSpeed_M"); - public DataKeyValue Q64T01G_J_ACT_Speed = new DataKeyValue("64T01G_J_ACT_Speed"); - public DataKeyValue Q64T61E_F_AutoMode = new DataKeyValue("64T61E_F_AutoMode"); - public DataKeyValue Q64T61E_F_ManualMode = new DataKeyValue("64T61E_F_ManualMode"); - public DataKeyValue Q64T61E_F_Start_A = new DataKeyValue("64T61E_F_Start_A"); - public DataKeyValue Q64T61E_F_Stop_A = new DataKeyValue("64T61E_F_Stop_A"); - public DataKeyValue Q64T61E_F_Start_M = new DataKeyValue("64T61E_F_Start_M"); - public DataKeyValue Q64T61E_F_Stop_M = new DataKeyValue("64T61E_F_Stop_M"); - public DataKeyValue Q64T61E_F_AlarmReset = new DataKeyValue("64T61E_F_AlarmReset"); - public DataKeyValue Q64T61E_F_EXT_Estop = new DataKeyValue("64T61E_F_EXT_Estop"); - public DataKeyValue Q64T61E_F_Running = new DataKeyValue("64T61E_F_Running"); - public DataKeyValue Q64T61E_F_Alarm = new DataKeyValue("64T61E_F_Alarm"); - public DataKeyValue Q64T61E_F_Error = new DataKeyValue("64T61E_F_Error"); - public DataKeyValue Q64T61E_F_Enable = new DataKeyValue("64T61E_F_Enable"); - public DataKeyValue Q64T61E_F_Polarity = new DataKeyValue("64T61E_F_Polarity"); - public DataKeyValue Q64T61E_F_SetSpeed_A = new DataKeyValue("64T61E_F_SetSpeed_A"); - public DataKeyValue Q64T61E_F_SetSpeed_M = new DataKeyValue("64T61E_F_SetSpeed_M"); - public DataKeyValue Q64T61E_F_ACT_Speed = new DataKeyValue("64T61E_F_ACT_Speed"); - - -// public DataKeyValue DM1K_NSF01_AutoMode { get; set; } -//public DataKeyValue DM1K_NSF01_ManualMode { get; set; } -//public DataKeyValue DM1K_NSF01_Start_A { get; set; } -//public DataKeyValue DM1K_NSF01_Stop_A { get; set; } -//public DataKeyValue DM1K_NSF01_Start_M { get; set; } -//public DataKeyValue DM1K_NSF01_Stop_M { get; set; } -//public DataKeyValue DM1K_NSF01_AlarmReset { get; set; } -//public DataKeyValue DM1K_NSF01_EXT_Estop { get; set; } -//public DataKeyValue DM1K_NSF01_Running { get; set; } -//public DataKeyValue DM1K_NSF01_Alarm { get; set; } -//public DataKeyValue DM1K_NSF01_Error { get; set; } -//public DataKeyValue DM1K_NSF01_Enable { get; set; } -//public DataKeyValue DM1K_NSF01_Polarity { get; set; } -//public DataKeyValue DM1K_NSF01_SetSpeed_A { get; set; } -//public DataKeyValue DM1K_NSF01_SetSpeed_M { get; set; } -//public DataKeyValue DM1K_NSF01_ACT_Speed { get; set; } -//public DataKeyValue DM1OSF01_AutoMode { get; set; } -//public DataKeyValue DM1OSF01_ManualMode { get; set; } -//public DataKeyValue DM1OSF01_Start_A { get; set; } -//public DataKeyValue DM1OSF01_Stop_A { get; set; } -//public DataKeyValue DM1OSF01_Start_M { get; set; } -//public DataKeyValue DM1OSF01_Stop_M { get; set; } -//public DataKeyValue DM1OSF01_AlarmReset { get; set; } -//public DataKeyValue DM1OSF01_EXT_Estop { get; set; } -//public DataKeyValue DM1OSF01_Running { get; set; } -//public DataKeyValue DM1OSF01_Alarm { get; set; } -//public DataKeyValue DM1OSF01_Error { get; set; } -//public DataKeyValue DM1OSF01_Enable { get; set; } -//public DataKeyValue DM1OSF01_Polarity { get; set; } -//public DataKeyValue DM1OSF01_SetSpeed_A { get; set; } -//public DataKeyValue DM1OSF01_SetSpeed_M { get; set; } -//public DataKeyValue DM1OSF01_ACT_Speed { get; set; } -//public DataKeyValue DM2ASF01_AutoMode { get; set; } -//public DataKeyValue DM2ASF01_ManualMode { get; set; } -//public DataKeyValue DM2ASF01_Start_A { get; set; } -//public DataKeyValue DM2ASF01_Stop_A { get; set; } -//public DataKeyValue DM2ASF01_Start_M { get; set; } -//public DataKeyValue DM2ASF01_Stop_M { get; set; } -//public DataKeyValue DM2ASF01_AlarmReset { get; set; } -//public DataKeyValue DM2ASF01_EXT_Estop { get; set; } -//public DataKeyValue DM2ASF01_Running { get; set; } -//public DataKeyValue DM2ASF01_Alarm { get; set; } -//public DataKeyValue DM2ASF01_Error { get; set; } -//public DataKeyValue DM2ASF01_Enable { get; set; } -//public DataKeyValue DM2ASF01_Polarity { get; set; } -//public DataKeyValue DM2ASF01_SetSpeed_A { get; set; } -//public DataKeyValue DM2ASF01_SetSpeed_M { get; set; } -//public DataKeyValue DM2ASF01_ACT_Speed { get; set; } -//public DataKeyValue DM2BSF01_AutoMode { get; set; } -//public DataKeyValue DM2BSF01_ManualMode { get; set; } -//public DataKeyValue DM2BSF01_Start_A { get; set; } -//public DataKeyValue DM2BSF01_Stop_A { get; set; } -//public DataKeyValue DM2BSF01_Start_M { get; set; } -//public DataKeyValue DM2BSF01_Stop_M { get; set; } -//public DataKeyValue DM2BSF01_AlarmReset { get; set; } -//public DataKeyValue DM2BSF01_EXT_Estop { get; set; } -//public DataKeyValue DM2BSF01_Running { get; set; } -//public DataKeyValue DM2BSF01_Alarm { get; set; } -//public DataKeyValue DM2BSF01_Error { get; set; } -//public DataKeyValue DM2BSF01_Enable { get; set; } -//public DataKeyValue DM2BSF01_Polarity { get; set; } -//public DataKeyValue DM2BSF01_SetSpeed_A { get; set; } -//public DataKeyValue DM2BSF01_SetSpeed_M { get; set; } -//public DataKeyValue DM2BSF01_ACT_Speed { get; set; } -//public DataKeyValue DM2CSF01_AutoMode { get; set; } -//public DataKeyValue DM2CSF01_ManualMode { get; set; } -//public DataKeyValue DM2CSF01_Start_A { get; set; } -//public DataKeyValue DM2CSF01_Stop_A { get; set; } -//public DataKeyValue DM2CSF01_Start_M { get; set; } -//public DataKeyValue DM2CSF01_Stop_M { get; set; } -//public DataKeyValue DM2CSF01_AlarmReset { get; set; } -//public DataKeyValue DM2CSF01_EXT_Estop { get; set; } -//public DataKeyValue DM2CSF01_Running { get; set; } -//public DataKeyValue DM2CSF01_Alarm { get; set; } -//public DataKeyValue DM2CSF01_Error { get; set; } -//public DataKeyValue DM2CSF01_Enable { get; set; } -//public DataKeyValue DM2CSF01_Polarity { get; set; } -//public DataKeyValue DM2CSF01_SetSpeed_A { get; set; } -//public DataKeyValue DM2CSF01_SetSpeed_M { get; set; } -//public DataKeyValue DM2CSF01_ACT_Speed { get; set; } -//public DataKeyValue DM2DSF01_AutoMode { get; set; } -//public DataKeyValue DM2DSF01_ManualMode { get; set; } -//public DataKeyValue DM2DSF01_Start_A { get; set; } -//public DataKeyValue DM2DSF01_Stop_A { get; set; } -//public DataKeyValue DM2DSF01_Start_M { get; set; } -//public DataKeyValue DM2DSF01_Stop_M { get; set; } -//public DataKeyValue DM2DSF01_AlarmReset { get; set; } -//public DataKeyValue DM2DSF01_EXT_Estop { get; set; } -//public DataKeyValue DM2DSF01_Running { get; set; } -//public DataKeyValue DM2DSF01_Alarm { get; set; } -//public DataKeyValue DM2DSF01_Error { get; set; } -//public DataKeyValue DM2DSF01_Enable { get; set; } -//public DataKeyValue DM2DSF01_Polarity { get; set; } -//public DataKeyValue DM2DSF01_SetSpeed_A { get; set; } -//public DataKeyValue DM2DSF01_SetSpeed_M { get; set; } -//public DataKeyValue DM2DSF01_ACT_Speed { get; set; } -//public DataKeyValue DM1DRY1_AutoMode { get; set; } -//public DataKeyValue DM1DRY1_ManualMode { get; set; } -//public DataKeyValue DM1DRY1_Start_A { get; set; } -//public DataKeyValue DM1DRY1_Stop_A { get; set; } -//public DataKeyValue DM1DRY1_Start_M { get; set; } -//public DataKeyValue DM1DRY1_Stop_M { get; set; } -//public DataKeyValue DM1DRY1_AlarmReset { get; set; } -//public DataKeyValue DM1DRY1_EXT_Estop { get; set; } -//public DataKeyValue DM1DRY1_Running { get; set; } -//public DataKeyValue DM1DRY1_Alarm { get; set; } -//public DataKeyValue DM1DRY1_Error { get; set; } -//public DataKeyValue DM1DRY1_Enable { get; set; } -//public DataKeyValue DM1DRY1_Polarity { get; set; } -//public DataKeyValue DM1DRY1_SetSpeed_A { get; set; } -//public DataKeyValue DM1DRY1_SetSpeed_M { get; set; } -//public DataKeyValue DM1DRY1_ACT_Speed { get; set; } -//public DataKeyValue DM1DRY2_AutoMode { get; set; } -//public DataKeyValue DM1DRY2_ManualMode { get; set; } -//public DataKeyValue DM1DRY2_Start_A { get; set; } -//public DataKeyValue DM1DRY2_Stop_A { get; set; } -//public DataKeyValue DM1DRY2_Start_M { get; set; } -//public DataKeyValue DM1DRY2_Stop_M { get; set; } -//public DataKeyValue DM1DRY2_AlarmReset { get; set; } -//public DataKeyValue DM1DRY2_EXT_Estop { get; set; } -//public DataKeyValue DM1DRY2_Running { get; set; } -//public DataKeyValue DM1DRY2_Alarm { get; set; } -//public DataKeyValue DM1DRY2_Error { get; set; } -//public DataKeyValue DM1DRY2_Enable { get; set; } -//public DataKeyValue DM1DRY2_Polarity { get; set; } -//public DataKeyValue DM1DRY2_SetSpeed_A { get; set; } -//public DataKeyValue DM1DRY2_SetSpeed_M { get; set; } -//public DataKeyValue DM1DRY2_ACT_Speed { get; set; } -//public DataKeyValue DM1DRY3_AutoMode { get; set; } -//public DataKeyValue DM1DRY3_ManualMode { get; set; } -//public DataKeyValue DM1DRY3_Start_A { get; set; } -//public DataKeyValue DM1DRY3_Stop_A { get; set; } -//public DataKeyValue DM1DRY3_Start_M { get; set; } -//public DataKeyValue DM1DRY3_Stop_M { get; set; } -//public DataKeyValue DM1DRY3_AlarmReset { get; set; } -//public DataKeyValue DM1DRY3_EXT_Estop { get; set; } -//public DataKeyValue DM1DRY3_Running { get; set; } -//public DataKeyValue DM1DRY3_Alarm { get; set; } -//public DataKeyValue DM1DRY3_Error { get; set; } -//public DataKeyValue DM1DRY3_Enable { get; set; } -//public DataKeyValue DM1DRY3_Polarity { get; set; } -//public DataKeyValue DM1DRY3_SetSpeed_A { get; set; } -//public DataKeyValue DM1DRY3_SetSpeed_M { get; set; } -//public DataKeyValue DM1DRY3_ACT_Speed { get; set; } -//public DataKeyValue DM1DRY4_AutoMode { get; set; } -//public DataKeyValue DM1DRY4_ManualMode { get; set; } -//public DataKeyValue DM1DRY4_Start_A { get; set; } -//public DataKeyValue DM1DRY4_Stop_A { get; set; } -//public DataKeyValue DM1DRY4_Start_M { get; set; } -//public DataKeyValue DM1DRY4_Stop_M { get; set; } -//public DataKeyValue DM1DRY4_AlarmReset { get; set; } -//public DataKeyValue DM1DRY4_EXT_Estop { get; set; } -//public DataKeyValue DM1DRY4_Running { get; set; } -//public DataKeyValue DM1DRY4_Alarm { get; set; } -//public DataKeyValue DM1DRY4_Error { get; set; } -//public DataKeyValue DM1DRY4_Enable { get; set; } -//public DataKeyValue DM1DRY4_Polarity { get; set; } -//public DataKeyValue DM1DRY4_SetSpeed_A { get; set; } -//public DataKeyValue DM1DRY4_SetSpeed_M { get; set; } -//public DataKeyValue DM1DRY4_ACT_Speed { get; set; } -//public DataKeyValue DM1GEM_AutoMode { get; set; } -//public DataKeyValue DM1GEM_ManualMode { get; set; } -//public DataKeyValue DM1GEM_Start_A { get; set; } -//public DataKeyValue DM1GEM_Stop_A { get; set; } -//public DataKeyValue DM1GEM_Start_M { get; set; } -//public DataKeyValue DM1GEM_Stop_M { get; set; } -//public DataKeyValue DM1GEM_AlarmReset { get; set; } -//public DataKeyValue DM1GEM_EXT_Estop { get; set; } -//public DataKeyValue DM1GEM_Running { get; set; } -//public DataKeyValue DM1GEM_Alarm { get; set; } -//public DataKeyValue DM1GEM_Error { get; set; } -//public DataKeyValue DM1GEM_Enable { get; set; } -//public DataKeyValue DM1GEM_Polarity { get; set; } -//public DataKeyValue DM1GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM1GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM1GEM_ACT_Speed { get; set; } -//public DataKeyValue DM2GEM_AutoMode { get; set; } -//public DataKeyValue DM2GEM_ManualMode { get; set; } -//public DataKeyValue DM2GEM_Start_A { get; set; } -//public DataKeyValue DM2GEM_Stop_A { get; set; } -//public DataKeyValue DM2GEM_Start_M { get; set; } -//public DataKeyValue DM2GEM_Stop_M { get; set; } -//public DataKeyValue DM2GEM_AlarmReset { get; set; } -//public DataKeyValue DM2GEM_EXT_Estop { get; set; } -//public DataKeyValue DM2GEM_Running { get; set; } -//public DataKeyValue DM2GEM_Alarm { get; set; } -//public DataKeyValue DM2GEM_Error { get; set; } -//public DataKeyValue DM2GEM_Enable { get; set; } -//public DataKeyValue DM2GEM_Polarity { get; set; } -//public DataKeyValue DM2GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM2GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM2GEM_ACT_Speed { get; set; } -//public DataKeyValue DM3GEM_AutoMode { get; set; } -//public DataKeyValue DM3GEM_ManualMode { get; set; } -//public DataKeyValue DM3GEM_Start_A { get; set; } -//public DataKeyValue DM3GEM_Stop_A { get; set; } -//public DataKeyValue DM3GEM_Start_M { get; set; } -//public DataKeyValue DM3GEM_Stop_M { get; set; } -//public DataKeyValue DM3GEM_AlarmReset { get; set; } -//public DataKeyValue DM3GEM_EXT_Estop { get; set; } -//public DataKeyValue DM3GEM_Running { get; set; } -//public DataKeyValue DM3GEM_Alarm { get; set; } -//public DataKeyValue DM3GEM_Error { get; set; } -//public DataKeyValue DM3GEM_Enable { get; set; } -//public DataKeyValue DM3GEM_Polarity { get; set; } -//public DataKeyValue DM3GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM3GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM3GEM_ACT_Speed { get; set; } -//public DataKeyValue DM4GEM_AutoMode { get; set; } -//public DataKeyValue DM4GEM_ManualMode { get; set; } -//public DataKeyValue DM4GEM_Start_A { get; set; } -//public DataKeyValue DM4GEM_Stop_A { get; set; } -//public DataKeyValue DM4GEM_Start_M { get; set; } -//public DataKeyValue DM4GEM_Stop_M { get; set; } -//public DataKeyValue DM4GEM_AlarmReset { get; set; } -//public DataKeyValue DM4GEM_EXT_Estop { get; set; } -//public DataKeyValue DM4GEM_Running { get; set; } -//public DataKeyValue DM4GEM_Alarm { get; set; } -//public DataKeyValue DM4GEM_Error { get; set; } -//public DataKeyValue DM4GEM_Enable { get; set; } -//public DataKeyValue DM4GEM_Polarity { get; set; } -//public DataKeyValue DM4GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM4GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM4GEM_ACT_Speed { get; set; } -//public DataKeyValue DM5GEM_AutoMode { get; set; } -//public DataKeyValue DM5GEM_ManualMode { get; set; } -//public DataKeyValue DM5GEM_Start_A { get; set; } -//public DataKeyValue DM5GEM_Stop_A { get; set; } -//public DataKeyValue DM5GEM_Start_M { get; set; } -//public DataKeyValue DM5GEM_Stop_M { get; set; } -//public DataKeyValue DM5GEM_AlarmReset { get; set; } -//public DataKeyValue DM5GEM_EXT_Estop { get; set; } -//public DataKeyValue DM5GEM_Running { get; set; } -//public DataKeyValue DM5GEM_Alarm { get; set; } -//public DataKeyValue DM5GEM_Error { get; set; } -//public DataKeyValue DM5GEM_Enable { get; set; } -//public DataKeyValue DM5GEM_Polarity { get; set; } -//public DataKeyValue DM5GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM5GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM5GEM_ACT_Speed { get; set; } -//public DataKeyValue DM6GEM_AutoMode { get; set; } -//public DataKeyValue DM6GEM_ManualMode { get; set; } -//public DataKeyValue DM6GEM_Start_A { get; set; } -//public DataKeyValue DM6GEM_Stop_A { get; set; } -//public DataKeyValue DM6GEM_Start_M { get; set; } -//public DataKeyValue DM6GEM_Stop_M { get; set; } -//public DataKeyValue DM6GEM_AlarmReset { get; set; } -//public DataKeyValue DM6GEM_EXT_Estop { get; set; } -//public DataKeyValue DM6GEM_Running { get; set; } -//public DataKeyValue DM6GEM_Alarm { get; set; } -//public DataKeyValue DM6GEM_Error { get; set; } -//public DataKeyValue DM6GEM_Enable { get; set; } -//public DataKeyValue DM6GEM_Polarity { get; set; } -//public DataKeyValue DM6GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM6GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM6GEM_ACT_Speed { get; set; } -//public DataKeyValue DM7GEM_AutoMode { get; set; } -//public DataKeyValue DM7GEM_ManualMode { get; set; } -//public DataKeyValue DM7GEM_Start_A { get; set; } -//public DataKeyValue DM7GEM_Stop_A { get; set; } -//public DataKeyValue DM7GEM_Start_M { get; set; } -//public DataKeyValue DM7GEM_Stop_M { get; set; } -//public DataKeyValue DM7GEM_AlarmReset { get; set; } -//public DataKeyValue DM7GEM_EXT_Estop { get; set; } -//public DataKeyValue DM7GEM_Running { get; set; } -//public DataKeyValue DM7GEM_Alarm { get; set; } -//public DataKeyValue DM7GEM_Error { get; set; } -//public DataKeyValue DM7GEM_Enable { get; set; } -//public DataKeyValue DM7GEM_Polarity { get; set; } -//public DataKeyValue DM7GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM7GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM7GEM_ACT_Speed { get; set; } -//public DataKeyValue DM8GEM_AutoMode { get; set; } -//public DataKeyValue DM8GEM_ManualMode { get; set; } -//public DataKeyValue DM8GEM_Start_A { get; set; } -//public DataKeyValue DM8GEM_Stop_A { get; set; } -//public DataKeyValue DM8GEM_Start_M { get; set; } -//public DataKeyValue DM8GEM_Stop_M { get; set; } -//public DataKeyValue DM8GEM_AlarmReset { get; set; } -//public DataKeyValue DM8GEM_EXT_Estop { get; set; } -//public DataKeyValue DM8GEM_Running { get; set; } -//public DataKeyValue DM8GEM_Alarm { get; set; } -//public DataKeyValue DM8GEM_Error { get; set; } -//public DataKeyValue DM8GEM_Enable { get; set; } -//public DataKeyValue DM8GEM_Polarity { get; set; } -//public DataKeyValue DM8GEM_SetSpeed_A { get; set; } -//public DataKeyValue DM8GEM_SetSpeed_M { get; set; } -//public DataKeyValue DM8GEM_ACT_Speed { get; set; } -//public DataKeyValue DMWETER1_ManualMode { get; set; } -//public DataKeyValue DMWETER1_AutoMode { get; set; } -//public DataKeyValue DMWETER1_AlarmReset { get; set; } -//public DataKeyValue DMWETER1_StartManual { get; set; } -//public DataKeyValue DMWETER1_StopManual { get; set; } -//public DataKeyValue DMWETER1_StartAuto { get; set; } -//public DataKeyValue DMWETER1_StopAuto { get; set; } -//public DataKeyValue DMWETER1_Running { get; set; } -//public DataKeyValue DMWETER1_Run { get; set; } -//public DataKeyValue DMWETER1_Alarm { get; set; } -//public DataKeyValue DMWETER2_ManualMode { get; set; } -//public DataKeyValue DMWETER2_AutoMode { get; set; } -//public DataKeyValue DMWETER2_AlarmReset { get; set; } -//public DataKeyValue DMWETER2_StartManual { get; set; } -//public DataKeyValue DMWETER2_StopManual { get; set; } -//public DataKeyValue DMWETER2_StartAuto { get; set; } -//public DataKeyValue DMWETER2_StopAuto { get; set; } -//public DataKeyValue DMWETER2_Running { get; set; } -//public DataKeyValue DMWETER2_Run { get; set; } -//public DataKeyValue DMWETER2_Alarm { get; set; } -//public DataKeyValue DMWETER3_ManualMode { get; set; } -//public DataKeyValue DMWETER3_AutoMode { get; set; } -//public DataKeyValue DMWETER3_AlarmReset { get; set; } -//public DataKeyValue DMWETER3_StartManual { get; set; } -//public DataKeyValue DMWETER3_StopManual { get; set; } -//public DataKeyValue DMWETER3_StartAuto { get; set; } -//public DataKeyValue DMWETER3_StopAuto { get; set; } -//public DataKeyValue DMWETER3_Running { get; set; } -//public DataKeyValue DMWETER3_Run { get; set; } -//public DataKeyValue DMWETER3_Alarm { get; set; } -//public DataKeyValue DMWETER4_ManualMode { get; set; } -//public DataKeyValue DMWETER4_AutoMode { get; set; } -//public DataKeyValue DMWETER4_AlarmReset { get; set; } -//public DataKeyValue DMWETER4_StartManual { get; set; } -//public DataKeyValue DMWETER4_StopManual { get; set; } -//public DataKeyValue DMWETER4_StartAuto { get; set; } -//public DataKeyValue DMWETER4_StopAuto { get; set; } -//public DataKeyValue DMWETER4_Running { get; set; } -//public DataKeyValue DMWETER4_Run { get; set; } -//public DataKeyValue DMWETER4_Alarm { get; set; } -//public DataKeyValue DMWETER5_ManualMode { get; set; } -//public DataKeyValue DMWETER5_AutoMode { get; set; } -//public DataKeyValue DMWETER5_AlarmReset { get; set; } -//public DataKeyValue DMWETER5_StartManual { get; set; } -//public DataKeyValue DMWETER5_StopManual { get; set; } -//public DataKeyValue DMWETER5_StartAuto { get; set; } -//public DataKeyValue DMWETER5_StopAuto { get; set; } -//public DataKeyValue DMWETER5_Running { get; set; } -//public DataKeyValue DMWETER5_Run { get; set; } -//public DataKeyValue DMWETER5_Alarm { get; set; } -//public DataKeyValue DMWETER6_ManualMode { get; set; } -//public DataKeyValue DMWETER6_AutoMode { get; set; } -//public DataKeyValue DMWETER6_AlarmReset { get; set; } -//public DataKeyValue DMWETER6_StartManual { get; set; } -//public DataKeyValue DMWETER6_StopManual { get; set; } -//public DataKeyValue DMWETER6_StartAuto { get; set; } -//public DataKeyValue DMWETER6_StopAuto { get; set; } -//public DataKeyValue DMWETER6_Running { get; set; } -//public DataKeyValue DMWETER6_Run { get; set; } -//public DataKeyValue DMWETER6_Alarm { get; set; } -//public DataKeyValue DMWETER7_ManualMode { get; set; } -//public DataKeyValue DMWETER7_AutoMode { get; set; } -//public DataKeyValue DMWETER7_AlarmReset { get; set; } -//public DataKeyValue DMWETER7_StartManual { get; set; } -//public DataKeyValue DMWETER7_StopManual { get; set; } -//public DataKeyValue DMWETER7_StartAuto { get; set; } -//public DataKeyValue DMWETER7_StopAuto { get; set; } -//public DataKeyValue DMWETER7_Running { get; set; } -//public DataKeyValue DMWETER7_Run { get; set; } -//public DataKeyValue DMWETER7_Alarm { get; set; } -//public DataKeyValue DMWETER8_ManualMode { get; set; } -//public DataKeyValue DMWETER8_AutoMode { get; set; } -//public DataKeyValue DMWETER8_AlarmReset { get; set; } -//public DataKeyValue DMWETER8_StartManual { get; set; } -//public DataKeyValue DMWETER8_StopManual { get; set; } -//public DataKeyValue DMWETER8_StartAuto { get; set; } -//public DataKeyValue DMWETER8_StopAuto { get; set; } -//public DataKeyValue DMWETER8_Running { get; set; } -//public DataKeyValue DMWETER8_Run { get; set; } -//public DataKeyValue DMWETER8_Alarm { get; set; } + - #endregion + + + - #region 2106 - - //public DataKeyValue dryerA_dos0_batch { get; set; } - //public DataKeyValue dryerA_dos0_matCode { get; set; } - //public DataKeyValue dryerA_dos0_setValue { get; set; } - //public DataKeyValue dryerA_dos0_setToler { get; set; } - //public DataKeyValue dryerA_dos0_actValue { get; set; } - //public DataKeyValue dryerA_dos0_actToLer { get; set; } - //public DataKeyValue dryerA_dos1_eqNo { get; set; } - //public DataKeyValue dryerA_dos1_batch { get; set; } - //public DataKeyValue dryerA_dos1_matCode { get; set; } - //public DataKeyValue dryerA_dos1_setValue { get; set; } - //public DataKeyValue dryerA_dos1_setToler { get; set; } - //public DataKeyValue dryerA_dos1_actValue { get; set; } - //public DataKeyValue dryerA_dos1_actToLer { get; set; } - //public DataKeyValue dryerA_dos2_eqNo { get; set; } - //public DataKeyValue dryerA_dos2_batch { get; set; } - //public DataKeyValue dryerA_dos2_matCode { get; set; } - //public DataKeyValue dryerA_dos2_setValue { get; set; } - //public DataKeyValue dryerA_dos2_setToler { get; set; } - //public DataKeyValue dryerA_dos2_actValue { get; set; } - //public DataKeyValue dryerA_dos2_actToLer { get; set; } - //public DataKeyValue dryerA_dos3_eqNo { get; set; } - //public DataKeyValue dryerA_dos3_batch { get; set; } - //public DataKeyValue dryerA_dos3_matCode { get; set; } - //public DataKeyValue dryerA_dos3_setValue { get; set; } - //public DataKeyValue dryerA_dos3_setToler { get; set; } - //public DataKeyValue dryerA_dos3_actValue { get; set; } - //public DataKeyValue dryerA_dos3_actToLer { get; set; } - //public DataKeyValue dryerA_mix0_eqNo { get; set; } - //public DataKeyValue dryerA_mix0_mixBatch { get; set; } - //public DataKeyValue dryerA_mix0_mixStep { get; set; } - //public DataKeyValue dryerA_mix0_actCode { get; set; } - //public DataKeyValue dryerA_mix0_mixTime { get; set; } - //public DataKeyValue dryerA_mix0_mixTemp { get; set; } - //public DataKeyValue dryerA_mix0_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix1_eqNo { get; set; } - //public DataKeyValue dryerA_mix1_mixBatch { get; set; } - //public DataKeyValue dryerA_mix1_mixStep { get; set; } - //public DataKeyValue dryerA_mix1_actCode { get; set; } - //public DataKeyValue dryerA_mix1_mixTime { get; set; } - //public DataKeyValue dryerA_mix1_mixTemp { get; set; } - //public DataKeyValue dryerA_mix1_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix2_eqNo { get; set; } - //public DataKeyValue dryerA_mix2_mixBatch { get; set; } - //public DataKeyValue dryerA_mix2_mixStep { get; set; } - //public DataKeyValue dryerA_mix2_actCode { get; set; } - //public DataKeyValue dryerA_mix2_mixTime { get; set; } - //public DataKeyValue dryerA_mix2_mixTemp { get; set; } - //public DataKeyValue dryerA_mix2_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix3_eqNo { get; set; } - //public DataKeyValue dryerA_mix3_mixBatch { get; set; } - //public DataKeyValue dryerA_mix3_mixStep { get; set; } - //public DataKeyValue dryerA_mix3_actCode { get; set; } - //public DataKeyValue dryerA_mix3_mixTime { get; set; } - //public DataKeyValue dryerA_mix3_mixTemp { get; set; } - //public DataKeyValue dryerA_mix3_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix4_eqNo { get; set; } - //public DataKeyValue dryerA_mix4_mixBatch { get; set; } - //public DataKeyValue dryerA_mix4_mixStep { get; set; } - //public DataKeyValue dryerA_mix4_actCode { get; set; } - //public DataKeyValue dryerA_mix4_mixTime { get; set; } - //public DataKeyValue dryerA_mix4_mixTemp { get; set; } - //public DataKeyValue dryerA_mix4_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix5_eqNo { get; set; } - //public DataKeyValue dryerA_mix5_mixBatch { get; set; } - //public DataKeyValue dryerA_mix5_mixStep { get; set; } - //public DataKeyValue dryerA_mix5_actCode { get; set; } - //public DataKeyValue dryerA_mix5_mixTime { get; set; } - //public DataKeyValue dryerA_mix5_mixTemp { get; set; } - //public DataKeyValue dryerA_mix5_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix6_eqNo { get; set; } - //public DataKeyValue dryerA_mix6_mixBatch { get; set; } - //public DataKeyValue dryerA_mix6_mixStep { get; set; } - //public DataKeyValue dryerA_mix6_actCode { get; set; } - //public DataKeyValue dryerA_mix6_mixTime { get; set; } - //public DataKeyValue dryerA_mix6_mixTemp { get; set; } - //public DataKeyValue dryerA_mix6_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix7_eqNo { get; set; } - //public DataKeyValue dryerA_mix7_mixBatch { get; set; } - //public DataKeyValue dryerA_mix7_mixStep { get; set; } - //public DataKeyValue dryerA_mix7_actCode { get; set; } - //public DataKeyValue dryerA_mix7_mixTime { get; set; } - //public DataKeyValue dryerA_mix7_mixTemp { get; set; } - //public DataKeyValue dryerA_mix7_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix8_eqNo { get; set; } - //public DataKeyValue dryerA_mix8_mixBatch { get; set; } - //public DataKeyValue dryerA_mix8_mixStep { get; set; } - //public DataKeyValue dryerA_mix8_actCode { get; set; } - //public DataKeyValue dryerA_mix8_mixTime { get; set; } - //public DataKeyValue dryerA_mix8_mixTemp { get; set; } - //public DataKeyValue dryerA_mix8_mixSpeed { get; set; } - //public DataKeyValue dryerA_mix9_eqNo { get; set; } - //public DataKeyValue dryerA_mix9_mixBatch { get; set; } - //public DataKeyValue dryerA_mix9_mixStep { get; set; } - //public DataKeyValue dryerA_mix9_actCode { get; set; } - //public DataKeyValue dryerA_mix9_mixTime { get; set; } - //public DataKeyValue dryerA_mix9_mixTemp { get; set; } - //public DataKeyValue dryerA_mix9_mixSpeed { get; set; } - //public DataKeyValue dryerB_dos0_eqNo { get; set; } - //public DataKeyValue dryerB_dos0_batch { get; set; } - //public DataKeyValue dryerB_dos0_matCode { get; set; } - //public DataKeyValue dryerB_dos0_setValue { get; set; } - //public DataKeyValue dryerB_dos0_setToler { get; set; } - //public DataKeyValue dryerB_dos0_actValue { get; set; } - //public DataKeyValue dryerB_dos0_actToLer { get; set; } - //public DataKeyValue dryerB_dos1_eqNo { get; set; } - //public DataKeyValue dryerB_dos1_batch { get; set; } - //public DataKeyValue dryerB_dos1_matCode { get; set; } - //public DataKeyValue dryerB_dos1_setValue { get; set; } - //public DataKeyValue dryerB_dos1_setToler { get; set; } - //public DataKeyValue dryerB_dos1_actValue { get; set; } - //public DataKeyValue dryerB_dos1_actToLer { get; set; } - //public DataKeyValue dryerB_dos2_eqNo { get; set; } - //public DataKeyValue dryerB_dos2_batch { get; set; } - //public DataKeyValue dryerB_dos2_matCode { get; set; } - //public DataKeyValue dryerB_dos2_setValue { get; set; } - //public DataKeyValue dryerB_dos2_setToler { get; set; } - //public DataKeyValue dryerB_dos2_actValue { get; set; } - //public DataKeyValue dryerB_dos2_actToLer { get; set; } - //public DataKeyValue dryerB_dos3_eqNo { get; set; } - //public DataKeyValue dryerB_dos3_batch { get; set; } - //public DataKeyValue dryerB_dos3_matCode { get; set; } - //public DataKeyValue dryerB_dos3_setValue { get; set; } - //public DataKeyValue dryerB_dos3_setToler { get; set; } - //public DataKeyValue dryerB_dos3_actValue { get; set; } - //public DataKeyValue dryerB_dos3_actToLer { get; set; } - //public DataKeyValue dryerB_mix0_eqNo { get; set; } - //public DataKeyValue dryerB_mix0_mixBatch { get; set; } - //public DataKeyValue dryerB_mix0_mixStep { get; set; } - //public DataKeyValue dryerB_mix0_actCode { get; set; } - //public DataKeyValue dryerB_mix0_mixTime { get; set; } - //public DataKeyValue dryerB_mix0_mixTemp { get; set; } - //public DataKeyValue dryerB_mix0_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix1_eqNo { get; set; } - //public DataKeyValue dryerB_mix1_mixBatch { get; set; } - //public DataKeyValue dryerB_mix1_mixStep { get; set; } - //public DataKeyValue dryerB_mix1_actCode { get; set; } - //public DataKeyValue dryerB_mix1_mixTime { get; set; } - //public DataKeyValue dryerB_mix1_mixTemp { get; set; } - //public DataKeyValue dryerB_mix1_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix2_eqNo { get; set; } - //public DataKeyValue dryerB_mix2_mixBatch { get; set; } - //public DataKeyValue dryerB_mix2_mixStep { get; set; } - //public DataKeyValue dryerB_mix2_actCode { get; set; } - //public DataKeyValue dryerB_mix2_mixTime { get; set; } - //public DataKeyValue dryerB_mix2_mixTemp { get; set; } - //public DataKeyValue dryerB_mix2_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix3_eqNo { get; set; } - //public DataKeyValue dryerB_mix3_mixBatch { get; set; } - //public DataKeyValue dryerB_mix3_mixStep { get; set; } - //public DataKeyValue dryerB_mix3_actCode { get; set; } - //public DataKeyValue dryerB_mix3_mixTime { get; set; } - //public DataKeyValue dryerB_mix3_mixTemp { get; set; } - //public DataKeyValue dryerB_mix3_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix4_eqNo { get; set; } - //public DataKeyValue dryerB_mix4_mixBatch { get; set; } - //public DataKeyValue dryerB_mix4_mixStep { get; set; } - //public DataKeyValue dryerB_mix4_actCode { get; set; } - //public DataKeyValue dryerB_mix4_mixTime { get; set; } - //public DataKeyValue dryerB_mix4_mixTemp { get; set; } - //public DataKeyValue dryerB_mix4_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix5_eqNo { get; set; } - //public DataKeyValue dryerB_mix5_mixBatch { get; set; } - //public DataKeyValue dryerB_mix5_mixStep { get; set; } - //public DataKeyValue dryerB_mix5_actCode { get; set; } - //public DataKeyValue dryerB_mix5_mixTime { get; set; } - //public DataKeyValue dryerB_mix5_mixTemp { get; set; } - //public DataKeyValue dryerB_mix5_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix6_eqNo { get; set; } - //public DataKeyValue dryerB_mix6_mixBatch { get; set; } - //public DataKeyValue dryerB_mix6_mixStep { get; set; } - //public DataKeyValue dryerB_mix6_actCode { get; set; } - //public DataKeyValue dryerB_mix6_mixTime { get; set; } - //public DataKeyValue dryerB_mix6_mixTemp { get; set; } - //public DataKeyValue dryerB_mix6_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix7_eqNo { get; set; } - //public DataKeyValue dryerB_mix7_mixBatch { get; set; } - //public DataKeyValue dryerB_mix7_mixStep { get; set; } - //public DataKeyValue dryerB_mix7_actCode { get; set; } - //public DataKeyValue dryerB_mix7_mixTime { get; set; } - //public DataKeyValue dryerB_mix7_mixTemp { get; set; } - //public DataKeyValue dryerB_mix7_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix8_eqNo { get; set; } - //public DataKeyValue dryerB_mix8_mixBatch { get; set; } - //public DataKeyValue dryerB_mix8_mixStep { get; set; } - //public DataKeyValue dryerB_mix8_actCode { get; set; } - //public DataKeyValue dryerB_mix8_mixTime { get; set; } - //public DataKeyValue dryerB_mix8_mixTemp { get; set; } - //public DataKeyValue dryerB_mix8_mixSpeed { get; set; } - //public DataKeyValue dryerB_mix9_eqNo { get; set; } - //public DataKeyValue dryerB_mix9_mixBatch { get; set; } - //public DataKeyValue dryerB_mix9_mixStep { get; set; } - //public DataKeyValue dryerB_mix9_actCode { get; set; } - //public DataKeyValue dryerB_mix9_mixTime { get; set; } - //public DataKeyValue dryerB_mix9_mixTemp { get; set; } - //public DataKeyValue dryerB_mix9_mixSpeed { get; set; } - //public DataKeyValue dryerC_dos0_eqNo { get; set; } - //public DataKeyValue dryerC_dos0_batch { get; set; } - //public DataKeyValue dryerC_dos0_matCode { get; set; } - //public DataKeyValue dryerC_dos0_setValue { get; set; } - //public DataKeyValue dryerC_dos0_setToler { get; set; } - //public DataKeyValue dryerC_dos0_actValue { get; set; } - //public DataKeyValue dryerC_dos0_actToLer { get; set; } - //public DataKeyValue dryerC_dos1_eqNo { get; set; } - //public DataKeyValue dryerC_dos1_batch { get; set; } - //public DataKeyValue dryerC_dos1_matCode { get; set; } - //public DataKeyValue dryerC_dos1_setValue { get; set; } - //public DataKeyValue dryerC_dos1_setToler { get; set; } - //public DataKeyValue dryerC_dos1_actValue { get; set; } - //public DataKeyValue dryerC_dos1_actToLer { get; set; } - //public DataKeyValue dryerC_dos2_eqNo { get; set; } - //public DataKeyValue dryerC_dos2_batch { get; set; } - //public DataKeyValue dryerC_dos2_matCode { get; set; } - //public DataKeyValue dryerC_dos2_setValue { get; set; } - //public DataKeyValue dryerC_dos2_setToler { get; set; } - //public DataKeyValue dryerC_dos2_actValue { get; set; } - //public DataKeyValue dryerC_dos2_actToLer { get; set; } - //public DataKeyValue dryerC_dos3_eqNo { get; set; } - //public DataKeyValue dryerC_dos3_batch { get; set; } - //public DataKeyValue dryerC_dos3_matCode { get; set; } - //public DataKeyValue dryerC_dos3_setValue { get; set; } - //public DataKeyValue dryerC_dos3_setToler { get; set; } - //public DataKeyValue dryerC_dos3_actValue { get; set; } - //public DataKeyValue dryerC_dos3_actToLer { get; set; } - //public DataKeyValue dryerC_mix0_eqNo { get; set; } - //public DataKeyValue dryerC_mix0_mixBatch { get; set; } - //public DataKeyValue dryerC_mix0_mixStep { get; set; } - //public DataKeyValue dryerC_mix0_actCode { get; set; } - //public DataKeyValue dryerC_mix0_mixTime { get; set; } - //public DataKeyValue dryerC_mix0_mixTemp { get; set; } - //public DataKeyValue dryerC_mix0_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix1_eqNo { get; set; } - //public DataKeyValue dryerC_mix1_mixBatch { get; set; } - //public DataKeyValue dryerC_mix1_mixStep { get; set; } - //public DataKeyValue dryerC_mix1_actCode { get; set; } - //public DataKeyValue dryerC_mix1_mixTime { get; set; } - //public DataKeyValue dryerC_mix1_mixTemp { get; set; } - //public DataKeyValue dryerC_mix1_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix2_eqNo { get; set; } - //public DataKeyValue dryerC_mix2_mixBatch { get; set; } - //public DataKeyValue dryerC_mix2_mixStep { get; set; } - //public DataKeyValue dryerC_mix2_actCode { get; set; } - //public DataKeyValue dryerC_mix2_mixTime { get; set; } - //public DataKeyValue dryerC_mix2_mixTemp { get; set; } - //public DataKeyValue dryerC_mix2_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix3_eqNo { get; set; } - //public DataKeyValue dryerC_mix3_mixBatch { get; set; } - //public DataKeyValue dryerC_mix3_mixStep { get; set; } - //public DataKeyValue dryerC_mix3_actCode { get; set; } - //public DataKeyValue dryerC_mix3_mixTime { get; set; } - //public DataKeyValue dryerC_mix3_mixTemp { get; set; } - //public DataKeyValue dryerC_mix3_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix4_eqNo { get; set; } - //public DataKeyValue dryerC_mix4_mixBatch { get; set; } - //public DataKeyValue dryerC_mix4_mixStep { get; set; } - //public DataKeyValue dryerC_mix4_actCode { get; set; } - //public DataKeyValue dryerC_mix4_mixTime { get; set; } - //public DataKeyValue dryerC_mix4_mixTemp { get; set; } - //public DataKeyValue dryerC_mix4_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix5_eqNo { get; set; } - //public DataKeyValue dryerC_mix5_mixBatch { get; set; } - //public DataKeyValue dryerC_mix5_mixStep { get; set; } - //public DataKeyValue dryerC_mix5_actCode { get; set; } - //public DataKeyValue dryerC_mix5_mixTime { get; set; } - //public DataKeyValue dryerC_mix5_mixTemp { get; set; } - //public DataKeyValue dryerC_mix5_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix6_eqNo { get; set; } - //public DataKeyValue dryerC_mix6_mixBatch { get; set; } - //public DataKeyValue dryerC_mix6_mixStep { get; set; } - //public DataKeyValue dryerC_mix6_actCode { get; set; } - //public DataKeyValue dryerC_mix6_mixTime { get; set; } - //public DataKeyValue dryerC_mix6_mixTemp { get; set; } - //public DataKeyValue dryerC_mix6_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix7_eqNo { get; set; } - //public DataKeyValue dryerC_mix7_mixBatch { get; set; } - //public DataKeyValue dryerC_mix7_mixStep { get; set; } - //public DataKeyValue dryerC_mix7_actCode { get; set; } - //public DataKeyValue dryerC_mix7_mixTime { get; set; } - //public DataKeyValue dryerC_mix7_mixTemp { get; set; } - //public DataKeyValue dryerC_mix7_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix8_eqNo { get; set; } - //public DataKeyValue dryerC_mix8_mixBatch { get; set; } - //public DataKeyValue dryerC_mix8_mixStep { get; set; } - //public DataKeyValue dryerC_mix8_actCode { get; set; } - //public DataKeyValue dryerC_mix8_mixTime { get; set; } - //public DataKeyValue dryerC_mix8_mixTemp { get; set; } - //public DataKeyValue dryerC_mix8_mixSpeed { get; set; } - //public DataKeyValue dryerC_mix9_eqNo { get; set; } - //public DataKeyValue dryerC_mix9_mixBatch { get; set; } - //public DataKeyValue dryerC_mix9_mixStep { get; set; } - //public DataKeyValue dryerC_mix9_actCode { get; set; } - //public DataKeyValue dryerC_mix9_mixTime { get; set; } - //public DataKeyValue dryerC_mix9_mixTemp { get; set; } - //public DataKeyValue dryerC_mix9_mixSpeed { get; set; } - //public DataKeyValue dryerD_dos0_eqNo { get; set; } - //public DataKeyValue dryerD_dos0_batch { get; set; } - //public DataKeyValue dryerD_dos0_matCode { get; set; } - //public DataKeyValue dryerD_dos0_setValue { get; set; } - //public DataKeyValue dryerD_dos0_setToler { get; set; } - //public DataKeyValue dryerD_dos0_actValue { get; set; } - //public DataKeyValue dryerD_dos0_actToLer { get; set; } - //public DataKeyValue dryerD_dos1_eqNo { get; set; } - //public DataKeyValue dryerD_dos1_batch { get; set; } - //public DataKeyValue dryerD_dos1_matCode { get; set; } - //public DataKeyValue dryerD_dos1_setValue { get; set; } - //public DataKeyValue dryerD_dos1_setToler { get; set; } - //public DataKeyValue dryerD_dos1_actValue { get; set; } - //public DataKeyValue dryerD_dos1_actToLer { get; set; } - //public DataKeyValue dryerD_dos2_eqNo { get; set; } - //public DataKeyValue dryerD_dos2_batch { get; set; } - //public DataKeyValue dryerD_dos2_matCode { get; set; } - //public DataKeyValue dryerD_dos2_setValue { get; set; } - //public DataKeyValue dryerD_dos2_setToler { get; set; } - //public DataKeyValue dryerD_dos2_actValue { get; set; } - //public DataKeyValue dryerD_dos2_actToLer { get; set; } - //public DataKeyValue dryerD_dos3_eqNo { get; set; } - //public DataKeyValue dryerD_dos3_batch { get; set; } - //public DataKeyValue dryerD_dos3_matCode { get; set; } - //public DataKeyValue dryerD_dos3_setValue { get; set; } - //public DataKeyValue dryerD_dos3_setToler { get; set; } - //public DataKeyValue dryerD_dos3_actValue { get; set; } - //public DataKeyValue dryerD_dos3_actToLer { get; set; } - //public DataKeyValue dryerD_mix0_eqNo { get; set; } - //public DataKeyValue dryerD_mix0_mixBatch { get; set; } - //public DataKeyValue dryerD_mix0_mixStep { get; set; } - //public DataKeyValue dryerD_mix0_actCode { get; set; } - //public DataKeyValue dryerD_mix0_mixTime { get; set; } - //public DataKeyValue dryerD_mix0_mixTemp { get; set; } - //public DataKeyValue dryerD_mix0_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix1_eqNo { get; set; } - //public DataKeyValue dryerD_mix1_mixBatch { get; set; } - //public DataKeyValue dryerD_mix1_mixStep { get; set; } - //public DataKeyValue dryerD_mix1_actCode { get; set; } - //public DataKeyValue dryerD_mix1_mixTime { get; set; } - //public DataKeyValue dryerD_mix1_mixTemp { get; set; } - //public DataKeyValue dryerD_mix1_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix2_eqNo { get; set; } - //public DataKeyValue dryerD_mix2_mixBatch { get; set; } - //public DataKeyValue dryerD_mix2_mixStep { get; set; } - //public DataKeyValue dryerD_mix2_actCode { get; set; } - //public DataKeyValue dryerD_mix2_mixTime { get; set; } - //public DataKeyValue dryerD_mix2_mixTemp { get; set; } - //public DataKeyValue dryerD_mix2_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix3_eqNo { get; set; } - //public DataKeyValue dryerD_mix3_mixBatch { get; set; } - //public DataKeyValue dryerD_mix3_mixStep { get; set; } - //public DataKeyValue dryerD_mix3_actCode { get; set; } - //public DataKeyValue dryerD_mix3_mixTime { get; set; } - //public DataKeyValue dryerD_mix3_mixTemp { get; set; } - //public DataKeyValue dryerD_mix3_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix4_eqNo { get; set; } - //public DataKeyValue dryerD_mix4_mixBatch { get; set; } - //public DataKeyValue dryerD_mix4_mixStep { get; set; } - //public DataKeyValue dryerD_mix4_actCode { get; set; } - //public DataKeyValue dryerD_mix4_mixTime { get; set; } - //public DataKeyValue dryerD_mix4_mixTemp { get; set; } - //public DataKeyValue dryerD_mix4_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix5_eqNo { get; set; } - //public DataKeyValue dryerD_mix5_mixBatch { get; set; } - //public DataKeyValue dryerD_mix5_mixStep { get; set; } - //public DataKeyValue dryerD_mix5_actCode { get; set; } - //public DataKeyValue dryerD_mix5_mixTime { get; set; } - //public DataKeyValue dryerD_mix5_mixTemp { get; set; } - //public DataKeyValue dryerD_mix5_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix6_eqNo { get; set; } - //public DataKeyValue dryerD_mix6_mixBatch { get; set; } - //public DataKeyValue dryerD_mix6_mixStep { get; set; } - //public DataKeyValue dryerD_mix6_actCode { get; set; } - //public DataKeyValue dryerD_mix6_mixTime { get; set; } - //public DataKeyValue dryerD_mix6_mixTemp { get; set; } - //public DataKeyValue dryerD_mix6_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix7_eqNo { get; set; } - //public DataKeyValue dryerD_mix7_mixBatch { get; set; } - //public DataKeyValue dryerD_mix7_mixStep { get; set; } - //public DataKeyValue dryerD_mix7_actCode { get; set; } - //public DataKeyValue dryerD_mix7_mixTime { get; set; } - //public DataKeyValue dryerD_mix7_mixTemp { get; set; } - //public DataKeyValue dryerD_mix7_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix8_eqNo { get; set; } - //public DataKeyValue dryerD_mix8_mixBatch { get; set; } - //public DataKeyValue dryerD_mix8_mixStep { get; set; } - //public DataKeyValue dryerD_mix8_actCode { get; set; } - //public DataKeyValue dryerD_mix8_mixTime { get; set; } - //public DataKeyValue dryerD_mix8_mixTemp { get; set; } - //public DataKeyValue dryerD_mix8_mixSpeed { get; set; } - //public DataKeyValue dryerD_mix9_eqNo { get; set; } - //public DataKeyValue dryerD_mix9_mixBatch { get; set; } - //public DataKeyValue dryerD_mix9_mixStep { get; set; } - //public DataKeyValue dryerD_mix9_actCode { get; set; } - //public DataKeyValue dryerD_mix9_mixTime { get; set; } - //public DataKeyValue dryerD_mix9_mixTemp { get; set; } - //public DataKeyValue dryerD_mix9_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingA_dos0_batch { get; set; } - //public DataKeyValue gelDosingA_dos0_matCode { get; set; } - //public DataKeyValue gelDosingA_dos0_setValue { get; set; } - //public DataKeyValue gelDosingA_dos0_setToler { get; set; } - //public DataKeyValue gelDosingA_dos0_actValue { get; set; } - //public DataKeyValue gelDosingA_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingA_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingA_dos1_batch { get; set; } - //public DataKeyValue gelDosingA_dos1_matCode { get; set; } - //public DataKeyValue gelDosingA_dos1_setValue { get; set; } - //public DataKeyValue gelDosingA_dos1_setToler { get; set; } - //public DataKeyValue gelDosingA_dos1_actValue { get; set; } - //public DataKeyValue gelDosingA_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingA_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingA_dos2_batch { get; set; } - //public DataKeyValue gelDosingA_dos2_matCode { get; set; } - //public DataKeyValue gelDosingA_dos2_setValue { get; set; } - //public DataKeyValue gelDosingA_dos2_setToler { get; set; } - //public DataKeyValue gelDosingA_dos2_actValue { get; set; } - //public DataKeyValue gelDosingA_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingA_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingA_dos3_batch { get; set; } - //public DataKeyValue gelDosingA_dos3_matCode { get; set; } - //public DataKeyValue gelDosingA_dos3_setValue { get; set; } - //public DataKeyValue gelDosingA_dos3_setToler { get; set; } - //public DataKeyValue gelDosingA_dos3_actValue { get; set; } - //public DataKeyValue gelDosingA_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingA_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingA_hotWater_batch { get; set; } - //public DataKeyValue gelDosingA_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingA_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingA_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingA_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingA_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingA_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingA_coolWater_batch { get; set; } - //public DataKeyValue gelDosingA_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingA_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingA_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingA_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingA_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingA_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingB_dos0_batch { get; set; } - //public DataKeyValue gelDosingB_dos0_matCode { get; set; } - //public DataKeyValue gelDosingB_dos0_setValue { get; set; } - //public DataKeyValue gelDosingB_dos0_setToler { get; set; } - //public DataKeyValue gelDosingB_dos0_actValue { get; set; } - //public DataKeyValue gelDosingB_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingB_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingB_dos1_batch { get; set; } - //public DataKeyValue gelDosingB_dos1_matCode { get; set; } - //public DataKeyValue gelDosingB_dos1_setValue { get; set; } - //public DataKeyValue gelDosingB_dos1_setToler { get; set; } - //public DataKeyValue gelDosingB_dos1_actValue { get; set; } - //public DataKeyValue gelDosingB_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingB_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingB_dos2_batch { get; set; } - //public DataKeyValue gelDosingB_dos2_matCode { get; set; } - //public DataKeyValue gelDosingB_dos2_setValue { get; set; } - //public DataKeyValue gelDosingB_dos2_setToler { get; set; } - //public DataKeyValue gelDosingB_dos2_actValue { get; set; } - //public DataKeyValue gelDosingB_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingB_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingB_dos3_batch { get; set; } - //public DataKeyValue gelDosingB_dos3_matCode { get; set; } - //public DataKeyValue gelDosingB_dos3_setValue { get; set; } - //public DataKeyValue gelDosingB_dos3_setToler { get; set; } - //public DataKeyValue gelDosingB_dos3_actValue { get; set; } - //public DataKeyValue gelDosingB_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingB_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingB_hotWater_batch { get; set; } - //public DataKeyValue gelDosingB_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingB_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingB_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingB_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingB_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingB_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingB_coolWater_batch { get; set; } - //public DataKeyValue gelDosingB_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingB_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingB_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingB_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingB_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingB_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingC_dos0_batch { get; set; } - //public DataKeyValue gelDosingC_dos0_matCode { get; set; } - //public DataKeyValue gelDosingC_dos0_setValue { get; set; } - //public DataKeyValue gelDosingC_dos0_setToler { get; set; } - //public DataKeyValue gelDosingC_dos0_actValue { get; set; } - //public DataKeyValue gelDosingC_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingC_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingC_dos1_batch { get; set; } - //public DataKeyValue gelDosingC_dos1_matCode { get; set; } - //public DataKeyValue gelDosingC_dos1_setValue { get; set; } - //public DataKeyValue gelDosingC_dos1_setToler { get; set; } - //public DataKeyValue gelDosingC_dos1_actValue { get; set; } - //public DataKeyValue gelDosingC_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingC_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingC_dos2_batch { get; set; } - //public DataKeyValue gelDosingC_dos2_matCode { get; set; } - //public DataKeyValue gelDosingC_dos2_setValue { get; set; } - //public DataKeyValue gelDosingC_dos2_setToler { get; set; } - //public DataKeyValue gelDosingC_dos2_actValue { get; set; } - //public DataKeyValue gelDosingC_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingC_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingC_dos3_batch { get; set; } - //public DataKeyValue gelDosingC_dos3_matCode { get; set; } - //public DataKeyValue gelDosingC_dos3_setValue { get; set; } - //public DataKeyValue gelDosingC_dos3_setToler { get; set; } - //public DataKeyValue gelDosingC_dos3_actValue { get; set; } - //public DataKeyValue gelDosingC_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingC_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingC_hotWater_batch { get; set; } - //public DataKeyValue gelDosingC_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingC_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingC_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingC_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingC_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingC_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingC_coolWater_batch { get; set; } - //public DataKeyValue gelDosingC_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingC_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingC_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingC_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingC_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingC_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingD_dos0_batch { get; set; } - //public DataKeyValue gelDosingD_dos0_matCode { get; set; } - //public DataKeyValue gelDosingD_dos0_setValue { get; set; } - //public DataKeyValue gelDosingD_dos0_setToler { get; set; } - //public DataKeyValue gelDosingD_dos0_actValue { get; set; } - //public DataKeyValue gelDosingD_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingD_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingD_dos1_batch { get; set; } - //public DataKeyValue gelDosingD_dos1_matCode { get; set; } - //public DataKeyValue gelDosingD_dos1_setValue { get; set; } - //public DataKeyValue gelDosingD_dos1_setToler { get; set; } - //public DataKeyValue gelDosingD_dos1_actValue { get; set; } - //public DataKeyValue gelDosingD_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingD_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingD_dos2_batch { get; set; } - //public DataKeyValue gelDosingD_dos2_matCode { get; set; } - //public DataKeyValue gelDosingD_dos2_setValue { get; set; } - //public DataKeyValue gelDosingD_dos2_setToler { get; set; } - //public DataKeyValue gelDosingD_dos2_actValue { get; set; } - //public DataKeyValue gelDosingD_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingD_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingD_dos3_batch { get; set; } - //public DataKeyValue gelDosingD_dos3_matCode { get; set; } - //public DataKeyValue gelDosingD_dos3_setValue { get; set; } - //public DataKeyValue gelDosingD_dos3_setToler { get; set; } - //public DataKeyValue gelDosingD_dos3_actValue { get; set; } - //public DataKeyValue gelDosingD_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingD_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingD_hotWater_batch { get; set; } - //public DataKeyValue gelDosingD_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingD_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingD_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingD_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingD_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingD_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingD_coolWater_batch { get; set; } - //public DataKeyValue gelDosingD_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingD_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingD_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingD_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingD_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingD_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingE_dos0_batch { get; set; } - //public DataKeyValue gelDosingE_dos0_matCode { get; set; } - //public DataKeyValue gelDosingE_dos0_setValue { get; set; } - //public DataKeyValue gelDosingE_dos0_setToler { get; set; } - //public DataKeyValue gelDosingE_dos0_actValue { get; set; } - //public DataKeyValue gelDosingE_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingE_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingE_dos1_batch { get; set; } - //public DataKeyValue gelDosingE_dos1_matCode { get; set; } - //public DataKeyValue gelDosingE_dos1_setValue { get; set; } - //public DataKeyValue gelDosingE_dos1_setToler { get; set; } - //public DataKeyValue gelDosingE_dos1_actValue { get; set; } - //public DataKeyValue gelDosingE_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingE_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingE_dos2_batch { get; set; } - //public DataKeyValue gelDosingE_dos2_matCode { get; set; } - //public DataKeyValue gelDosingE_dos2_setValue { get; set; } - //public DataKeyValue gelDosingE_dos2_setToler { get; set; } - //public DataKeyValue gelDosingE_dos2_actValue { get; set; } - //public DataKeyValue gelDosingE_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingE_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingE_dos3_batch { get; set; } - //public DataKeyValue gelDosingE_dos3_matCode { get; set; } - //public DataKeyValue gelDosingE_dos3_setValue { get; set; } - //public DataKeyValue gelDosingE_dos3_setToler { get; set; } - //public DataKeyValue gelDosingE_dos3_actValue { get; set; } - //public DataKeyValue gelDosingE_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingE_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingE_hotWater_batch { get; set; } - //public DataKeyValue gelDosingE_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingE_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingE_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingE_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingE_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingE_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingE_coolWater_batch { get; set; } - //public DataKeyValue gelDosingE_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingE_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingE_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingE_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingE_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingE_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingF_dos0_batch { get; set; } - //public DataKeyValue gelDosingF_dos0_matCode { get; set; } - //public DataKeyValue gelDosingF_dos0_setValue { get; set; } - //public DataKeyValue gelDosingF_dos0_setToler { get; set; } - //public DataKeyValue gelDosingF_dos0_actValue { get; set; } - //public DataKeyValue gelDosingF_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingF_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingF_dos1_batch { get; set; } - //public DataKeyValue gelDosingF_dos1_matCode { get; set; } - //public DataKeyValue gelDosingF_dos1_setValue { get; set; } - //public DataKeyValue gelDosingF_dos1_setToler { get; set; } - //public DataKeyValue gelDosingF_dos1_actValue { get; set; } - //public DataKeyValue gelDosingF_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingF_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingF_dos2_batch { get; set; } - //public DataKeyValue gelDosingF_dos2_matCode { get; set; } - //public DataKeyValue gelDosingF_dos2_setValue { get; set; } - //public DataKeyValue gelDosingF_dos2_setToler { get; set; } - //public DataKeyValue gelDosingF_dos2_actValue { get; set; } - //public DataKeyValue gelDosingF_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingF_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingF_dos3_batch { get; set; } - //public DataKeyValue gelDosingF_dos3_matCode { get; set; } - //public DataKeyValue gelDosingF_dos3_setValue { get; set; } - //public DataKeyValue gelDosingF_dos3_setToler { get; set; } - //public DataKeyValue gelDosingF_dos3_actValue { get; set; } - //public DataKeyValue gelDosingF_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingF_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingF_hotWater_batch { get; set; } - //public DataKeyValue gelDosingF_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingF_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingF_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingF_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingF_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingF_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingF_coolWater_batch { get; set; } - //public DataKeyValue gelDosingF_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingF_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingF_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingF_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingF_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingF_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingG_dos0_batch { get; set; } - //public DataKeyValue gelDosingG_dos0_matCode { get; set; } - //public DataKeyValue gelDosingG_dos0_setValue { get; set; } - //public DataKeyValue gelDosingG_dos0_setToler { get; set; } - //public DataKeyValue gelDosingG_dos0_actValue { get; set; } - //public DataKeyValue gelDosingG_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingG_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingG_dos1_batch { get; set; } - //public DataKeyValue gelDosingG_dos1_matCode { get; set; } - //public DataKeyValue gelDosingG_dos1_setValue { get; set; } - //public DataKeyValue gelDosingG_dos1_setToler { get; set; } - //public DataKeyValue gelDosingG_dos1_actValue { get; set; } - //public DataKeyValue gelDosingG_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingG_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingG_dos2_batch { get; set; } - //public DataKeyValue gelDosingG_dos2_matCode { get; set; } - //public DataKeyValue gelDosingG_dos2_setValue { get; set; } - //public DataKeyValue gelDosingG_dos2_setToler { get; set; } - //public DataKeyValue gelDosingG_dos2_actValue { get; set; } - //public DataKeyValue gelDosingG_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingG_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingG_dos3_batch { get; set; } - //public DataKeyValue gelDosingG_dos3_matCode { get; set; } - //public DataKeyValue gelDosingG_dos3_setValue { get; set; } - //public DataKeyValue gelDosingG_dos3_setToler { get; set; } - //public DataKeyValue gelDosingG_dos3_actValue { get; set; } - //public DataKeyValue gelDosingG_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingG_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingG_hotWater_batch { get; set; } - //public DataKeyValue gelDosingG_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingG_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingG_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingG_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingG_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingG_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingG_coolWater_batch { get; set; } - //public DataKeyValue gelDosingG_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingG_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingG_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingG_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingG_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingG_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_dos0_eqNo { get; set; } - //public DataKeyValue gelDosingH_dos0_batch { get; set; } - //public DataKeyValue gelDosingH_dos0_matCode { get; set; } - //public DataKeyValue gelDosingH_dos0_setValue { get; set; } - //public DataKeyValue gelDosingH_dos0_setToler { get; set; } - //public DataKeyValue gelDosingH_dos0_actValue { get; set; } - //public DataKeyValue gelDosingH_dos0_actToLer { get; set; } - //public DataKeyValue gelDosingH_dos1_eqNo { get; set; } - //public DataKeyValue gelDosingH_dos1_batch { get; set; } - //public DataKeyValue gelDosingH_dos1_matCode { get; set; } - //public DataKeyValue gelDosingH_dos1_setValue { get; set; } - //public DataKeyValue gelDosingH_dos1_setToler { get; set; } - //public DataKeyValue gelDosingH_dos1_actValue { get; set; } - //public DataKeyValue gelDosingH_dos1_actToLer { get; set; } - //public DataKeyValue gelDosingH_dos2_eqNo { get; set; } - //public DataKeyValue gelDosingH_dos2_batch { get; set; } - //public DataKeyValue gelDosingH_dos2_matCode { get; set; } - //public DataKeyValue gelDosingH_dos2_setValue { get; set; } - //public DataKeyValue gelDosingH_dos2_setToler { get; set; } - //public DataKeyValue gelDosingH_dos2_actValue { get; set; } - //public DataKeyValue gelDosingH_dos2_actToLer { get; set; } - //public DataKeyValue gelDosingH_dos3_eqNo { get; set; } - //public DataKeyValue gelDosingH_dos3_batch { get; set; } - //public DataKeyValue gelDosingH_dos3_matCode { get; set; } - //public DataKeyValue gelDosingH_dos3_setValue { get; set; } - //public DataKeyValue gelDosingH_dos3_setToler { get; set; } - //public DataKeyValue gelDosingH_dos3_actValue { get; set; } - //public DataKeyValue gelDosingH_dos3_actToLer { get; set; } - //public DataKeyValue gelDosingH_hotWater_eqNo { get; set; } - //public DataKeyValue gelDosingH_hotWater_batch { get; set; } - //public DataKeyValue gelDosingH_hotWater_matCode { get; set; } - //public DataKeyValue gelDosingH_hotWater_setValue { get; set; } - //public DataKeyValue gelDosingH_hotWater_setToler { get; set; } - //public DataKeyValue gelDosingH_hotWater_actValue { get; set; } - //public DataKeyValue gelDosingH_hotWater_actToler { get; set; } - //public DataKeyValue gelDosingH_coolWater_eqNo { get; set; } - //public DataKeyValue gelDosingH_coolWater_batch { get; set; } - //public DataKeyValue gelDosingH_coolWater_matCode { get; set; } - //public DataKeyValue gelDosingH_coolWater_setValue { get; set; } - //public DataKeyValue gelDosingH_coolWater_setToler { get; set; } - //public DataKeyValue gelDosingH_coolWater_actValue { get; set; } - //public DataKeyValue gelDosingH_coolWater_actToler { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing0_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing1_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing2_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing3_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing4_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing5_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing6_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing7_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing8_mixSpeed { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_eqNo { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_mixBatch { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_mixStep { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_actCode { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_mixTime { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_mixTemp { get; set; } - //public DataKeyValue gelDosingH_gelMixing9_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_0_eqNo { get; set; } - //public DataKeyValue wetMixingA_0_mixBatch { get; set; } - //public DataKeyValue wetMixingA_0_mixStep { get; set; } - //public DataKeyValue wetMixingA_0_actCode { get; set; } - //public DataKeyValue wetMixingA_0_mixTime { get; set; } - //public DataKeyValue wetMixingA_0_mixTemp { get; set; } - //public DataKeyValue wetMixingA_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_0_actWeight { get; set; } - //public DataKeyValue wetMixingA_0_actTolerence { get; set; } - //public DataKeyValue wetMixingA_1_eqNo { get; set; } - //public DataKeyValue wetMixingA_1_mixBatch { get; set; } - //public DataKeyValue wetMixingA_1_mixStep { get; set; } - //public DataKeyValue wetMixingA_1_actCode { get; set; } - //public DataKeyValue wetMixingA_1_mixTime { get; set; } - //public DataKeyValue wetMixingA_1_mixTemp { get; set; } - //public DataKeyValue wetMixingA_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_1_actWeight { get; set; } - //public DataKeyValue wetMixingA_1_actTolerence { get; set; } - //public DataKeyValue wetMixingA_2_eqNo { get; set; } - //public DataKeyValue wetMixingA_2_mixBatch { get; set; } - //public DataKeyValue wetMixingA_2_mixStep { get; set; } - //public DataKeyValue wetMixingA_2_actCode { get; set; } - //public DataKeyValue wetMixingA_2_mixTime { get; set; } - //public DataKeyValue wetMixingA_2_mixTemp { get; set; } - //public DataKeyValue wetMixingA_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_2_actWeight { get; set; } - //public DataKeyValue wetMixingA_2_actTolerence { get; set; } - //public DataKeyValue wetMixingA_3_eqNo { get; set; } - //public DataKeyValue wetMixingA_3_mixBatch { get; set; } - //public DataKeyValue wetMixingA_3_mixStep { get; set; } - //public DataKeyValue wetMixingA_3_actCode { get; set; } - //public DataKeyValue wetMixingA_3_mixTime { get; set; } - //public DataKeyValue wetMixingA_3_mixTemp { get; set; } - //public DataKeyValue wetMixingA_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_3_actWeight { get; set; } - //public DataKeyValue wetMixingA_3_actTolerence { get; set; } - //public DataKeyValue wetMixingA_4_eqNo { get; set; } - //public DataKeyValue wetMixingA_4_mixBatch { get; set; } - //public DataKeyValue wetMixingA_4_mixStep { get; set; } - //public DataKeyValue wetMixingA_4_actCode { get; set; } - //public DataKeyValue wetMixingA_4_mixTime { get; set; } - //public DataKeyValue wetMixingA_4_mixTemp { get; set; } - //public DataKeyValue wetMixingA_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_4_actWeight { get; set; } - //public DataKeyValue wetMixingA_4_actTolerence { get; set; } - //public DataKeyValue wetMixingA_5_eqNo { get; set; } - //public DataKeyValue wetMixingA_5_mixBatch { get; set; } - //public DataKeyValue wetMixingA_5_mixStep { get; set; } - //public DataKeyValue wetMixingA_5_actCode { get; set; } - //public DataKeyValue wetMixingA_5_mixTime { get; set; } - //public DataKeyValue wetMixingA_5_mixTemp { get; set; } - //public DataKeyValue wetMixingA_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_5_actWeight { get; set; } - //public DataKeyValue wetMixingA_5_actTolerence { get; set; } - //public DataKeyValue wetMixingA_6_eqNo { get; set; } - //public DataKeyValue wetMixingA_6_mixBatch { get; set; } - //public DataKeyValue wetMixingA_6_mixStep { get; set; } - //public DataKeyValue wetMixingA_6_actCode { get; set; } - //public DataKeyValue wetMixingA_6_mixTime { get; set; } - //public DataKeyValue wetMixingA_6_mixTemp { get; set; } - //public DataKeyValue wetMixingA_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_6_actWeight { get; set; } - //public DataKeyValue wetMixingA_6_actTolerence { get; set; } - //public DataKeyValue wetMixingA_7_eqNo { get; set; } - //public DataKeyValue wetMixingA_7_mixBatch { get; set; } - //public DataKeyValue wetMixingA_7_mixStep { get; set; } - //public DataKeyValue wetMixingA_7_actCode { get; set; } - //public DataKeyValue wetMixingA_7_mixTime { get; set; } - //public DataKeyValue wetMixingA_7_mixTemp { get; set; } - //public DataKeyValue wetMixingA_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_7_actWeight { get; set; } - //public DataKeyValue wetMixingA_7_actTolerence { get; set; } - //public DataKeyValue wetMixingA_8_eqNo { get; set; } - //public DataKeyValue wetMixingA_8_mixBatch { get; set; } - //public DataKeyValue wetMixingA_8_mixStep { get; set; } - //public DataKeyValue wetMixingA_8_actCode { get; set; } - //public DataKeyValue wetMixingA_8_mixTime { get; set; } - //public DataKeyValue wetMixingA_8_mixTemp { get; set; } - //public DataKeyValue wetMixingA_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_8_actWeight { get; set; } - //public DataKeyValue wetMixingA_8_actTolerence { get; set; } - //public DataKeyValue wetMixingA_9_eqNo { get; set; } - //public DataKeyValue wetMixingA_9_mixBatch { get; set; } - //public DataKeyValue wetMixingA_9_mixStep { get; set; } - //public DataKeyValue wetMixingA_9_actCode { get; set; } - //public DataKeyValue wetMixingA_9_mixTime { get; set; } - //public DataKeyValue wetMixingA_9_mixTemp { get; set; } - //public DataKeyValue wetMixingA_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingA_9_actWeight { get; set; } - //public DataKeyValue wetMixingA_9_actTolerence { get; set; } - //public DataKeyValue wetMixingB_0_eqNo { get; set; } - //public DataKeyValue wetMixingB_0_mixBatch { get; set; } - //public DataKeyValue wetMixingB_0_mixStep { get; set; } - //public DataKeyValue wetMixingB_0_actCode { get; set; } - //public DataKeyValue wetMixingB_0_mixTime { get; set; } - //public DataKeyValue wetMixingB_0_mixTemp { get; set; } - //public DataKeyValue wetMixingB_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_0_actWeight { get; set; } - //public DataKeyValue wetMixingB_0_actTolerence { get; set; } - //public DataKeyValue wetMixingB_1_eqNo { get; set; } - //public DataKeyValue wetMixingB_1_mixBatch { get; set; } - //public DataKeyValue wetMixingB_1_mixStep { get; set; } - //public DataKeyValue wetMixingB_1_actCode { get; set; } - //public DataKeyValue wetMixingB_1_mixTime { get; set; } - //public DataKeyValue wetMixingB_1_mixTemp { get; set; } - //public DataKeyValue wetMixingB_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_1_actWeight { get; set; } - //public DataKeyValue wetMixingB_1_actTolerence { get; set; } - //public DataKeyValue wetMixingB_2_eqNo { get; set; } - //public DataKeyValue wetMixingB_2_mixBatch { get; set; } - //public DataKeyValue wetMixingB_2_mixStep { get; set; } - //public DataKeyValue wetMixingB_2_actCode { get; set; } - //public DataKeyValue wetMixingB_2_mixTime { get; set; } - //public DataKeyValue wetMixingB_2_mixTemp { get; set; } - //public DataKeyValue wetMixingB_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_2_actWeight { get; set; } - //public DataKeyValue wetMixingB_2_actTolerence { get; set; } - //public DataKeyValue wetMixingB_3_eqNo { get; set; } - //public DataKeyValue wetMixingB_3_mixBatch { get; set; } - //public DataKeyValue wetMixingB_3_mixStep { get; set; } - //public DataKeyValue wetMixingB_3_actCode { get; set; } - //public DataKeyValue wetMixingB_3_mixTime { get; set; } - //public DataKeyValue wetMixingB_3_mixTemp { get; set; } - //public DataKeyValue wetMixingB_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_3_actWeight { get; set; } - //public DataKeyValue wetMixingB_3_actTolerence { get; set; } - //public DataKeyValue wetMixingB_4_eqNo { get; set; } - //public DataKeyValue wetMixingB_4_mixBatch { get; set; } - //public DataKeyValue wetMixingB_4_mixStep { get; set; } - //public DataKeyValue wetMixingB_4_actCode { get; set; } - //public DataKeyValue wetMixingB_4_mixTime { get; set; } - //public DataKeyValue wetMixingB_4_mixTemp { get; set; } - //public DataKeyValue wetMixingB_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_4_actWeight { get; set; } - //public DataKeyValue wetMixingB_4_actTolerence { get; set; } - //public DataKeyValue wetMixingB_5_eqNo { get; set; } - //public DataKeyValue wetMixingB_5_mixBatch { get; set; } - //public DataKeyValue wetMixingB_5_mixStep { get; set; } - //public DataKeyValue wetMixingB_5_actCode { get; set; } - //public DataKeyValue wetMixingB_5_mixTime { get; set; } - //public DataKeyValue wetMixingB_5_mixTemp { get; set; } - //public DataKeyValue wetMixingB_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_5_actWeight { get; set; } - //public DataKeyValue wetMixingB_5_actTolerence { get; set; } - //public DataKeyValue wetMixingB_6_eqNo { get; set; } - //public DataKeyValue wetMixingB_6_mixBatch { get; set; } - //public DataKeyValue wetMixingB_6_mixStep { get; set; } - //public DataKeyValue wetMixingB_6_actCode { get; set; } - //public DataKeyValue wetMixingB_6_mixTime { get; set; } - //public DataKeyValue wetMixingB_6_mixTemp { get; set; } - //public DataKeyValue wetMixingB_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_6_actWeight { get; set; } - //public DataKeyValue wetMixingB_6_actTolerence { get; set; } - //public DataKeyValue wetMixingB_7_eqNo { get; set; } - //public DataKeyValue wetMixingB_7_mixBatch { get; set; } - //public DataKeyValue wetMixingB_7_mixStep { get; set; } - //public DataKeyValue wetMixingB_7_actCode { get; set; } - //public DataKeyValue wetMixingB_7_mixTime { get; set; } - //public DataKeyValue wetMixingB_7_mixTemp { get; set; } - //public DataKeyValue wetMixingB_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_7_actWeight { get; set; } - //public DataKeyValue wetMixingB_7_actTolerence { get; set; } - //public DataKeyValue wetMixingB_8_eqNo { get; set; } - //public DataKeyValue wetMixingB_8_mixBatch { get; set; } - //public DataKeyValue wetMixingB_8_mixStep { get; set; } - //public DataKeyValue wetMixingB_8_actCode { get; set; } - //public DataKeyValue wetMixingB_8_mixTime { get; set; } - //public DataKeyValue wetMixingB_8_mixTemp { get; set; } - //public DataKeyValue wetMixingB_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_8_actWeight { get; set; } - //public DataKeyValue wetMixingB_8_actTolerence { get; set; } - //public DataKeyValue wetMixingB_9_eqNo { get; set; } - //public DataKeyValue wetMixingB_9_mixBatch { get; set; } - //public DataKeyValue wetMixingB_9_mixStep { get; set; } - //public DataKeyValue wetMixingB_9_actCode { get; set; } - //public DataKeyValue wetMixingB_9_mixTime { get; set; } - //public DataKeyValue wetMixingB_9_mixTemp { get; set; } - //public DataKeyValue wetMixingB_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingB_9_actWeight { get; set; } - //public DataKeyValue wetMixingB_9_actTolerence { get; set; } - //public DataKeyValue wetMixingC_0_eqNo { get; set; } - //public DataKeyValue wetMixingC_0_mixBatch { get; set; } - //public DataKeyValue wetMixingC_0_mixStep { get; set; } - //public DataKeyValue wetMixingC_0_actCode { get; set; } - //public DataKeyValue wetMixingC_0_mixTime { get; set; } - //public DataKeyValue wetMixingC_0_mixTemp { get; set; } - //public DataKeyValue wetMixingC_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_0_actWeight { get; set; } - //public DataKeyValue wetMixingC_0_actTolerence { get; set; } - //public DataKeyValue wetMixingC_1_eqNo { get; set; } - //public DataKeyValue wetMixingC_1_mixBatch { get; set; } - //public DataKeyValue wetMixingC_1_mixStep { get; set; } - //public DataKeyValue wetMixingC_1_actCode { get; set; } - //public DataKeyValue wetMixingC_1_mixTime { get; set; } - //public DataKeyValue wetMixingC_1_mixTemp { get; set; } - //public DataKeyValue wetMixingC_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_1_actWeight { get; set; } - //public DataKeyValue wetMixingC_1_actTolerence { get; set; } - //public DataKeyValue wetMixingC_2_eqNo { get; set; } - //public DataKeyValue wetMixingC_2_mixBatch { get; set; } - //public DataKeyValue wetMixingC_2_mixStep { get; set; } - //public DataKeyValue wetMixingC_2_actCode { get; set; } - //public DataKeyValue wetMixingC_2_mixTime { get; set; } - //public DataKeyValue wetMixingC_2_mixTemp { get; set; } - //public DataKeyValue wetMixingC_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_2_actWeight { get; set; } - //public DataKeyValue wetMixingC_2_actTolerence { get; set; } - //public DataKeyValue wetMixingC_3_eqNo { get; set; } - //public DataKeyValue wetMixingC_3_mixBatch { get; set; } - //public DataKeyValue wetMixingC_3_mixStep { get; set; } - //public DataKeyValue wetMixingC_3_actCode { get; set; } - //public DataKeyValue wetMixingC_3_mixTime { get; set; } - //public DataKeyValue wetMixingC_3_mixTemp { get; set; } - //public DataKeyValue wetMixingC_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_3_actWeight { get; set; } - //public DataKeyValue wetMixingC_3_actTolerence { get; set; } - //public DataKeyValue wetMixingC_4_eqNo { get; set; } - //public DataKeyValue wetMixingC_4_mixBatch { get; set; } - //public DataKeyValue wetMixingC_4_mixStep { get; set; } - //public DataKeyValue wetMixingC_4_actCode { get; set; } - //public DataKeyValue wetMixingC_4_mixTime { get; set; } - //public DataKeyValue wetMixingC_4_mixTemp { get; set; } - //public DataKeyValue wetMixingC_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_4_actWeight { get; set; } - //public DataKeyValue wetMixingC_4_actTolerence { get; set; } - //public DataKeyValue wetMixingC_5_eqNo { get; set; } - //public DataKeyValue wetMixingC_5_mixBatch { get; set; } - //public DataKeyValue wetMixingC_5_mixStep { get; set; } - //public DataKeyValue wetMixingC_5_actCode { get; set; } - //public DataKeyValue wetMixingC_5_mixTime { get; set; } - //public DataKeyValue wetMixingC_5_mixTemp { get; set; } - //public DataKeyValue wetMixingC_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_5_actWeight { get; set; } - //public DataKeyValue wetMixingC_5_actTolerence { get; set; } - //public DataKeyValue wetMixingC_6_eqNo { get; set; } - //public DataKeyValue wetMixingC_6_mixBatch { get; set; } - //public DataKeyValue wetMixingC_6_mixStep { get; set; } - //public DataKeyValue wetMixingC_6_actCode { get; set; } - //public DataKeyValue wetMixingC_6_mixTime { get; set; } - //public DataKeyValue wetMixingC_6_mixTemp { get; set; } - //public DataKeyValue wetMixingC_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_6_actWeight { get; set; } - //public DataKeyValue wetMixingC_6_actTolerence { get; set; } - //public DataKeyValue wetMixingC_7_eqNo { get; set; } - //public DataKeyValue wetMixingC_7_mixBatch { get; set; } - //public DataKeyValue wetMixingC_7_mixStep { get; set; } - //public DataKeyValue wetMixingC_7_actCode { get; set; } - //public DataKeyValue wetMixingC_7_mixTime { get; set; } - //public DataKeyValue wetMixingC_7_mixTemp { get; set; } - //public DataKeyValue wetMixingC_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_7_actWeight { get; set; } - //public DataKeyValue wetMixingC_7_actTolerence { get; set; } - //public DataKeyValue wetMixingC_8_eqNo { get; set; } - //public DataKeyValue wetMixingC_8_mixBatch { get; set; } - //public DataKeyValue wetMixingC_8_mixStep { get; set; } - //public DataKeyValue wetMixingC_8_actCode { get; set; } - //public DataKeyValue wetMixingC_8_mixTime { get; set; } - //public DataKeyValue wetMixingC_8_mixTemp { get; set; } - //public DataKeyValue wetMixingC_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_8_actWeight { get; set; } - //public DataKeyValue wetMixingC_8_actTolerence { get; set; } - //public DataKeyValue wetMixingC_9_eqNo { get; set; } - //public DataKeyValue wetMixingC_9_mixBatch { get; set; } - //public DataKeyValue wetMixingC_9_mixStep { get; set; } - //public DataKeyValue wetMixingC_9_actCode { get; set; } - //public DataKeyValue wetMixingC_9_mixTime { get; set; } - //public DataKeyValue wetMixingC_9_mixTemp { get; set; } - //public DataKeyValue wetMixingC_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingC_9_actWeight { get; set; } - //public DataKeyValue wetMixingC_9_actTolerence { get; set; } - //public DataKeyValue wetMixingD_0_eqNo { get; set; } - //public DataKeyValue wetMixingD_0_mixBatch { get; set; } - //public DataKeyValue wetMixingD_0_mixStep { get; set; } - //public DataKeyValue wetMixingD_0_actCode { get; set; } - //public DataKeyValue wetMixingD_0_mixTime { get; set; } - //public DataKeyValue wetMixingD_0_mixTemp { get; set; } - //public DataKeyValue wetMixingD_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_0_actWeight { get; set; } - //public DataKeyValue wetMixingD_0_actTolerence { get; set; } - //public DataKeyValue wetMixingD_1_eqNo { get; set; } - //public DataKeyValue wetMixingD_1_mixBatch { get; set; } - //public DataKeyValue wetMixingD_1_mixStep { get; set; } - //public DataKeyValue wetMixingD_1_actCode { get; set; } - //public DataKeyValue wetMixingD_1_mixTime { get; set; } - //public DataKeyValue wetMixingD_1_mixTemp { get; set; } - //public DataKeyValue wetMixingD_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_1_actWeight { get; set; } - //public DataKeyValue wetMixingD_1_actTolerence { get; set; } - //public DataKeyValue wetMixingD_2_eqNo { get; set; } - //public DataKeyValue wetMixingD_2_mixBatch { get; set; } - //public DataKeyValue wetMixingD_2_mixStep { get; set; } - //public DataKeyValue wetMixingD_2_actCode { get; set; } - //public DataKeyValue wetMixingD_2_mixTime { get; set; } - //public DataKeyValue wetMixingD_2_mixTemp { get; set; } - //public DataKeyValue wetMixingD_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_2_actWeight { get; set; } - //public DataKeyValue wetMixingD_2_actTolerence { get; set; } - //public DataKeyValue wetMixingD_3_eqNo { get; set; } - //public DataKeyValue wetMixingD_3_mixBatch { get; set; } - //public DataKeyValue wetMixingD_3_mixStep { get; set; } - //public DataKeyValue wetMixingD_3_actCode { get; set; } - //public DataKeyValue wetMixingD_3_mixTime { get; set; } - //public DataKeyValue wetMixingD_3_mixTemp { get; set; } - //public DataKeyValue wetMixingD_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_3_actWeight { get; set; } - //public DataKeyValue wetMixingD_3_actTolerence { get; set; } - //public DataKeyValue wetMixingD_4_eqNo { get; set; } - //public DataKeyValue wetMixingD_4_mixBatch { get; set; } - //public DataKeyValue wetMixingD_4_mixStep { get; set; } - //public DataKeyValue wetMixingD_4_actCode { get; set; } - //public DataKeyValue wetMixingD_4_mixTime { get; set; } - //public DataKeyValue wetMixingD_4_mixTemp { get; set; } - //public DataKeyValue wetMixingD_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_4_actWeight { get; set; } - //public DataKeyValue wetMixingD_4_actTolerence { get; set; } - //public DataKeyValue wetMixingD_5_eqNo { get; set; } - //public DataKeyValue wetMixingD_5_mixBatch { get; set; } - //public DataKeyValue wetMixingD_5_mixStep { get; set; } - //public DataKeyValue wetMixingD_5_actCode { get; set; } - //public DataKeyValue wetMixingD_5_mixTime { get; set; } - //public DataKeyValue wetMixingD_5_mixTemp { get; set; } - //public DataKeyValue wetMixingD_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_5_actWeight { get; set; } - //public DataKeyValue wetMixingD_5_actTolerence { get; set; } - //public DataKeyValue wetMixingD_6_eqNo { get; set; } - //public DataKeyValue wetMixingD_6_mixBatch { get; set; } - //public DataKeyValue wetMixingD_6_mixStep { get; set; } - //public DataKeyValue wetMixingD_6_actCode { get; set; } - //public DataKeyValue wetMixingD_6_mixTime { get; set; } - //public DataKeyValue wetMixingD_6_mixTemp { get; set; } - //public DataKeyValue wetMixingD_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_6_actWeight { get; set; } - //public DataKeyValue wetMixingD_6_actTolerence { get; set; } - //public DataKeyValue wetMixingD_7_eqNo { get; set; } - //public DataKeyValue wetMixingD_7_mixBatch { get; set; } - //public DataKeyValue wetMixingD_7_mixStep { get; set; } - //public DataKeyValue wetMixingD_7_actCode { get; set; } - //public DataKeyValue wetMixingD_7_mixTime { get; set; } - //public DataKeyValue wetMixingD_7_mixTemp { get; set; } - //public DataKeyValue wetMixingD_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_7_actWeight { get; set; } - //public DataKeyValue wetMixingD_7_actTolerence { get; set; } - //public DataKeyValue wetMixingD_8_eqNo { get; set; } - //public DataKeyValue wetMixingD_8_mixBatch { get; set; } - //public DataKeyValue wetMixingD_8_mixStep { get; set; } - //public DataKeyValue wetMixingD_8_actCode { get; set; } - //public DataKeyValue wetMixingD_8_mixTime { get; set; } - //public DataKeyValue wetMixingD_8_mixTemp { get; set; } - //public DataKeyValue wetMixingD_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_8_actWeight { get; set; } - //public DataKeyValue wetMixingD_8_actTolerence { get; set; } - //public DataKeyValue wetMixingD_9_eqNo { get; set; } - //public DataKeyValue wetMixingD_9_mixBatch { get; set; } - //public DataKeyValue wetMixingD_9_mixStep { get; set; } - //public DataKeyValue wetMixingD_9_actCode { get; set; } - //public DataKeyValue wetMixingD_9_mixTime { get; set; } - //public DataKeyValue wetMixingD_9_mixTemp { get; set; } - //public DataKeyValue wetMixingD_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingD_9_actWeight { get; set; } - //public DataKeyValue wetMixingD_9_actTolerence { get; set; } - //public DataKeyValue wetMixingE_0_eqNo { get; set; } - //public DataKeyValue wetMixingE_0_mixBatch { get; set; } - //public DataKeyValue wetMixingE_0_mixStep { get; set; } - //public DataKeyValue wetMixingE_0_actCode { get; set; } - //public DataKeyValue wetMixingE_0_mixTime { get; set; } - //public DataKeyValue wetMixingE_0_mixTemp { get; set; } - //public DataKeyValue wetMixingE_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_0_actWeight { get; set; } - //public DataKeyValue wetMixingE_0_actTolerence { get; set; } - //public DataKeyValue wetMixingE_1_eqNo { get; set; } - //public DataKeyValue wetMixingE_1_mixBatch { get; set; } - //public DataKeyValue wetMixingE_1_mixStep { get; set; } - //public DataKeyValue wetMixingE_1_actCode { get; set; } - //public DataKeyValue wetMixingE_1_mixTime { get; set; } - //public DataKeyValue wetMixingE_1_mixTemp { get; set; } - //public DataKeyValue wetMixingE_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_1_actWeight { get; set; } - //public DataKeyValue wetMixingE_1_actTolerence { get; set; } - //public DataKeyValue wetMixingE_2_eqNo { get; set; } - //public DataKeyValue wetMixingE_2_mixBatch { get; set; } - //public DataKeyValue wetMixingE_2_mixStep { get; set; } - //public DataKeyValue wetMixingE_2_actCode { get; set; } - //public DataKeyValue wetMixingE_2_mixTime { get; set; } - //public DataKeyValue wetMixingE_2_mixTemp { get; set; } - //public DataKeyValue wetMixingE_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_2_actWeight { get; set; } - //public DataKeyValue wetMixingE_2_actTolerence { get; set; } - //public DataKeyValue wetMixingE_3_eqNo { get; set; } - //public DataKeyValue wetMixingE_3_mixBatch { get; set; } - //public DataKeyValue wetMixingE_3_mixStep { get; set; } - //public DataKeyValue wetMixingE_3_actCode { get; set; } - //public DataKeyValue wetMixingE_3_mixTime { get; set; } - //public DataKeyValue wetMixingE_3_mixTemp { get; set; } - //public DataKeyValue wetMixingE_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_3_actWeight { get; set; } - //public DataKeyValue wetMixingE_3_actTolerence { get; set; } - //public DataKeyValue wetMixingE_4_eqNo { get; set; } - //public DataKeyValue wetMixingE_4_mixBatch { get; set; } - //public DataKeyValue wetMixingE_4_mixStep { get; set; } - //public DataKeyValue wetMixingE_4_actCode { get; set; } - //public DataKeyValue wetMixingE_4_mixTime { get; set; } - //public DataKeyValue wetMixingE_4_mixTemp { get; set; } - //public DataKeyValue wetMixingE_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_4_actWeight { get; set; } - //public DataKeyValue wetMixingE_4_actTolerence { get; set; } - //public DataKeyValue wetMixingE_5_eqNo { get; set; } - //public DataKeyValue wetMixingE_5_mixBatch { get; set; } - //public DataKeyValue wetMixingE_5_mixStep { get; set; } - //public DataKeyValue wetMixingE_5_actCode { get; set; } - //public DataKeyValue wetMixingE_5_mixTime { get; set; } - //public DataKeyValue wetMixingE_5_mixTemp { get; set; } - //public DataKeyValue wetMixingE_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_5_actWeight { get; set; } - //public DataKeyValue wetMixingE_5_actTolerence { get; set; } - //public DataKeyValue wetMixingE_6_eqNo { get; set; } - //public DataKeyValue wetMixingE_6_mixBatch { get; set; } - //public DataKeyValue wetMixingE_6_mixStep { get; set; } - //public DataKeyValue wetMixingE_6_actCode { get; set; } - //public DataKeyValue wetMixingE_6_mixTime { get; set; } - //public DataKeyValue wetMixingE_6_mixTemp { get; set; } - //public DataKeyValue wetMixingE_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_6_actWeight { get; set; } - //public DataKeyValue wetMixingE_6_actTolerence { get; set; } - //public DataKeyValue wetMixingE_7_eqNo { get; set; } - //public DataKeyValue wetMixingE_7_mixBatch { get; set; } - //public DataKeyValue wetMixingE_7_mixStep { get; set; } - //public DataKeyValue wetMixingE_7_actCode { get; set; } - //public DataKeyValue wetMixingE_7_mixTime { get; set; } - //public DataKeyValue wetMixingE_7_mixTemp { get; set; } - //public DataKeyValue wetMixingE_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_7_actWeight { get; set; } - //public DataKeyValue wetMixingE_7_actTolerence { get; set; } - //public DataKeyValue wetMixingE_8_eqNo { get; set; } - //public DataKeyValue wetMixingE_8_mixBatch { get; set; } - //public DataKeyValue wetMixingE_8_mixStep { get; set; } - //public DataKeyValue wetMixingE_8_actCode { get; set; } - //public DataKeyValue wetMixingE_8_mixTime { get; set; } - //public DataKeyValue wetMixingE_8_mixTemp { get; set; } - //public DataKeyValue wetMixingE_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_8_actWeight { get; set; } - //public DataKeyValue wetMixingE_8_actTolerence { get; set; } - //public DataKeyValue wetMixingE_9_eqNo { get; set; } - //public DataKeyValue wetMixingE_9_mixBatch { get; set; } - //public DataKeyValue wetMixingE_9_mixStep { get; set; } - //public DataKeyValue wetMixingE_9_actCode { get; set; } - //public DataKeyValue wetMixingE_9_mixTime { get; set; } - //public DataKeyValue wetMixingE_9_mixTemp { get; set; } - //public DataKeyValue wetMixingE_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingE_9_actWeight { get; set; } - //public DataKeyValue wetMixingE_9_actTolerence { get; set; } - //public DataKeyValue wetMixingF_0_eqNo { get; set; } - //public DataKeyValue wetMixingF_0_mixBatch { get; set; } - //public DataKeyValue wetMixingF_0_mixStep { get; set; } - //public DataKeyValue wetMixingF_0_actCode { get; set; } - //public DataKeyValue wetMixingF_0_mixTime { get; set; } - //public DataKeyValue wetMixingF_0_mixTemp { get; set; } - //public DataKeyValue wetMixingF_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_0_actWeight { get; set; } - //public DataKeyValue wetMixingF_0_actTolerence { get; set; } - //public DataKeyValue wetMixingF_1_eqNo { get; set; } - //public DataKeyValue wetMixingF_1_mixBatch { get; set; } - //public DataKeyValue wetMixingF_1_mixStep { get; set; } - //public DataKeyValue wetMixingF_1_actCode { get; set; } - //public DataKeyValue wetMixingF_1_mixTime { get; set; } - //public DataKeyValue wetMixingF_1_mixTemp { get; set; } - //public DataKeyValue wetMixingF_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_1_actWeight { get; set; } - //public DataKeyValue wetMixingF_1_actTolerence { get; set; } - //public DataKeyValue wetMixingF_2_eqNo { get; set; } - //public DataKeyValue wetMixingF_2_mixBatch { get; set; } - //public DataKeyValue wetMixingF_2_mixStep { get; set; } - //public DataKeyValue wetMixingF_2_actCode { get; set; } - //public DataKeyValue wetMixingF_2_mixTime { get; set; } - //public DataKeyValue wetMixingF_2_mixTemp { get; set; } - //public DataKeyValue wetMixingF_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_2_actWeight { get; set; } - //public DataKeyValue wetMixingF_2_actTolerence { get; set; } - //public DataKeyValue wetMixingF_3_eqNo { get; set; } - //public DataKeyValue wetMixingF_3_mixBatch { get; set; } - //public DataKeyValue wetMixingF_3_mixStep { get; set; } - //public DataKeyValue wetMixingF_3_actCode { get; set; } - //public DataKeyValue wetMixingF_3_mixTime { get; set; } - //public DataKeyValue wetMixingF_3_mixTemp { get; set; } - //public DataKeyValue wetMixingF_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_3_actWeight { get; set; } - //public DataKeyValue wetMixingF_3_actTolerence { get; set; } - //public DataKeyValue wetMixingF_4_eqNo { get; set; } - //public DataKeyValue wetMixingF_4_mixBatch { get; set; } - //public DataKeyValue wetMixingF_4_mixStep { get; set; } - //public DataKeyValue wetMixingF_4_actCode { get; set; } - //public DataKeyValue wetMixingF_4_mixTime { get; set; } - //public DataKeyValue wetMixingF_4_mixTemp { get; set; } - //public DataKeyValue wetMixingF_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_4_actWeight { get; set; } - //public DataKeyValue wetMixingF_4_actTolerence { get; set; } - //public DataKeyValue wetMixingF_5_eqNo { get; set; } - //public DataKeyValue wetMixingF_5_mixBatch { get; set; } - //public DataKeyValue wetMixingF_5_mixStep { get; set; } - //public DataKeyValue wetMixingF_5_actCode { get; set; } - //public DataKeyValue wetMixingF_5_mixTime { get; set; } - //public DataKeyValue wetMixingF_5_mixTemp { get; set; } - //public DataKeyValue wetMixingF_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_5_actWeight { get; set; } - //public DataKeyValue wetMixingF_5_actTolerence { get; set; } - //public DataKeyValue wetMixingF_6_eqNo { get; set; } - //public DataKeyValue wetMixingF_6_mixBatch { get; set; } - //public DataKeyValue wetMixingF_6_mixStep { get; set; } - //public DataKeyValue wetMixingF_6_actCode { get; set; } - //public DataKeyValue wetMixingF_6_mixTime { get; set; } - //public DataKeyValue wetMixingF_6_mixTemp { get; set; } - //public DataKeyValue wetMixingF_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_6_actWeight { get; set; } - //public DataKeyValue wetMixingF_6_actTolerence { get; set; } - //public DataKeyValue wetMixingF_7_eqNo { get; set; } - //public DataKeyValue wetMixingF_7_mixBatch { get; set; } - //public DataKeyValue wetMixingF_7_mixStep { get; set; } - //public DataKeyValue wetMixingF_7_actCode { get; set; } - //public DataKeyValue wetMixingF_7_mixTime { get; set; } - //public DataKeyValue wetMixingF_7_mixTemp { get; set; } - //public DataKeyValue wetMixingF_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_7_actWeight { get; set; } - //public DataKeyValue wetMixingF_7_actTolerence { get; set; } - //public DataKeyValue wetMixingF_8_eqNo { get; set; } - //public DataKeyValue wetMixingF_8_mixBatch { get; set; } - //public DataKeyValue wetMixingF_8_mixStep { get; set; } - //public DataKeyValue wetMixingF_8_actCode { get; set; } - //public DataKeyValue wetMixingF_8_mixTime { get; set; } - //public DataKeyValue wetMixingF_8_mixTemp { get; set; } - //public DataKeyValue wetMixingF_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_8_actWeight { get; set; } - //public DataKeyValue wetMixingF_8_actTolerence { get; set; } - //public DataKeyValue wetMixingF_9_eqNo { get; set; } - //public DataKeyValue wetMixingF_9_mixBatch { get; set; } - //public DataKeyValue wetMixingF_9_mixStep { get; set; } - //public DataKeyValue wetMixingF_9_actCode { get; set; } - //public DataKeyValue wetMixingF_9_mixTime { get; set; } - //public DataKeyValue wetMixingF_9_mixTemp { get; set; } - //public DataKeyValue wetMixingF_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingF_9_actWeight { get; set; } - //public DataKeyValue wetMixingF_9_actTolerence { get; set; } - //public DataKeyValue wetMixingG_0_eqNo { get; set; } - //public DataKeyValue wetMixingG_0_mixBatch { get; set; } - //public DataKeyValue wetMixingG_0_mixStep { get; set; } - //public DataKeyValue wetMixingG_0_actCode { get; set; } - //public DataKeyValue wetMixingG_0_mixTime { get; set; } - //public DataKeyValue wetMixingG_0_mixTemp { get; set; } - //public DataKeyValue wetMixingG_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_0_actWeight { get; set; } - //public DataKeyValue wetMixingG_0_actTolerence { get; set; } - //public DataKeyValue wetMixingG_1_eqNo { get; set; } - //public DataKeyValue wetMixingG_1_mixBatch { get; set; } - //public DataKeyValue wetMixingG_1_mixStep { get; set; } - //public DataKeyValue wetMixingG_1_actCode { get; set; } - //public DataKeyValue wetMixingG_1_mixTime { get; set; } - //public DataKeyValue wetMixingG_1_mixTemp { get; set; } - //public DataKeyValue wetMixingG_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_1_actWeight { get; set; } - //public DataKeyValue wetMixingG_1_actTolerence { get; set; } - //public DataKeyValue wetMixingG_2_eqNo { get; set; } - //public DataKeyValue wetMixingG_2_mixBatch { get; set; } - //public DataKeyValue wetMixingG_2_mixStep { get; set; } - //public DataKeyValue wetMixingG_2_actCode { get; set; } - //public DataKeyValue wetMixingG_2_mixTime { get; set; } - //public DataKeyValue wetMixingG_2_mixTemp { get; set; } - //public DataKeyValue wetMixingG_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_2_actWeight { get; set; } - //public DataKeyValue wetMixingG_2_actTolerence { get; set; } - //public DataKeyValue wetMixingG_3_eqNo { get; set; } - //public DataKeyValue wetMixingG_3_mixBatch { get; set; } - //public DataKeyValue wetMixingG_3_mixStep { get; set; } - //public DataKeyValue wetMixingG_3_actCode { get; set; } - //public DataKeyValue wetMixingG_3_mixTime { get; set; } - //public DataKeyValue wetMixingG_3_mixTemp { get; set; } - //public DataKeyValue wetMixingG_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_3_actWeight { get; set; } - //public DataKeyValue wetMixingG_3_actTolerence { get; set; } - //public DataKeyValue wetMixingG_4_eqNo { get; set; } - //public DataKeyValue wetMixingG_4_mixBatch { get; set; } - //public DataKeyValue wetMixingG_4_mixStep { get; set; } - //public DataKeyValue wetMixingG_4_actCode { get; set; } - //public DataKeyValue wetMixingG_4_mixTime { get; set; } - //public DataKeyValue wetMixingG_4_mixTemp { get; set; } - //public DataKeyValue wetMixingG_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_4_actWeight { get; set; } - //public DataKeyValue wetMixingG_4_actTolerence { get; set; } - //public DataKeyValue wetMixingG_5_eqNo { get; set; } - //public DataKeyValue wetMixingG_5_mixBatch { get; set; } - //public DataKeyValue wetMixingG_5_mixStep { get; set; } - //public DataKeyValue wetMixingG_5_actCode { get; set; } - //public DataKeyValue wetMixingG_5_mixTime { get; set; } - //public DataKeyValue wetMixingG_5_mixTemp { get; set; } - //public DataKeyValue wetMixingG_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_5_actWeight { get; set; } - //public DataKeyValue wetMixingG_5_actTolerence { get; set; } - //public DataKeyValue wetMixingG_6_eqNo { get; set; } - //public DataKeyValue wetMixingG_6_mixBatch { get; set; } - //public DataKeyValue wetMixingG_6_mixStep { get; set; } - //public DataKeyValue wetMixingG_6_actCode { get; set; } - //public DataKeyValue wetMixingG_6_mixTime { get; set; } - //public DataKeyValue wetMixingG_6_mixTemp { get; set; } - //public DataKeyValue wetMixingG_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_6_actWeight { get; set; } - //public DataKeyValue wetMixingG_6_actTolerence { get; set; } - //public DataKeyValue wetMixingG_7_eqNo { get; set; } - //public DataKeyValue wetMixingG_7_mixBatch { get; set; } - //public DataKeyValue wetMixingG_7_mixStep { get; set; } - //public DataKeyValue wetMixingG_7_actCode { get; set; } - //public DataKeyValue wetMixingG_7_mixTime { get; set; } - //public DataKeyValue wetMixingG_7_mixTemp { get; set; } - //public DataKeyValue wetMixingG_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_7_actWeight { get; set; } - //public DataKeyValue wetMixingG_7_actTolerence { get; set; } - //public DataKeyValue wetMixingG_8_eqNo { get; set; } - //public DataKeyValue wetMixingG_8_mixBatch { get; set; } - //public DataKeyValue wetMixingG_8_mixStep { get; set; } - //public DataKeyValue wetMixingG_8_actCode { get; set; } - //public DataKeyValue wetMixingG_8_mixTime { get; set; } - //public DataKeyValue wetMixingG_8_mixTemp { get; set; } - //public DataKeyValue wetMixingG_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_8_actWeight { get; set; } - //public DataKeyValue wetMixingG_8_actTolerence { get; set; } - //public DataKeyValue wetMixingG_9_eqNo { get; set; } - //public DataKeyValue wetMixingG_9_mixBatch { get; set; } - //public DataKeyValue wetMixingG_9_mixStep { get; set; } - //public DataKeyValue wetMixingG_9_actCode { get; set; } - //public DataKeyValue wetMixingG_9_mixTime { get; set; } - //public DataKeyValue wetMixingG_9_mixTemp { get; set; } - //public DataKeyValue wetMixingG_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingG_9_actWeight { get; set; } - //public DataKeyValue wetMixingG_9_actTolerence { get; set; } - //public DataKeyValue wetMixingH_0_eqNo { get; set; } - //public DataKeyValue wetMixingH_0_mixBatch { get; set; } - //public DataKeyValue wetMixingH_0_mixStep { get; set; } - //public DataKeyValue wetMixingH_0_actCode { get; set; } - //public DataKeyValue wetMixingH_0_mixTime { get; set; } - //public DataKeyValue wetMixingH_0_mixTemp { get; set; } - //public DataKeyValue wetMixingH_0_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_0_actWeight { get; set; } - //public DataKeyValue wetMixingH_0_actTolerence { get; set; } - //public DataKeyValue wetMixingH_1_eqNo { get; set; } - //public DataKeyValue wetMixingH_1_mixBatch { get; set; } - //public DataKeyValue wetMixingH_1_mixStep { get; set; } - //public DataKeyValue wetMixingH_1_actCode { get; set; } - //public DataKeyValue wetMixingH_1_mixTime { get; set; } - //public DataKeyValue wetMixingH_1_mixTemp { get; set; } - //public DataKeyValue wetMixingH_1_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_1_actWeight { get; set; } - //public DataKeyValue wetMixingH_1_actTolerence { get; set; } - //public DataKeyValue wetMixingH_2_eqNo { get; set; } - //public DataKeyValue wetMixingH_2_mixBatch { get; set; } - //public DataKeyValue wetMixingH_2_mixStep { get; set; } - //public DataKeyValue wetMixingH_2_actCode { get; set; } - //public DataKeyValue wetMixingH_2_mixTime { get; set; } - //public DataKeyValue wetMixingH_2_mixTemp { get; set; } - //public DataKeyValue wetMixingH_2_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_2_actWeight { get; set; } - //public DataKeyValue wetMixingH_2_actTolerence { get; set; } - //public DataKeyValue wetMixingH_3_eqNo { get; set; } - //public DataKeyValue wetMixingH_3_mixBatch { get; set; } - //public DataKeyValue wetMixingH_3_mixStep { get; set; } - //public DataKeyValue wetMixingH_3_actCode { get; set; } - //public DataKeyValue wetMixingH_3_mixTime { get; set; } - //public DataKeyValue wetMixingH_3_mixTemp { get; set; } - //public DataKeyValue wetMixingH_3_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_3_actWeight { get; set; } - //public DataKeyValue wetMixingH_3_actTolerence { get; set; } - //public DataKeyValue wetMixingH_4_eqNo { get; set; } - //public DataKeyValue wetMixingH_4_mixBatch { get; set; } - //public DataKeyValue wetMixingH_4_mixStep { get; set; } - //public DataKeyValue wetMixingH_4_actCode { get; set; } - //public DataKeyValue wetMixingH_4_mixTime { get; set; } - //public DataKeyValue wetMixingH_4_mixTemp { get; set; } - //public DataKeyValue wetMixingH_4_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_4_actWeight { get; set; } - //public DataKeyValue wetMixingH_4_actTolerence { get; set; } - //public DataKeyValue wetMixingH_5_eqNo { get; set; } - //public DataKeyValue wetMixingH_5_mixBatch { get; set; } - //public DataKeyValue wetMixingH_5_mixStep { get; set; } - //public DataKeyValue wetMixingH_5_actCode { get; set; } - //public DataKeyValue wetMixingH_5_mixTime { get; set; } - //public DataKeyValue wetMixingH_5_mixTemp { get; set; } - //public DataKeyValue wetMixingH_5_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_5_actWeight { get; set; } - //public DataKeyValue wetMixingH_5_actTolerence { get; set; } - //public DataKeyValue wetMixingH_6_eqNo { get; set; } - //public DataKeyValue wetMixingH_6_mixBatch { get; set; } - //public DataKeyValue wetMixingH_6_mixStep { get; set; } - //public DataKeyValue wetMixingH_6_actCode { get; set; } - //public DataKeyValue wetMixingH_6_mixTime { get; set; } - //public DataKeyValue wetMixingH_6_mixTemp { get; set; } - //public DataKeyValue wetMixingH_6_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_6_actWeight { get; set; } - //public DataKeyValue wetMixingH_6_actTolerence { get; set; } - //public DataKeyValue wetMixingH_7_eqNo { get; set; } - //public DataKeyValue wetMixingH_7_mixBatch { get; set; } - //public DataKeyValue wetMixingH_7_mixStep { get; set; } - //public DataKeyValue wetMixingH_7_actCode { get; set; } - //public DataKeyValue wetMixingH_7_mixTime { get; set; } - //public DataKeyValue wetMixingH_7_mixTemp { get; set; } - //public DataKeyValue wetMixingH_7_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_7_actWeight { get; set; } - //public DataKeyValue wetMixingH_7_actTolerence { get; set; } - //public DataKeyValue wetMixingH_8_eqNo { get; set; } - //public DataKeyValue wetMixingH_8_mixBatch { get; set; } - //public DataKeyValue wetMixingH_8_mixStep { get; set; } - //public DataKeyValue wetMixingH_8_actCode { get; set; } - //public DataKeyValue wetMixingH_8_mixTime { get; set; } - //public DataKeyValue wetMixingH_8_mixTemp { get; set; } - //public DataKeyValue wetMixingH_8_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_8_actWeight { get; set; } - //public DataKeyValue wetMixingH_8_actTolerence { get; set; } - //public DataKeyValue wetMixingH_9_eqNo { get; set; } - //public DataKeyValue wetMixingH_9_mixBatch { get; set; } - //public DataKeyValue wetMixingH_9_mixStep { get; set; } - //public DataKeyValue wetMixingH_9_actCode { get; set; } - //public DataKeyValue wetMixingH_9_mixTime { get; set; } - //public DataKeyValue wetMixingH_9_mixTemp { get; set; } - //public DataKeyValue wetMixingH_9_mixSpeed { get; set; } - //public DataKeyValue wetMixingH_9_actWeight { get; set; } - //public DataKeyValue wetMixingH_9_actTolerence { get; set; } - #endregion + } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcPlanHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcPlanHelper.cs index 2ef836e..a6fcdc9 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcPlanHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcPlanHelper.cs @@ -1,15 +1,5 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Windows.Forms; -using ICSharpCode.Core; -using System.Data; -using Mesnac.Action.ChemicalWeighing.Entity; -using System.Threading; -using System.Configuration; -using Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe.entity; + namespace Mesnac.Action.ChemicalWeighing.ChemicalWeighingPlc { @@ -18,1880 +8,50 @@ namespace Mesnac.Action.ChemicalWeighing.ChemicalWeighingPlc /// public class PlcPlanHelper { - #region 事件定义 - - public static object sender = null; - public static event EventHandler OnUpdatePlanStateFromPlc; - public static event EventHandler AutoDownloadPlan; - public static event EventHandler OnAutoAddPlan; - public static event EventHandler OnChangePlan; - - #region 冠合修改 - public static event EventHandler GHAutoDownloadPlan; - #endregion - - #endregion - - #region 字段定义 - - private static string originalMixPlcPlanTableName = String.Empty; - private static string originalMillPlcPlanTableName = String.Empty; - - #endregion - - - - #region 下传计划列表至PLC - - /// - /// 下传计划列表至PLC - /// - /// 输出消息列表 - /// 成功返回true,失败返回false - public static bool DownloadPlanData(List msgList) - { - bool result = true; - List list = null; - //if (Global.PublicVar.Instance.ChemicalWeighingPlcOnlineFlag) //|| Global.PublicVar.Instance.IsLocalTest) - if (true) - { - if (result) - { - if (list == null) - { - list = Product.PptPlan.PlanHelper.GetUnExePlanEntityList(1); - } - result = DownloadPlanDataToChe(list, msgList); - } - } - - return result; - } - - /// - /// 下传计划列表至PLC(自动) - /// - /// 输出消息列表 - /// 成功返回true,失败返回false - public static bool AutoDownloadPlanData(List msgList) - { - bool result = true; - List list = null; - - #region 读取应答信号 - - if (!(BasePlcHelper.Instance.ChemicalWeighing_PLC_LoadingStatus.NowValue.ToInt() == 1 && BasePlcHelper.Instance.ChemicalWeighing_PC_LoadingStatus.NowValue.ToInt() == 0)) - { - return false; - } - - #endregion - - if (result) - { - if (list == null) - { - list = Product.PptPlan.PlanHelper.GetUnExePlanEntityList(1); - } - result = DownloadPlanDataToChe(list, msgList); - } - - return result; - } - - #region 下传计划列表至小料PLC - - /// - /// 下传计划列表至小料PLC - /// - /// 计划列表 - /// 输出的消息列表 - /// 成功返回true,失败返回flase - public static bool DownloadPlanDataToChe(List list, List msgList) - { - try - { - #region 定义变量 - - //int cnt = 0; //循环计数 - string msg = String.Empty; - List writeDataList = new List(); - PropertyInfo[] ps = typeof(RT_Plan).GetProperties(); - PropertyInfo[] psMaterial = typeof(Pmt_weigh).GetProperties(); - List listMaterial = new List(); //计划对应的配方对应的物料列表 - Pmt_recipe currentPmtRecipe = new Pmt_recipe(); //当前配方 - RT_Plan nextRTPlan = null; //下一条计划 - Pmt_recipe nextPmtRecipe = null; //当前配方 - bool planDownFlag = false; - - if (msgList == null) - { - msgList = new List(); - } - - #endregion - - #region 验证处理-配置 - - if (list == null || list.Count == 0) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg40")); //小料-计划信息下传PLC失败:无可下传计划! - msgList.Add(msg); - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("PlanRecipeData"); //配方头数据 - if (writerList == null || writerList.Count == 0) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg10")); //小料-计划信息下传PLC失败:在PlcSchema.xml中没有RT_Plan配置节! - msgList.Add(msg); - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - List writerList1 = PlcSchemaHelper.Instance.GetMaterialPlcWriter("PlanMaterialData"); //物料数据 - if (writerList == null || writerList.Count == 0) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg10")); //小料-计划信息下传PLC失败:在PlcSchema.xml中没有RT_Plan配置节! - msgList.Add(msg); - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - writerList = writerList.Concat(writerList1).ToList(); - - #endregion - - #region 验证处理-数据 - - if (list == null || list.Count == 0) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg15")); //小料-计划信息下传PLC失败:当班计划列表为空! - msgList.Add(msg); - return false; - } - else - { - #region 根据配方recipeID获取物料信息 - - string recipeID = list[0].Recipe_ID; - listMaterial = Product.PptPlan.PlanHelper.GetPmt_weighList(recipeID); - if(listMaterial != null) - { - Global.PublicVar.Instance.currentListPmt_weigh = listMaterial; - } - - #endregion - - #region 根据配方recipeID获取配方信息 - - currentPmtRecipe = Technical.PmtRecipe.RecipeHelper.GetRecipeEntityByGUID(recipeID); - - #endregion - - #region 获取下一配方信息 - - nextRTPlan = Product.PptPlan.PlanHelper.GetNextPlan((int)list[0].Plan_Serial); - if(nextRTPlan != null){ - nextPmtRecipe = Technical.PmtRecipe.RecipeHelper.GetRecipeEntityByGUID(nextRTPlan.Recipe_ID); - } - - #endregion - } - - #endregion - - #region 业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "Recipe_Data_Download_BaseInf" && writer.EquipRunName != "Hopper_Recipe_Detail_Inf") - { - continue; - } - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "Recipe_Data_Download_BaseInf") - { - Entity.RT_Plan entity = null; - - for (int i = 0; i < writer.ThisCount; i++) - { - if (list != null && i < list.Count) - { - entity = list[i]; - DateTime timeNow = DateTime.Now; - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - foreach (PropertyInfo pi in ps) - { - if (item.DataFieldName == pi.Name) - { - item.SetValue = pi.GetValue(entity, null); - break; - } - else if (item.EquipRunName == "DownLoad_H_Year") - { - item.SetValue = timeNow.Year; - break; - } - else if (item.EquipRunName == "DownLoad_H_Month") - { - item.SetValue = timeNow.Month; - break; - } - else if (item.EquipRunName == "DownLoad_H_Date") - { - item.SetValue = timeNow.Day; - break; - } - else if (item.EquipRunName == "DownLoad_H_Hour") - { - item.SetValue = timeNow.Hour; - break; - } - else if (item.EquipRunName == "DownLoad_H_Minute") - { - item.SetValue = timeNow.Minute; - break; - } - else if (item.EquipRunName == "DownLoad_H_Second") - { - item.SetValue = timeNow.Second; - break; - } - else if (item.EquipRunName == "DownLoad_MachineCode") - { - item.SetValue = "01"; - break; - } - else if (item.EquipRunName == "DownLoad_TotalSetWeight") - { - if (currentPmtRecipe != null && currentPmtRecipe.Total_Weight != null) - { - item.SetValue = Convert.ToInt32(currentPmtRecipe.Total_Weight * 1000); - } - break; - } - else if (item.EquipRunName == "DownLoad_TotalErrorWeight") - { - if (currentPmtRecipe != null && currentPmtRecipe.Total_Error != null) - { - item.SetValue = Convert.ToInt32(currentPmtRecipe.Total_Error * 1000); - } - break; - } - else if (item.EquipRunName == "DownLoad_1LOT") - { - if (currentPmtRecipe != null && currentPmtRecipe.GroupBags != null) - { - item.SetValue = (Int32)currentPmtRecipe.GroupBags; - } - break; - } - else if (item.EquipRunName == "DownLoad_NextPlanCode") - { - if (nextPmtRecipe != null && nextPmtRecipe.Recipe_Name != null) - { - item.SetValue = nextPmtRecipe.Recipe_Name; - } - break; - } - else if (item.EquipRunName == "DownLoad_NextTotalSetWeight") - { - if (nextPmtRecipe != null && nextPmtRecipe.Total_Weight != null) - { - item.SetValue = Convert.ToInt32(nextPmtRecipe.Total_Weight * 1000); - } - break; - } - else if (item.EquipRunName == "DownLoad_NextPlanNum") - { - if (nextRTPlan != null && nextRTPlan.Plan_Num != null) - { - item.SetValue = Convert.ToInt32(nextRTPlan.Plan_Num); - } - break; - } - else if (item.EquipRunName == "DownLoad_SeparateNum") - { - if (entity != null && entity.Plan_Num != null) - { - item.SetValue = entity.Plan_Num; //后期会有配置项进行设置 - } - break; - } - } - writeDataList.AddRange(item.WriteData()); - } - } - else - { - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - writeDataList.AddRange(item.WriteData()); - } - } - - } - } - - if (writer.EquipRunName == "Hopper_Recipe_Detail_Inf") - { - Pmt_weigh entity = null; - - for (int i = 0; i < writer.ThisCount; i++) - { - if (listMaterial != null && i < listMaterial.Count) - { - entity = listMaterial[i]; - DateTime timeNow = DateTime.Now; - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - foreach (PropertyInfo pi in psMaterial) - { - if (item.DataFieldName == pi.Name) - { - item.SetValue = pi.GetValue(entity, null); - if (item.DataFieldName == "Set_Weight" || item.DataFieldName == "Set_Error") - { - object temd = item.SetValue; - item.SetValue = Convert.ToDouble(temd) * 1000; - } - else if (item.DataFieldName == "Weight_Id") - { - object temd = item.SetValue; - item.SetValue = Convert.ToInt32(temd) - 1; - } - break; - } - else if (item.EquipRunName == "DownLoad_BinNo") - { - Pmt_Bin pmtBin = Product.PptPlan.PlanHelper.GetPmt_Bin(entity.Material_ID); - if (pmtBin != null && pmtBin.Bin_Serial != null) - { - item.SetValue = pmtBin.Bin_Serial; - } - else - { - item.SetValue = 100; //对应手动秤功能 - } - break; - } - } - writeDataList.AddRange(item.WriteData()); - } - } - else - { - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - writeDataList.AddRange(item.WriteData()); - } - } - - } - } - - #endregion - - #region 下传数据 - - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg50")); //小料-计划信息下传PLC[{0}]失败... - msg = String.Format(msg, writer.EquipRunName); - msgList.Add(msg); - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - planDownFlag = true; - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划信息下传完毕...", writer.EquipRunName)); - - #endregion - - } - - #endregion - - #region 交互逻辑 - - if (planDownFlag) - { - - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_LoadingStatus, new object[] { 1 }); - if (!result) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg20")); //小料-计划信息下传PLC:向PLC下传请求信号失败! - msgList.Add(msg); - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - #endregion - - #region 数据下传完成后,将该条计划的状态更改为已下传 - - Product.PptPlan.PlanHelper.UpdatePlanState(list[0].Plan_Id, 4); - planDownFlag = false; - - #endregion - - if (AutoDownloadPlan != null) - { - AutoDownloadPlan(sender, System.EventArgs.Empty); - } - } - - #endregion - - return true; - } - catch (Exception ex) - { - msgList.Add(ex.Message); - ICSharpCode.Core.LoggingService.Error(ex.Message, ex); - return false; - } - finally - { - #region 交互逻辑 - - if (Global.PublicVar.Instance.PlcDownloadMode == 1) - { - //#region 清除请求信号 - - //bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.Mix_SysAction_ExchPlanInfoRep_Req, new object[] { 0 }); - //if (!result) - //{ - // BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.Mix_SysAction_ExchPlanInfoRep_Req, new object[] { 0 }); - //} - - //#endregion - } - - #endregion - } - } - - #endregion - - #endregion - - - - #region 获取PLC计划列表中某条计划中允许修改的最小车数 - - /// - /// 获取上辅机PLC计划列表中某条计划中允许修改的最小车数 - /// - /// 要获取的允许最小车数的计划号 - /// 返回对应计划号的最小车数 - //public static int GetMixMinPlanNumFromPlc(string planID) - //{ - // DataTable dt = BasePlcHelper.Instance.Mix_PlanState_PlcPlanList.LastValue.ToObject() as DataTable; - // if (dt != null && dt.Rows.Count > 0) - // { - // foreach(DataRow dr in dt.Rows) - // { - // if (Mesnac.Basic.DataProcessor.RowValue(dr, "PlanID", String.Empty) == planID) - // { - // return Mesnac.Basic.DataProcessor.RowValue(dr, "NumModifyMin", 0); - // } - // } - // return 0; - // } - // else - // { - // return 0; - // } - //} - - #endregion - - #region 获取PLC计划列表中某条计划的计划数 - - /// - /// 获取PLC计划列表中某条计划的计划数 - /// - /// 计划编号 - /// 默认值 - /// 返回对应计划号的计划数 - //public static int GetMixPlanNumFromPlc(string planID, int defaultValue) - //{ - // DataTable dt = BasePlcHelper.Instance.Mix_PlanState_PlcPlanList.LastValue.ToObject() as DataTable; - // if (dt != null && dt.Rows.Count > 0) - // { - // foreach (DataRow dr in dt.Rows) - // { - // if (Mesnac.Basic.DataProcessor.RowValue(dr, "PlanID", String.Empty) == planID) - // { - // return Mesnac.Basic.DataProcessor.RowValue(dr, "PlanNum", defaultValue); - // } - // } - // return defaultValue; - // } - // else - // { - // return defaultValue; - // } - //} - - #endregion - - #region 把PLC的计划状态更新至数据库 + + #region 处理HMI的修改计划请求 /// - /// 把PLC的计划状态更新至数据库 + /// 处理HMI的修改计划请求 /// - public static void UpdatePlanStateFromPlc() + public static void ChangePlan() { try { bool flag = false; - #region 小料同步计划状态和完成数 - - if (BasePlcHelper.Instance.ChemicalWeighing_PLC_Plan_Status_ShakeHand.NowValue.ToInt() == 1 && BasePlcHelper.Instance.ChemicalWeighing_PLC_Plan_Status_FeedBack.NowValue.ToInt() == 0) - { - int planSerial = BasePlcHelper.Instance.ChemicalWeighing_Plan_Serial.NowValue.ToInt(); //计划序号 - int planState = BasePlcHelper.Instance.ChemicalWeighing_Plan_Status.NowValue.ToInt(); //计划状态 - int planNum = BasePlcHelper.Instance.ChemicalWeighing_Plan_Number.NowValue.ToInt(); //计划数量 - int planRestNum = BasePlcHelper.Instance.ChemicalWeighing_Remain_Number.NowValue.ToInt(); //剩余数量 - int planComNum = planNum - planRestNum; //完成数量 - - if (planState == (int)Entity.PlanState.Received) - { - Product.PptPlan.PlanHelper.UpdatePlanInfo(planSerial, planState, planNum, planComNum); - } - else if (planState == (int)Entity.PlanState.Completed) - { - Product.PptPlan.PlanHelper.UpdatePlanInfo(planSerial, planState, planNum, planComNum,DateTime.Now.ToString()); - } - else - { - return; - } - - flag = true; - - //PlanListReDown();20211205三元现场注释掉 - - #region 此处需要将RT_Plan中计划写入到LR_Plan中,同时向LR_Recipe中存储信息 - - RT_Plan rtPlan = Product.PptPlan.PlanHelper.GetPlanDataEntity(planSerial); - if (rtPlan != null) - { - LR_plan lrPlan = new LR_plan(); - Product.PptPlan.PlanHelper.EntityToEntity(rtPlan, lrPlan); - if (Product.PptPlan.PlanHelper.LRPlanExists(lrPlan.Plan_Id)) - { - //更新 - if (planState == (int)Entity.PlanState.Received) - { - Product.PptPlan.PlanHelper.LRUpdatePlanInfo(lrPlan.Plan_Id, planState, planNum, planComNum); - } - else if (planState == (int)Entity.PlanState.Completed) - { - Product.PptPlan.PlanHelper.LRUpdatePlanInfo(lrPlan.Plan_Id, planState, planNum, planComNum, DateTime.Now.ToString()); - - #region 执行删除计划操作 - - Product.PptPlan.PlanHelper.DeletePlan(rtPlan.Plan_Id); - - #endregion - } - } - else - { - //添加(LR_plan) - Product.PptPlan.PlanHelper.LRAddPlan(lrPlan); - - //添加(LR_recipe) - LR_recipe lrRecipe = new LR_recipe(); - lrRecipe.Plan_id = rtPlan.Plan_Id; - lrRecipe.Equip_Code = rtPlan.Equip_Code; - - string recipeID = rtPlan.Recipe_ID; - List listPmtWeigh = Product.PptPlan.PlanHelper.GetPmt_weighList(recipeID); - foreach (Pmt_weigh tempPW in listPmtWeigh) - { - lrRecipe.Weight_ID = tempPW.Weight_Id - 1; - lrRecipe.Set_Weight = (float)tempPW.Set_Weight; - lrRecipe.Set_Error = (float)tempPW.Set_Error; - lrRecipe.CPK_Error = (decimal)0; - - Base_MaterialInfo pmtMaterial = Product.PptPlan.PlanHelper.GetPmt_material(tempPW.Material_ID); - if (pmtMaterial != null) - { - lrRecipe.Material_Code = pmtMaterial.materialId; - lrRecipe.Material_Name = pmtMaterial.materialName; - lrRecipe.Batch_number = pmtMaterial.putTime.ToString(); - lrRecipe.remark = null; - Product.PptPlan.PlanHelper.AddLR_recipe(lrRecipe); - } - } - } - } - - #endregion - } - #endregion - - #region 触发事件 - - if (flag) - { - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PLC_Plan_Status_FeedBack, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg30")); //小料-计划信息下传PLC:向PLC下传计划状态请求信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - - #region 判断等待计划数和正在运行的计划数。如果两个都是0,清空RT_Plan表。 - - int waitPlanCount = Product.PptPlan.PlanHelper.GetUnExePlanNum(); - int runningPlanCount = Product.PptPlan.PlanHelper.GetRunningPlanNum(); - int downPlanCount = Product.PptPlan.PlanHelper.GetDownPlanNum(); - if (waitPlanCount == 0 && runningPlanCount == 0 && downPlanCount == 0) - { - Product.PptPlan.PlanHelper.ClearRT_Plan(); - } - - #endregion - - if (OnUpdatePlanStateFromPlc != null) - { - OnUpdatePlanStateFromPlc(sender, System.EventArgs.Empty); - } - } - - #endregion - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error("把PLC的计划状态更新至数据库异常:" + ex.Message, ex); - } - finally - { - Global.PublicVar.Instance.LocalPlanIsRefresh = false; - } - } - - #endregion - - #region 处理HMI的配方添加计划请求 - - /// - /// 处理HMI的配方添加计划请求 - /// - public static void AutoAddPlan() - { - try - { - bool flag = false; - - #region 读取并处理HMI的配方添加计划请求(添加计划) - - if (BasePlcHelper.Instance.ChemicalWeighing_HMI_Confirm_Recipe_ShakeHand.NowValue.ToInt() == 1 && (BasePlcHelper.Instance.ChemicalWeighing_HMI_Confirm_Recipe_FeedBack.NowValue.ToInt() <= 0 || BasePlcHelper.Instance.ChemicalWeighing_HMI_Confirm_Recipe_FeedBack.NowValue.ToInt() == 65535)) - { - #region 从PLC中获取要添加的计划信息 - - String sysMachine = BasePlcHelper.Instance.ChemicalWeighing_Sys_Machine1.NowValue.ToString(); //机台号 - String recipeName = BasePlcHelper.Instance.ChemicalWeighing_Plan_Code1.NowValue.ToString(); //配方名称 - int hmiPlanNum = BasePlcHelper.Instance.ChemicalWeighing_HMI_Plan_Num.NowValue.ToInt(); //设定数量 - - if (String.IsNullOrEmpty(sysMachine)) - { - sysMachine = "01"; - } - - #endregion - - #region 补全计划信息 - - DateTime planDate = DateTime.Now; //当前计划日期 - int shiftId = Technical.TechnicalHelper.GetCurrentShiftime(); //当前班次号 - - Base_RecipeInfo pmtRecipe = Technical.PmtRecipe.RecipeHelper.GetRecipeByName(recipeName); - string recipeId = null; - if (pmtRecipe != null && pmtRecipe.recipeId != null) - { - recipeId = pmtRecipe.recipeId; - } - else - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_6")); //HMI添加计划请求:没有找到相关配方的信息! - ICSharpCode.Core.LoggingService.Error(msg); - - #region 下传反馈失败的信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Confirm_Recipe_FeedBack, new object[] { 3 }); - if (!result) - { - string msg1 = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_7")); //HMI添加计划请求:没有找到相关配方的信息时,写反馈信号失败! - ICSharpCode.Core.LoggingService.Error(msg1); - } - - #endregion - - return; - } - - #endregion - - #region 执行添加计划操作 - - string planID = Product.PptPlan.PlanHelper.AddPlan(sysMachine, planDate, shiftId, recipeId, hmiPlanNum); - flag = true; - - #region 将等待计划数写入PLC - - //WaitPlanNumToPLC(); - - #endregion - - #endregion - - #region 触发事件 - - if (OnAutoAddPlan != null) - { - OnAutoAddPlan(sender, System.EventArgs.Empty); - } - - #endregion - - #region 记录日志 - - string logContent = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_1")); //计划编号:{0},HMI请求添加完毕! - logContent = String.Format(logContent, planID); - //base.DBLog(logContent); cfm20210729暂时注释 - - #endregion - - } - - #endregion - - #region HMI添加计划请求交互,并向PLC写入计划列表数据 - - if (flag) - { - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Confirm_Recipe_FeedBack, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_2")); //HMI添加计划请求成功后:向PLC下传反馈信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - #endregion - - #region 向PLC写入计划列表数据 - - #region 定义变量 - - List writeDataList = new List(); - PropertyInfo[] ps = typeof(RT_Plan).GetProperties(); - List rtPlanList = Product.PptPlan.PlanHelper.GetPlanEntityListByNum(5); - - #endregion - - #region 验证处理-配置 - - if (rtPlanList == null || rtPlanList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_3")); //HMI添加计划请求成功后:计划列表获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("PlanListData"); //计划列表数据 - if (writerList == null || writerList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_4")); //HMI添加计划请求成功后:计划列表写入数据结构获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - #region 业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "PlanList_Info") - { - continue; - } - - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "PlanList_Info") - { - Entity.RT_Plan entity = null; - - for (int i = 0; i < writer.ThisCount; i++) - { - if (rtPlanList != null && i < rtPlanList.Count) - { - entity = rtPlanList[i]; - DateTime timeNow = DateTime.Now; - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - foreach (PropertyInfo pi in ps) - { - if (item.DataFieldName == pi.Name) - { - item.SetValue = pi.GetValue(entity, null); - break; - } - else if (item.EquipRunName == "DownLoad_MachineCode") - { - item.SetValue = "01"; - break; - } - } - writeDataList.AddRange(item.WriteData()); - } - } - } - } - - if (writeDataList.Count < 200) - { - int fillNum = 200 - writeDataList.Count; - for (int i = 0; i < fillNum; i++) - { - writeDataList.AddRange(new short[] { 0 }); - } - } - - #endregion - - #region 下传数据 - - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_5")); //HMI添加计划请求成功后:计划列表写入PLC失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划列表信息下传完毕...", writer.EquipRunName)); - - #endregion - - } - - #endregion - - #endregion - } - - #endregion + } catch (Exception ex) { - ICSharpCode.Core.LoggingService.Error("把PLC的计划状态更新至数据库异常:" + ex.Message, ex); - } - finally - { - Global.PublicVar.Instance.LocalPlanIsRefresh = false; + ICSharpCode.Core.LoggingService.Error("从HMI修改计划异常:" + ex.Message, ex); } } #endregion - #region 处理HMI的修改计划请求 - - /// - /// 处理HMI的修改计划请求 - /// - public static void ChangePlan() - { - try - { - bool flag = false; - - #region 读取并处理HMI的配方添加计划请求(添加计划) - - if (BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_ShakeHand.NowValue.ToInt() == 1 && (BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack.NowValue.ToInt() <= 0 || BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack.NowValue.ToInt() == 65535)) - { - #region 从PLC中获取要添加的计划信息 - - int planCommand = BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_Command.NowValue.ToInt(); //命令 - String sysMachine = BasePlcHelper.Instance.ChemicalWeighing_Sys_Machine2.NowValue.ToString(); //机台号 - int[] planIdData; - BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.ChemicalWeighing_HMIChange_PlanId, out planIdData); - string planId = Mesnac.Basic.DataProcessor.ToString1(planIdData); //计划 - int ChangePlanNum = BasePlcHelper.Instance.ChemicalWeighing_HMIChange_PlanNum.NowValue.ToInt(); //设定数量 - - if (String.IsNullOrEmpty(sysMachine)) - { - sysMachine = "01"; - } - - #endregion - - #region 验证(PLC中读取过来的planid对应的数据库中的计划必须是存在的) - - RT_Plan currentRT_Plan = Product.PptPlan.PlanHelper.GetPlanDataEntity(planId); - - if (currentRT_Plan == null) - { - ChangePlanErrorReturn(); - return; - } - - #endregion - - #region 判断命令(0默认 1刷新 2上移 3下移 4修改车数 5删除计划)并执行操作 - - if (planCommand == 1) - { - //刷新事件,将最新的计划列表重写入PLC。 - - } - else if (planCommand == 2) - { - #region 获取交换位置对象并判断是否可以上移(条件:在该条计划前,是否有一条未运行中的计划)并执行上移 + - int swagPlanSerial = (int)currentRT_Plan.Plan_Serial - 1; - RT_Plan swagRtPLan = Product.PptPlan.PlanHelper.GetPlanBySerialUp(swagPlanSerial); - if (swagRtPLan == null) - { - ChangePlanErrorReturn(); - return; - } - else - { - currentRT_Plan.Plan_Serial = currentRT_Plan.Plan_Serial - 1; - swagRtPLan.Plan_Serial = swagRtPLan.Plan_Serial + 1; - Product.PptPlan.PlanHelper.UpdatePlanSerial(currentRT_Plan); - Product.PptPlan.PlanHelper.UpdatePlanSerial(swagRtPLan); + - #region 重新下传计划列表 + + + - flag = PlanListReDown(); + - #endregion - } - - #endregion - } - else if (planCommand == 3) - { - #region 获取交换位置对象并判断是否可以下移(条件:在该条计划后,是否有一条未运行中的计划)并执行下移 + - int swagPlanSerial = (int)currentRT_Plan.Plan_Serial + 1; - RT_Plan swagRtPLan = Product.PptPlan.PlanHelper.GetPlanBySerialDown(swagPlanSerial); - if (swagRtPLan == null) - { - ChangePlanErrorReturn(); - return; - } - else - { - currentRT_Plan.Plan_Serial = currentRT_Plan.Plan_Serial + 1; - swagRtPLan.Plan_Serial = swagRtPLan.Plan_Serial - 1; - Product.PptPlan.PlanHelper.UpdatePlanSerial(currentRT_Plan); - Product.PptPlan.PlanHelper.UpdatePlanSerial(swagRtPLan); + - #region 重新下传计划列表 - - flag = PlanListReDown(); - - #endregion - } - - #endregion - } - else if (planCommand == 4) - { - #region 执行修改计划操作 - - Product.PptPlan.PlanHelper.UpdatePlanNum(planId, ChangePlanNum); - - #endregion - - #region 重新下传计划列表 - - flag = PlanListReDown(); - - #endregion - } - else if (planCommand == 5) - { - #region 获取计划号对应的序号 - - int delSerial = (int)currentRT_Plan.Plan_Serial; - - #endregion - - #region 执行删除计划操作 - - Product.PptPlan.PlanHelper.DeletePlan(planId); - - #endregion - - #region 整理修改后续计划的序号(-1) - - List mRtPlan = Product.PptPlan.PlanHelper.GetPlanListAfterPlanSerial(delSerial); - if (mRtPlan != null && mRtPlan.Count > 0) - { - foreach (RT_Plan tempRT in mRtPlan) - { - tempRT.Plan_Serial = tempRT.Plan_Serial - 1; - Product.PptPlan.PlanHelper.UpdatePlanSerial(tempRT); - } - } - - #endregion - - #region 将等待计划数写入PLC - - //WaitPlanNumToPLC(); - - #endregion - - #region 重新下传计划列表 - - flag = PlanListReDown(); - - #endregion - } - else - { - //默认 - - } - - #endregion - - #region 触发事件 - - if (OnChangePlan != null) - { - OnChangePlan(sender, System.EventArgs.Empty); - } - - #endregion - } - - #endregion - - #region HMI修改计划请求交互 - - if (flag) - { - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ChangePlan_logContent_1")); //HMI修改计划请求成功后:向PLC下传反馈信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - } - - #endregion - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error("从HMI修改计划异常:" + ex.Message, ex); - } - } - - #endregion - - #region 修改计划出现异常反馈到PLC - public static void ChangePlanErrorReturn() - { - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack, new object[] { 3 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ChangePlan_logContent_2")); //HMI修改计划请求成功后:向PLC下传异常反馈信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - } - #endregion - - #region 执行完修改计划操作后重新向PLC写入计划列表数据 - public static bool PlanListReDown() - { - #region 定义变量 - - bool reFlag = false; - List writeDataList = new List(); - PropertyInfo[] ps = typeof(RT_Plan).GetProperties(); - List rtPlanList = Product.PptPlan.PlanHelper.GetPlanEntityListByNum(5); - - #endregion - - #region 验证处理-配置 - - if (rtPlanList == null || rtPlanList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_3")); //HMI添加计划请求成功后:计划列表获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("PlanListData"); //计划列表数据 - if (writerList == null || writerList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_4")); //HMI添加计划请求成功后:计划列表写入数据结构获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - #region 业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "PlanList_Info") - { - continue; - } - - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "PlanList_Info") - { - Entity.RT_Plan entity = null; - - for (int i = 0; i < writer.ThisCount; i++) - { - if (rtPlanList != null && i < rtPlanList.Count) - { - entity = rtPlanList[i]; - DateTime timeNow = DateTime.Now; - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - foreach (PropertyInfo pi in ps) - { - if (item.DataFieldName == pi.Name) - { - item.SetValue = pi.GetValue(entity, null); - break; - } - else if (item.EquipRunName == "DownLoad_MachineCode") - { - item.SetValue = "01"; - break; - } - } - writeDataList.AddRange(item.WriteData()); - } - } - } - } - - if (writeDataList.Count < 200) - { - int fillNum = 200 - writeDataList.Count; - for (int i = 0; i < fillNum; i++) - { - writeDataList.AddRange(new short[] { 0 }); - } - } - - #endregion - - #region 下传数据 - - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_5")); //HMI添加计划请求成功后:计划列表写入PLC失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - else - { - reFlag = true; - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划列表信息下传完毕...", writer.EquipRunName)); - - #endregion - - } - - #endregion - - return reFlag; - } - #endregion - - #region 待计划数写入PLC - - public static void WaitPlanNumToPLC() - { - try - { - int waitPlanNum = Product.PptPlan.PlanHelper.GetUnExePlanNum(); - - #region 向PLC写入等待计划数 - - object[] tempob = new object[1] { 0 }; - tempob[0] = waitPlanNum; - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Scheduled_Num, tempob); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_AutoAddPlan_logContent_8")); //向PLC写入等待计划数失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error("把等待计划数写入PLC异常:" + ex.Message, ex); - } - } - - #endregion - - #region 终止计划 - - /// - /// 终止计划方法 - /// - /// 要终止的计划序号 - /// 终止命令 - /// 要终止的计划数 - /// 要终止的计划剩余数 - /// 是否方法内显示消息窗口 - /// 输出的消息列表 - /// 成功返回true,失败返回false - public static bool ExecStop(int planSerial, int planCommand, int planNum, int unFinishedNum, bool isShowMsg, List msgList) - { - try - { - #region 1 定义变量 - - List writeDataList = new List(); - - #endregion - - #region 2 验证处理-配置 - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("PlanModifyData"); - if (writerList == null || writerList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecStop_logContent_1")); //终止计划数据结构获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - #endregion - - #region 3 业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "Plan_To_Plc") - { - continue; - } - - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "Plan_To_Plc") - { - for (int i = 0; i < writer.ThisCount; i++) - { - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; - if (item.EquipRunName == "DownLoad_PlanSerial") - { - item.SetValue = planSerial; - } - else if (item.EquipRunName == "DownLoad_PlanCommand") - { - item.SetValue = planCommand; - } - else if (item.EquipRunName == "DownLoad_PlanNum") - { - item.SetValue = planNum; - } - else if (item.EquipRunName == "DownLoad_RealNum") - { - item.SetValue = unFinishedNum; - } - writeDataList.AddRange(item.WriteData()); - } - } - } - - #endregion - - #region 下传数据 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_ShakeHand, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecStop_logContent_3")); //向PLC下传终止计划命令失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传终止计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecStop_logContent_2")); //终止计划写入PLC失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - bool result1 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_ShakeHand, new object[] { 2 }); - if (!result1) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecStop_logContent_4")); //向PLC下传终止计划命令及数据成功后,反馈失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - int readCount = 0; - while (readCount < 5) - { - if (BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_FeedBack.NowValue.ToInt() == 1) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_ShakeHand, new object[] { 0 }); - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_FeedBack, new object[] { 0 }); - break; - } - readCount++; - Thread.Sleep(200); - } - - } - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划列表信息下传完毕...", writer.EquipRunName)); - } - #endregion - } - - #endregion - - #region 4 关闭进度提示 - - Sys.FrmNotify.Instance.Value = 100; - Sys.FrmNotify.Instance.Destory(); - - #endregion - - return true; - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(ex.Message); - msgList.Add(ex.Message); - return false; - } - finally - { - Sys.FrmNotify.Instance.Destory(); - } - } - - #endregion - - #region 修改计划数 - - /// - /// 修改计划数方法 - /// - /// 要终止的计划编号 - /// 新的计划数 - /// 是否方法内显示消息窗口 - /// 输出的消息列表 - /// 成功返回true,失败返回false - public static bool ExecModifyPlanNum(int planSerial, int planCommand, int newPlanNum, int unFinishedNum, bool isShowMsg, List msgList) - { - try - { - #region 1 定义变量 - - List writeDataList = new List(); - - #endregion - - #region 2 验证处理-配置 - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("PlanModifyData"); - if (writerList == null || writerList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecModify_logContent_1")); //上位机修改计划数:数据结构获取失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - - #endregion - - #region 3 业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "Plan_To_Plc") - { - continue; - } - - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "Plan_To_Plc") - { - for (int i = 0; i < writer.ThisCount; i++) - { - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; - if (item.EquipRunName == "DownLoad_PlanSerial") - { - item.SetValue = planSerial; - } - else if (item.EquipRunName == "DownLoad_PlanCommand") - { - item.SetValue = planCommand; - } - else if (item.EquipRunName == "DownLoad_PlanNum") - { - item.SetValue = newPlanNum; - } - else if (item.EquipRunName == "DownLoad_RealNum") - { - item.SetValue = unFinishedNum; - } - writeDataList.AddRange(item.WriteData()); - } - } - } - - #endregion - - #region 下传数据 - - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传终止计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecModify_logContent_3")); //上位机修改计划数:写入PLC失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - bool result1 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_ShakeHand, new object[] { 2 }); - if (!result1) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Product_PptPlan_ExecModify_logContent_4")); //上位机修改计划数:向PLC下传修改计划数成功后,反馈失败! - ICSharpCode.Core.LoggingService.Error(msg); - return false; - } - else - { - int readCount = 0; - while (readCount < 5) - { - if (BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_FeedBack.NowValue.ToInt() == 1) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_ShakeHand, new object[] { 0 }); - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Plan_Status_Com_FeedBack, new object[] { 0 }); - break; - } - readCount++; - Thread.Sleep(200); - } - - } - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划列表信息下传完毕...", writer.EquipRunName)); - - #endregion - } - - #endregion - - #region 5 关闭进度提示 - - Sys.FrmNotify.Instance.Value = 100; - Sys.FrmNotify.Instance.Destory(); - - #endregion - - return true; - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(ex.Message); - msgList.Add(ex.Message); - return false; - } - finally - { - Sys.FrmNotify.Instance.Destory(); - } - } - - #endregion - - #region 条码命令处理下传 - - /// - /// 条码命令处理下传方法 - /// - /// 通过Socket取到的扫码枪条码字符串 - /// 成功返回true,失败返回false - public static bool ScanCodeDown(string codeStr) - { - try - { - #region 1 条码处理:取出查找物料等相关信息的字符串。 - - //string useStr = codeStr.Substring(Global.PublicVar.Instance.ScanCodeStrStart, Global.PublicVar.Instance.ScanCodeStrEnd); - string useStr = codeStr; - if (useStr == null || useStr == string.Empty || useStr == "") - { - bool resultHopper_No1 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Hopper_No_103, new object[] { 0 }); - bool resultScanCommand1 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_ScanCommand, new object[] { 0 }); - if (!resultHopper_No1 || !resultScanCommand1) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_ScanCodeDown_Error1")); //没有获取到条码中的有效信息。 - ICSharpCode.Core.LoggingService.Error(msg); - } - return false; - } - - #endregion - - #region 2 根据从条码中取出的物料名称获取物料代码 - - string meterialId = Product.PptPlan.PlanHelper.GetPmt_materialID(useStr); - if (meterialId == null || meterialId == string.Empty || meterialId == "") - { - bool resultHopper_No2 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Hopper_No_103, new object[] { 0 }); - bool resultScanCommand2 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_ScanCommand, new object[] { 0 }); - if (!resultHopper_No2 || !resultScanCommand2) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_ScanCodeDown_Error2")); //没有找到对应的物料代码。 - ICSharpCode.Core.LoggingService.Error(msg); - } - return false; - } - - #endregion - - #region 3 根据物料代码获取对应的料仓号 - - int binSerial = Product.PptPlan.PlanHelper.GetPmt_BinSerial(meterialId); - if (binSerial == 0) - { - bool resultHopper_No3 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Hopper_No_103, new object[] { 0 }); - bool resultScanCommand3 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_ScanCommand, new object[] { 0 }); - if (!resultHopper_No3 || !resultScanCommand3) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_ScanCodeDown_Error3")); //没有找到对应的料仓号。 - ICSharpCode.Core.LoggingService.Error(msg); - } - return false; - } - - #endregion - - #region 4 下传料仓号和命令(失败反馈) - - bool resultHopper_No4 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Hopper_No_103, new object[] { binSerial }); - bool resultScanCommand4 = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_ScanCommand, new object[] { 1 }); - bool resultFromPlc = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_Open_door_Command_ShakeHand, new object[] { 2 }); - - if (!resultHopper_No4 || !resultScanCommand4 || !resultFromPlc) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_ScanCodeDown_Error4")); //料仓号获取成功,下传时失败。 - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - #region 将扫码信息写入数据库报表 - - LR_BarcodeLog lR_BarcodeLog = new LR_BarcodeLog(); - lR_BarcodeLog.Equip_Code = ConfigurationManager.AppSettings["EquipCode"]; - lR_BarcodeLog.Scan_Time = DateTime.Now.ToString(); - lR_BarcodeLog.Scan_Bar = useStr; - lR_BarcodeLog.Material = Product.PptPlan.PlanHelper.GetPmt_material(meterialId).materialName; - lR_BarcodeLog.Bin = binSerial; - lR_BarcodeLog.Scan_State = 1; - Report.ReportHelper.InsertLR_BarcodeLog(lR_BarcodeLog); - - #endregion - - return true; - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(ex.Message); - return false; - } - finally - { - Sys.FrmNotify.Instance.Destory(); - } - } - - #endregion - - #region 更新物料名称 - - /// - /// 更新物料名称 - /// - public static void UpdateMaterialNameToPlc() - { - try - { - bool flag = false; - - #region 更新物料名称及物料代码 - - if (BasePlcHelper.Instance.ChemicalWeighing_PLC_LoadingConfig.NowValue.ToInt() == 1 && BasePlcHelper.Instance.ChemicalWeighing_PC_LoadingConfig.NowValue.ToInt() == 0) - { - - #region 下传物料名称 - - List pmt_Bins = Product.PptPlan.PlanHelper.GetAllPmt_Bin(); - - for (int i = 1; i <= 20; i++) - { - bool findFlag = false; - DataKeyValue ChemicalWeighing_MaterName = new DataKeyValue("MaterName_Bin" + Mesnac.Basic.DataProcessor.FillZero(i.ToString(), 2)); - DataKeyValue ChemicalWeighing_MaterCode = new DataKeyValue("MaterCode_Bin" + Mesnac.Basic.DataProcessor.FillZero(i.ToString(), 2)); - if (pmt_Bins != null && pmt_Bins.Count > 0) - { - for (int j = 0; j < pmt_Bins.Count; j++) - { - Base_MaterialInfo pmt_Material = Product.PptPlan.PlanHelper.GetPmt_material(pmt_Bins[j].Material_ID); - string binStr = null; - if (pmt_Bins[j] != null && pmt_Bins[j].Bin_Serial != null && pmt_Material != null && pmt_Material.materialName != null) - { - binStr = Mesnac.Basic.DataProcessor.FillZero(pmt_Bins[j].Bin_Serial.ToString(), 2); - if (ChemicalWeighing_MaterName.EquipRunName.Contains(binStr)) - { - object[] oblist = Mesnac.Basic.DataProcessor.ToPLCDataArray(pmt_Material.materialName); - object[] oblistCode = Mesnac.Basic.DataProcessor.ToPLCDataArray(pmt_Material.materialId); - BasePlcHelper.Instance.PlcWriteByDataKey(ChemicalWeighing_MaterName, FullObj(oblist)); - BasePlcHelper.Instance.PlcWriteByDataKey(ChemicalWeighing_MaterCode, FullObj(oblistCode)); - findFlag = true; - break; - } - } - } - - if (findFlag == false) - { - object[] oblist = new object[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - object[] oblistCode = new object[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - BasePlcHelper.Instance.PlcWriteByDataKey(ChemicalWeighing_MaterName, oblist); - BasePlcHelper.Instance.PlcWriteByDataKey(ChemicalWeighing_MaterCode, oblistCode); - } - } - } - flag = true; - - #endregion - } - - #endregion - - #region 触发事件 - - if (flag) - { - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_LoadingConfig, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg60")); //小料物料名称向PLC下传反馈信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - } - - #endregion - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error("把PLC的计划状态更新至数据库异常:" + ex.Message, ex); - } - finally - { - Global.PublicVar.Instance.LocalPlanIsRefresh = false; - } - } - - #endregion - - #region 修改PCOnlin心跳信号 - - public static void HeartBeatChange() - { - if (BasePlcHelper.Instance.ChemicalWeighing_PLC_Online_Flag.NowValue.ToInt() != 0) - { - if (BasePlcHelper.Instance.ChemicalWeighing_PC_Online.NowValue.ToInt() == 1) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Online, new object[] { 0 }); - } - else - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Online, new object[] { 1 }); - } - } - } - - #endregion - - - #region 自动修改班次 - - public static void shiftIDAutoChange() - { - Global.PublicVar.Instance.globalShiftID = Product.ProductHelper.shiftIDAtuoRefresh(); - } - - #endregion - - public static object[] FullObj(object[] ob) - { - object[] reOb = ob; - - if (reOb.Count() < 20) - { - for (int z = reOb.Count(); z < 20; z++) - { - object[] tempo = new object[1] { 0 }; - reOb = reOb.Concat(tempo).ToArray(); - } - } - - return reOb; - } + + } -} +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcRecipeHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcRecipeHelper.cs index 839aa71..67cd0d4 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcRecipeHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ChemicalWeighingPlc/PlcRecipeHelper.cs @@ -29,189 +29,6 @@ namespace Mesnac.Action.ChemicalWeighing.ChemicalWeighingPlc { bool flag = false; List writeDataList = new List(); - - #region 读取并处理配方查询请求,并写入。 - - if (BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Name_ShakeHand.NowValue.ToInt() == 1 && (BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack.NowValue.ToInt() <= 0 || BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack.NowValue.ToInt() == 65535)) - { - #region 从PLC中获取筛选条件:机台号和配方名称 - - int[] NamedData; - BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.ChemicalWeighing_Plan_Code, out NamedData); - string recipeName = Mesnac.Basic.DataProcessor.ToString1(NamedData); - - List recipeNameList = new List(); - - if (recipeName != null && recipeName != "") - { - #region 从数据库中查询配方名称List - - List allList = Technical.TechnicalHelper.GetPmt_recipeList(); - if (allList == null || allList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcRecipeHelper_Mix_msg2")); //HMI请求配方列表:配方数据表为空! - ICSharpCode.Core.LoggingService.Error(msg); - } - else - { - foreach (Pmt_recipe pmtRecipe in allList) - { - if (pmtRecipe.Recipe_Name.Contains(recipeName)) - { - recipeNameList.Add(pmtRecipe.Recipe_Name); - } - } - } - - #endregion - - - #region 数据整理 - if (recipeNameList != null && recipeNameList.Count > 0) - { - #region 待写入PLC项整理 - - List writerList = PlcSchemaHelper.Instance.GetPlcWriter("RecipeNameDataList"); //配方名称数据列表项 - if (writerList == null || writerList.Count == 0) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcRecipeHelper_Mix_msg4")); //HMI请求配方列表:获取PLC配方名称列表项时出错! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - #region 数据组成及下传业务处理 - - foreach (PlcWriter writer in writerList) - { - writeDataList.Clear(); - - #region 验证处理 - - if (writer.EquipRunName != "RecipeNameList_Info") - { - continue; - } - - #endregion - - #region 获取PLC品牌名称,处理西门子与其他PLC差异 - - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(writer.EquipRunName); - writer.EquipBrand = equipBrand; - - #endregion - - #region 整理数据 - - if (writer.EquipRunName == "RecipeNameList_Info") - { - for (int i = 0; i < writer.ThisCount; i++) - { - if (recipeNameList != null && i < recipeNameList.Count) - { - foreach (PlcWriteItem item in writer.SchemaList) - { - item.ClearData(); - item.EquipBrand = equipBrand; //设置PLC设备品牌 - - if (item.EquipRunName == "DownLoad_PlanCode") - { - if (recipeNameList[i] != null) - { - item.SetValue = recipeNameList[i]; - writeDataList.AddRange(item.WriteData()); - } - } - } - } - } - } - - #endregion - - if (writeDataList.Count < 400) - { - int fillNum = 400 - writeDataList.Count; - for (int i = 0; i < fillNum; i++) - { - writeDataList.AddRange(new short[]{0}); - } - } - - - #region 下传数据 - - object[] buff = new object[writeDataList.Count]; - Array.Copy(writeDataList.ToArray(), buff, buff.Length); - - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]开始下传计划信息...", writer.EquipRunName)); - if (!BasePlcHelper.Instance.PlcWriteByRunName(writer.EquipRunName, buff)) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcRecipeHelper_Mix_msg5")); //HMI请求配方列表:配方名称列表数据下传失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - else - { - flag = true; - } - ICSharpCode.Core.LoggingService.Debug(String.Format("[{0}]计划信息下传完毕...", writer.EquipRunName)); - - #endregion - - } - - #endregion - - } - else - { - #region 下传异常反馈信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack, new object[] { 3 }); - if (!result) - { - string msg1 = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg30")); //小料-计划信息下传PLC:向PLC下传计划状态请求信号失败! - ICSharpCode.Core.LoggingService.Error(msg1); - } - - #endregion - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcRecipeHelper_Mix_msg3")); //HMI请求配方列表:没有相关的配方数据! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - } - else - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcRecipeHelper_Mix_msg1")); //HMI请求配方列表时关键字为空! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - - } - - #endregion - - #region 请求交互 - - if (flag) - { - #region 下传请求信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack, new object[] { 1 }); - if (!result) - { - string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_ChemicalWeighingPlc_PlcPlanHelper_Mix_msg30")); //小料-计划信息下传PLC:向PLC下传计划状态请求信号失败! - ICSharpCode.Core.LoggingService.Error(msg); - } - - #endregion - } - - #endregion } catch (Exception ex) { @@ -228,4 +45,4 @@ namespace Mesnac.Action.ChemicalWeighing.ChemicalWeighingPlc } -} +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchHelper.cs index 688930f..4e3c916 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchHelper.cs @@ -26,331 +26,7 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch { try { - #region 0 存盘信号读取 - - //if (BasePlcHelper.Instance.ChemicalWeighing_PLC_Request_Save_ShakeHand.NowValue.ToInt() == 1 && (BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack.NowValue.ToInt() <= 0 || BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack.NowValue.ToInt() == 65535 || BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack.NowValue.ToInt() == -1)) - if (false) - { - #region 1 变量定义 - - int offset = 0; //保存偏移量 - string reportHeadEquipRunName = String.Empty; //报表头基本信息设备变量别名 - string materialEquipRunName = String.Empty; //物料信息设备变量别名 - int[] reportHeaddataValue = null; //保存报表头基本信息设备变量别名的PLC数据 - int[] materialDataValue = null; //保存物料信息设备变量别名的PLC数据 - System.Reflection.PropertyInfo[] pis = null; //实体类型属性信息 - Entity.LR_lot lRlotData = null; //报表头数据类 - List lrWeighList = new List(); //物料数据类List - - #endregion - - #region 1.1 读取PlcSchema.xml中相应的存盘配置节,并根据配置节对应的设备变量别名读取PLC数据 - - List readerList = PlcSchemaHelper.Instance.GetCWSSPlcReader("WeighDataInfo"); - if (readerList == null || readerList.Count == 0) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("基础报表数据读取失败:PlcSchema.xml中没有对应WeighDataInfo的配置节!")); - - #region 保存异常,下传save=3 - - if (!BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 })) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 }); - } - - #endregion - - return; - } - reportHeadEquipRunName = readerList[0].PlcFiledName; - for (int i = 1; i < readerList.Count; i++) - { - if (reportHeadEquipRunName != readerList[i].PlcFiledName) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("基础报表数据读取失败:PlcSchema.xml中相同配置节的equip={0}属性与第一个不相同!", readerList[i].PlcFiledName)); - - #region 保存异常,下传save=3 - - if (!BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 })) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 }); - } - - #endregion - - return; - } - } - - List materialReaderList = PlcSchemaHelper.Instance.GetCWSSPlcReader("MaterialDataInfo"); - if (materialReaderList == null || materialReaderList.Count == 0) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("物料数据读取失败:PlcSchema.xml中没有对应MaterialDataInfo的配置节!")); - - #region 保存异常,下传save=3 - - if (!BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 })) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 }); - } - - #endregion - - return; - } - materialEquipRunName = materialReaderList[0].PlcFiledName; - for (int i = 1; i < materialReaderList.Count; i++) - { - if (materialEquipRunName != materialReaderList[i].PlcFiledName) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("物料数据读取失败:PlcSchema.xml中相同配置节的equip={0}属性与第一个不相同!", readerList[i].PlcFiledName)); - - #region 保存异常,下传save=3 - - if (!BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 })) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 }); - } - - #endregion - - return; - } - } - - #endregion - - #region 1.2 获取PLC品牌名称,处理西门子与其他PLC差异 - - foreach (PlcRecipeReader reader in readerList) - { - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(reader.PlcFiledName); - reader.EquipBrand = equipBrand; - foreach (PlcRecipeReaderItem readerItem in reader.ItemList) - { - readerItem.EquipBrand = equipBrand; - } - } - - foreach (PlcRecipeReader materialReader in materialReaderList) - { - string equipBrand = Mesnac.Equips.Factory.Instance.GetEquipBrandByRunName(materialReader.PlcFiledName); - materialReader.EquipBrand = equipBrand; - foreach (PlcRecipeReaderItem materialReaderItem in materialReader.ItemList) - { - materialReaderItem.EquipBrand = equipBrand; - } - } - - #endregion - - #region 2 存盘业务处理 - - #region 2.1 根据配置节对应的设备变量别名读取PLC基础报表存盘数据 - - if (!BasePlcHelper.Instance.PlcReadByRunName(reportHeadEquipRunName, out reportHeaddataValue)) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("基础报表数据存盘失败:读取对应的PLC设备变量[{0}]数据失败!", reportHeadEquipRunName)); - return; - } - else - { - ICSharpCode.Core.LoggingService.Debug(String.Format("基础报表数据存盘_读取PLC设备变量[{0}]成功,长度={1}", reportHeadEquipRunName, reportHeaddataValue.Length)); - } - - #endregion - - #region 2.2 根据配置节对应的设备变量别名读取PLC物料存盘数据 - - if (!BasePlcHelper.Instance.PlcReadByRunName(materialEquipRunName, out materialDataValue)) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("物料数据存盘失败:读取对应的PLC设备变量[{0}]数据失败!", materialEquipRunName)); - return; - } - else - { - ICSharpCode.Core.LoggingService.Debug(String.Format("物料数据存盘_读取PLC设备变量[{0}]成功,长度={1}", materialEquipRunName, materialDataValue.Length)); - } - - #endregion - - #region 2.3 把读取的PLC报表头基本信息数据进行实体映射处理并写入数据库 - - lRlotData = new Entity.LR_lot(); - - foreach (PlcRecipeReader reader in readerList) - { - ICSharpCode.Core.LoggingService.Debug(String.Format("targetTable={0}, runName={1}", reader.TargetTable, reader.PlcFiledName)); - - #region 3.1 数据处理 - - if (reader.TargetTable == "LR_lot") - { - if (reader.ThisCount != 1) - { - ICSharpCode.Core.LoggingService.Warn(String.Format("上辅机称量数据存盘失败:PlcSchema.xml中对应targetTable={0}的配置节count属性值不为1!", reader.TargetTable)); - - #region 保存异常,下传save=3 - - if (!BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 })) - { - BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 3 }); - } - - #endregion - - return; - } - - #region 3.2 配置项赋值 - - pis = typeof(Entity.LR_lot).GetProperties(); - foreach (PlcRecipeReaderItem readerItem in reader.ItemList) - { - int[] value = new int[readerItem.ValueLen]; - Array.Copy(reportHeaddataValue, offset, value, 0, value.Length); - readerItem.SetValue = value; - offset += value.Length; - - foreach (System.Reflection.PropertyInfo pi in pis) - { - if (pi.Name == readerItem.DataFieldName) - { - object objValue = null; - try - { - if (readerItem.DataType.Equals("Int32", StringComparison.CurrentCultureIgnoreCase)) - { - if (readerItem.SetValue[0] > 32767) - { - readerItem.SetValue[0] = Math.Abs(readerItem.SetValue[0] - 65536); - } - if (readerItem.SetValue[1] > 32767) - { - readerItem.SetValue[1] = Math.Abs(readerItem.SetValue[1] - 65536); - } - } - objValue = Mesnac.Basic.DataProcessor.ChangeType(readerItem.GetValue(), pi.PropertyType); - if (readerItem.DataFieldName == "Prd_date") - { - objValue = DateTime.Now.ToString(); - } - } - catch - { - objValue = readerItem.GetValue(); - } - - pi.SetValue(lRlotData, objValue, null); - } - } - } - - #endregion - - SaveHelper.LotSaveHelper.InsertLRLotData(lRlotData); - break; - } - - #endregion - - } - - ICSharpCode.Core.LoggingService.Debug("数据存盘_PLC报表基本数据进行实体映射处理完毕!"); - - #endregion - - #region 2.4 把读取的PLC物料信息数据进行实体映射处理并写入数据库 - - foreach (PlcRecipeReader reader in materialReaderList) - { - ICSharpCode.Core.LoggingService.Debug(String.Format("targetTable={0}, runName={1}", reader.TargetTable, reader.PlcFiledName)); - - if (reader.TargetTable == "LR_weigh") - { - offset = 0; - pis = typeof(Entity.LR_weigh).GetProperties(); - - for (int i = 0; i < reader.ThisCount; i++) - { - - Entity.LR_weigh tempLRweigh = new Entity.LR_weigh(); - bool isCanAddFlag = false; - - foreach (PlcRecipeReaderItem readerItem in reader.ItemList) - { - int[] value = new int[readerItem.ValueLen]; - Array.Copy(materialDataValue, offset, value, 0, value.Length); - readerItem.SetValue = value; - offset += value.Length; - - if (readerItem.PlcFiledName == "Read_BinNo" && readerItem.ValueLen == 1 && readerItem.SetValue[0] != 0) - { - isCanAddFlag = true; - } - } - - if (isCanAddFlag) - { - tempLRweigh.Dosing_id = 0; - tempLRweigh.Plan_id = lRlotData.Plan_id; - tempLRweigh.Equip_Code = lRlotData.Equip_Code; - tempLRweigh.Serial_Num = lRlotData.Serial_Num; - - foreach (PlcRecipeReaderItem readerItem in reader.ItemList) - { - foreach (System.Reflection.PropertyInfo pi in pis) - { - if (pi.Name == readerItem.DataFieldName) - { - object objValue = null; - try - { - objValue = Mesnac.Basic.DataProcessor.ChangeType(readerItem.GetValue(), pi.PropertyType); - if (readerItem.DataFieldName == "Weight_Time") - { - objValue = DateTime.Now.ToString(); - } - } - catch - { - objValue = readerItem.GetValue(); - } - pi.SetValue(tempLRweigh, objValue, null); - } - } - } - - lrWeighList.Add(tempLRweigh); - - SaveHelper.LotSaveHelper.InsertLRweighData(tempLRweigh); - } - } - } - } - - ICSharpCode.Core.LoggingService.Debug("数据存盘_PLC物料数据写入数据库处理完毕!"); - - #endregion - - #region 2.5 反馈信号 - - bool result = BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.ChemicalWeighing_PC_Request_Save_FeedBack, new object[] { 1 }); - if (!result) - { - ICSharpCode.Core.LoggingService.Debug("数据存盘后写入反馈信号失败!"); - } - - #endregion - - #endregion - } - else - { - return; - } - - #endregion + } catch (Exception ex) { diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportGelDoserHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportGelDoserHelper.cs deleted file mode 100644 index 78fbfc2..0000000 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportGelDoserHelper.cs +++ /dev/null @@ -1,324 +0,0 @@ -using Mesnac.Action.ChemicalWeighing.Entity.Report; -using Mesnac.Codd.Session; -using System; -using System.Collections.Generic; -using System.Data; -using System.Threading.Tasks; -using System.Web.Script.Serialization; - -namespace Mesnac.Action.ChemicalWeighing.FinishBatch.SaveHelper -{ - public sealed class ReportGelDoserSaveHelper - { - - private static readonly Lazy lazy = new Lazy(() => new ReportGelDoserSaveHelper()); - public static ReportGelDoserSaveHelper Instance - { - get - { - return lazy.Value; - } - } - - private ReportGelDoserSaveHelper() { } - - /// - /// 糊化机报表数据保存 - /// - public void SaveGelDoserReport() - { - try - { - ICSharpCode.Core.LoggingService.Debug("糊化机报表数据保存开始!!!"); - //准备信号读取 - //if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 1) - //{ - // Report_GelDoser gelDoser_dos0 = readGelDoser("A"); //读取报表数据 - // SaveReportDb(gelDoser_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 2) - //{ - // Report_GelDoser gelDoser_dos0 = readGelDoser("B"); //读取报表数据 - // SaveReportDb(gelDoser_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 3) - //{ - // Report_GelDoser gelDoser_dos0 = readGelDoser("C"); //读取报表数据 - // SaveReportDb(gelDoser_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 4) - //{ - // Report_GelDoser gelDoser_dos0 = readGelDoser("D"); //读取报表数据 - // SaveReportDb(gelDoser_dos0); //保存报表数据 - //} - - Report_GelDoser gelDoser_dos0 = readGelDoser("A"); //读取报表数据 - SaveReportDb(gelDoser_dos0); //保存报表数据 - - - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("糊化机报表数据保存异常:{0}", ex.Message), ex); - } - } - - - - /// - /// 通过PLC读取糊化机报表数据 - /// - /// 糊化机A、糊化机B - /// 操作步骤:Dos[0]、Dos[1]、Dos[2]、Dos[3] - /// - private Report_GelDoser readGelDoser(string machineType) - { - Report_GelDoser _gelDoser = null; - try - { - _gelDoser = new Report_GelDoser(); - _gelDoser.dos = readGelDoserDos(machineType, 6); - _gelDoser.mix = readGelDoserMix(machineType, 10); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("通过PLC读取糊化机报表数读取异常:{0}", ex.Message), ex); - } - return _gelDoser; - } - - - - /// - /// 读取糊化机Dos数据 - /// - /// - /// - /// - private List readGelDoserDos(string machineType, int amount) - { - List gelDoserDoes = new List(); - for (int dos = 0; dos < amount; dos++) - { - #region 实例化参数 - if (dos < 4) - { - BasePlcHelper.Instance.geler_dos_eqNo = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_eqNo"); - BasePlcHelper.Instance.geler_dos_batch = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_batch"); - BasePlcHelper.Instance.geler_dos_matCode = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_matCode"); - BasePlcHelper.Instance.geler_dos_setValue = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_setValue"); - BasePlcHelper.Instance.geler_dos_setToler = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_setToler"); - BasePlcHelper.Instance.geler_dos_actValue = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_actValue"); - BasePlcHelper.Instance.geler_dos_actToLer = new Entity.DataKeyValue($"gelDosing{machineType}_dos{dos}_actToLer"); - } - else if (dos == 4) - { - BasePlcHelper.Instance.geler_dos_eqNo = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_eqNo"); - BasePlcHelper.Instance.geler_dos_batch = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_batch"); - BasePlcHelper.Instance.geler_dos_matCode = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_matCode"); - BasePlcHelper.Instance.geler_dos_setValue = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_setValue"); - BasePlcHelper.Instance.geler_dos_setToler = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_setToler"); - BasePlcHelper.Instance.geler_dos_actValue = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_actValue"); - BasePlcHelper.Instance.geler_dos_actToLer = new Entity.DataKeyValue($"gelDosing{machineType}_hotWater_actToLer"); - } - else if(dos == 5) - { - BasePlcHelper.Instance.geler_dos_eqNo = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_eqNo"); - BasePlcHelper.Instance.geler_dos_batch = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_batch"); - BasePlcHelper.Instance.geler_dos_matCode = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_matCode"); - BasePlcHelper.Instance.geler_dos_setValue = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_setValue"); - BasePlcHelper.Instance.geler_dos_setToler = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_setToler"); - BasePlcHelper.Instance.geler_dos_actValue = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_actValue"); - BasePlcHelper.Instance.geler_dos_actToLer = new Entity.DataKeyValue($"gelDosing{machineType}_coolWater_actToLer"); - } - #endregion - - GelDoserDos_Water gelDoserDos = new GelDoserDos_Water() - { - eqNo = BasePlcHelper.Instance.geler_dos_eqNo.NowValue.ToInt(), - batch = BasePlcHelper.Instance.geler_dos_batch.NowValue.ToInt(), - matCode = BasePlcHelper.Instance.geler_dos_matCode.NowValue.ToInt(), - setValue = BasePlcHelper.Instance.geler_dos_setValue.NowValue.ToDouble(), - setToler = BasePlcHelper.Instance.geler_dos_setToler.NowValue.ToDouble(), - actValue = BasePlcHelper.Instance.geler_dos_actValue.NowValue.ToDouble(), - actToLer = BasePlcHelper.Instance.geler_dos_actToLer.NowValue.ToDouble(), - dos = dos, - recordTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") - }; - gelDoserDoes.Add(gelDoserDos); - } - return gelDoserDoes; - } - - /// - /// 读取糊化机Mix数据 - /// - /// - /// - /// - private List readGelDoserMix(string machineType, int amount) - { - List gelDoserMixes = new List(); - for (int mix = 0; mix < amount; mix++) - { - #region 实例化参数 - var eqNo = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_eqNo"); - var mixBatch = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_mixBatch"); - var mixStep = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_mixStep"); - var actCode = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_actCode"); - var mixTime = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_mixTime"); - var mixTemp = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_mixTemp"); - var mixSpeed = new Entity.DataKeyValue($"gelDosing{machineType}_gelMixing{mix}_mixSpeed"); - #endregion - - GelDoserMix gelDoserMix = new GelDoserMix() - { - eqNo = eqNo.NowValue.ToInt(), - mixBatch = mixBatch.NowValue.ToInt(), - mixStep = mixStep.NowValue.ToInt(), - actCode = actCode.NowValue.ToInt(), - mixTime = mixTime.NowValue.ToInt(), - mixTemp = mixTemp.NowValue.ToDouble(), - mixSpeed = mixSpeed.NowValue.ToDouble(), - mix = mix, - recordTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") - }; - gelDoserMixes.Add(gelDoserMix); - } - - return gelDoserMixes; - } - - - - /// - /// 保存糊化机报表数据至数据库 - /// - /// - private void SaveReportDb(Report_GelDoser _gelDoser) - { - JavaScriptSerializer serializer = new JavaScriptSerializer(); - try - { - string str = serializer.Serialize(_gelDoser); - if (_gelDoser != null) - { - if (_gelDoser.dos != null) - { - InsertReportGelDoser(_gelDoser.report_Id, _gelDoser.dos); - } - if (_gelDoser.mix != null) - { - InsertReportGelDoserDetail(_gelDoser.report_Id, _gelDoser.mix); - } - } - - - ICSharpCode.Core.LoggingService.Warn($"报表数据打印:{str}"); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存报表数据至数据库异常:{0}", ex.Message), ex); - } - } - - - - /// - /// 保存糊化机报表数据 - /// - /// - /// - private void InsertReportGelDoser(Guid reportId, List gelDosers) - { - try - { - - Task.Run(() => - { - DbHelper dbHelper = Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); - if (dbHelper == null) - { - throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); - } - string sqlStr = @"insert into Report_GelDoser - (reportId, eqNo, batch, matCode, setValue, setToler, actValue, actToLer, dos) - values - (@reportId, @eqNo, @batch, @matCode, @setValue, @setToler, @actValue, @actToLer, @dos)"; - - foreach (GelDoserDos_Water _gelDoserDos in gelDosers) - { - if (_gelDoserDos.actValue == 0) continue; - - dbHelper.ClearParameter(); - dbHelper.CommandType = CommandType.Text; - dbHelper.CommandText = sqlStr; - dbHelper.AddParameter("@reportId", reportId); - dbHelper.AddParameter("@eqNo", _gelDoserDos.eqNo); - dbHelper.AddParameter("@batch", _gelDoserDos.batch); - dbHelper.AddParameter("@matCode", _gelDoserDos.matCode); - dbHelper.AddParameter("@setValue", _gelDoserDos.setValue); - dbHelper.AddParameter("@setToler", _gelDoserDos.setToler); - dbHelper.AddParameter("@actValue", _gelDoserDos.actValue); - dbHelper.AddParameter("@actToLer", _gelDoserDos.actToLer); - dbHelper.AddParameter("@dos", _gelDoserDos.dos); - dbHelper.ExecuteNonQuery(); - - } - }); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存糊化机报表数据异常:{0}", ex.Message), ex); - } - } - - /// - /// 保存糊化机报表明细数据 - /// - /// - /// - private void InsertReportGelDoserDetail(Guid reportId, List gelDosers) - { - try - { - Task.Run(() => - { - DbHelper dbHelper = Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); - if (dbHelper == null) - { - throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); - } - string sqlStr = @"insert into Report_GelDoser_Detail - (reportId, eqNo, mixBatch, mixStep, actCode, mixTime, mixTemp, mixSpeed, mix) - values - (@reportId, @eqNo, @mixBatch, @mixStep, @actCode, @mixTime, @mixTemp, @mixSpeed, @mix)"; - foreach (GelDoserMix _gelDoserMix in gelDosers) - { - if (_gelDoserMix.actCode == 0) continue; - - dbHelper.ClearParameter(); - dbHelper.CommandType = CommandType.Text; - dbHelper.CommandText = sqlStr; - dbHelper.AddParameter("@reportId", reportId); - dbHelper.AddParameter("@eqNo", _gelDoserMix.eqNo); - dbHelper.AddParameter("@mixBatch", _gelDoserMix.mixBatch); - dbHelper.AddParameter("@mixStep", _gelDoserMix.mixStep); - dbHelper.AddParameter("@actCode", _gelDoserMix.actCode); - dbHelper.AddParameter("@mixTime", _gelDoserMix.mixTime); - dbHelper.AddParameter("@mixTemp", _gelDoserMix.mixTemp); - dbHelper.AddParameter("@mixSpeed", _gelDoserMix.mixSpeed); - dbHelper.AddParameter("@mix", _gelDoserMix.mix); - dbHelper.ExecuteNonQuery(); - } - }); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存糊化机报表明细数据异常:{0}", ex.Message), ex); - } - } - - - } -} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportSaveHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportSaveHelper.cs deleted file mode 100644 index e12f99d..0000000 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportSaveHelper.cs +++ /dev/null @@ -1,297 +0,0 @@ -using Mesnac.Action.ChemicalWeighing.Entity.Report; -using Mesnac.Codd.Session; -using System; -using System.Collections.Generic; -using System.Data; -using System.Threading.Tasks; -using System.Web.Script.Serialization; - -namespace Mesnac.Action.ChemicalWeighing.FinishBatch.SaveHelper -{ - public sealed class ReportDryMixerSaveHelper - { - - private static readonly Lazy lazy = new Lazy(() => new ReportDryMixerSaveHelper()); - public static ReportDryMixerSaveHelper Instance - { - get - { - return lazy.Value; - } - } - - private ReportDryMixerSaveHelper() { } - - /// - /// 干混机报表数据保存 - /// - public void Save() - { - try - { - ICSharpCode.Core.LoggingService.Debug("干混机报表数据保存开始!!!"); - //准备信号读取 - //if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 1) - //{ - // Report_DryMixer dryMixer_dos0 = readDryMixer("A"); //读取报表数据 - // SaveReportDb(dryMixer_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 2) - //{ - // Report_DryMixer dryMixer_dos0 = readDryMixer("B"); //读取报表数据 - // SaveReportDb(dryMixer_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 3) - //{ - // Report_DryMixer dryMixer_dos0 = readDryMixer("C"); //读取报表数据 - // SaveReportDb(dryMixer_dos0); //保存报表数据 - //} - //else if (BasePlcHelper.Instance.RdyRpt_D1.NowValue.ToInt() == 4) - //{ - // Report_DryMixer dryMixer_dos0 = readDryMixer("D"); //读取报表数据 - // SaveReportDb(dryMixer_dos0); //保存报表数据 - //} - - Report_DryMixer dryMixer_dos0 = readDryMixer("A"); //读取报表数据 - SaveReportDb(dryMixer_dos0); //保存报表数据 - - - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("干混机报表数据保存异常:{0}", ex.Message), ex); - } - } - - - - /// - /// 通过PLC读取干混机报表数据 - /// - /// 干混机A、干混机B - /// 操作步骤:Dos[0]、Dos[1]、Dos[2]、Dos[3] - /// - private Report_DryMixer readDryMixer( string machineType) - { - Report_DryMixer _dryMixer = null; - try - { - _dryMixer = new Report_DryMixer(); - _dryMixer.dos = readDryMixerDos(machineType, 4); - _dryMixer.mix = readDryMixerMix(machineType, 10); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("通过PLC读取干混机报表数读取异常:{0}", ex.Message), ex); - } - return _dryMixer; - } - - - - /// - /// 读取干混机Dos数据 - /// - /// - /// - /// - private List readDryMixerDos(string machineType,int amount) - { - List dryMixerDoes = new List(); - for (int dos = 0; dos < amount; dos++) - { - #region 实例化参数 - BasePlcHelper.Instance.dryer_eqNo = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_eqNo"); - BasePlcHelper.Instance.dryer_batch = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_batch"); - BasePlcHelper.Instance.dryer_matCode = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_matCode"); - BasePlcHelper.Instance.dryer_setValue = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_setValue"); - BasePlcHelper.Instance.dryer_setToler = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_setToler"); - BasePlcHelper.Instance.dryer_actValue = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_actValue"); - BasePlcHelper.Instance.dryer_actToLer = new Entity.DataKeyValue($"dryer{machineType}_dos{dos}_actToLer"); - #endregion - - DryMixerDos dryMixerDos = new DryMixerDos() - { - eqNo = BasePlcHelper.Instance.dryer_eqNo.NowValue.ToInt(), - batch = BasePlcHelper.Instance.dryer_batch.NowValue.ToInt(), - matCode = BasePlcHelper.Instance.dryer_matCode.NowValue.ToInt(), - setValue = BasePlcHelper.Instance.dryer_setValue.NowValue.ToDouble(), - setToler = BasePlcHelper.Instance.dryer_setToler.NowValue.ToDouble(), - actValue = BasePlcHelper.Instance.dryer_actValue.NowValue.ToDouble(), - actToLer = BasePlcHelper.Instance.dryer_actToLer.NowValue.ToDouble(), - dos = dos, - recordTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") - }; - dryMixerDoes.Add(dryMixerDos); - } - return dryMixerDoes; - } - - /// - /// 读取干混机Mix数据 - /// - /// - /// - /// - private List readDryMixerMix(string machineType, int amount) - { - List dryMixerMixes = new List(); - for (int mix = 0; mix < 10; mix++) - { - #region 实例化参数 - BasePlcHelper.Instance.dryer_mixBatch = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_mixBatch"); - BasePlcHelper.Instance.dryer_mixStep = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_mixStep"); - BasePlcHelper.Instance.dryer_actCode = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_actCode"); - BasePlcHelper.Instance.dryer_mixTime = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_mixTime"); - BasePlcHelper.Instance.dryer_mixTemp = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_mixTemp"); - BasePlcHelper.Instance.dryer_mixSpeed = new Entity.DataKeyValue($"dryer{machineType}_mix{mix}_mixSpeed"); - #endregion - - DryMixerMix dryMixerMix = new DryMixerMix() - { - eqNo = BasePlcHelper.Instance.dryer_eqNo.NowValue.ToInt(), - mixBatch = BasePlcHelper.Instance.dryer_mixBatch.NowValue.ToInt(), - mixStep = BasePlcHelper.Instance.dryer_matCode.NowValue.ToInt(), - actCode = BasePlcHelper.Instance.dryer_actCode.NowValue.ToInt(), - mixTime = BasePlcHelper.Instance.dryer_mixTime.NowValue.ToInt(), - mixTemp = BasePlcHelper.Instance.dryer_mixTemp.NowValue.ToDouble(), - mixSpeed = BasePlcHelper.Instance.dryer_mixSpeed.NowValue.ToDouble(), - mix = mix, - recordTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") - }; - dryMixerMixes.Add(dryMixerMix); - } - - return dryMixerMixes; - } - - - - /// - /// 保存干混机报表数据至数据库 - /// - /// - private void SaveReportDb(Report_DryMixer _dryMixer) - { - JavaScriptSerializer serializer = new JavaScriptSerializer(); - try - { - string str = serializer.Serialize(_dryMixer); - if(_dryMixer != null) - { - if(_dryMixer.dos != null) - { - InsertReportDryMixer(_dryMixer.report_Id,_dryMixer.dos); - }else if(_dryMixer.mix != null) - { - InsertReportDryMixerDetail(_dryMixer.report_Id, _dryMixer.mix); - } - } - - - ICSharpCode.Core.LoggingService.Warn($"报表数据打印:{str}"); - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存报表数据至数据库异常:{0}", ex.Message), ex); - } - } - - - - /// - /// 保存干混机报表数据 - /// - /// - /// - private void InsertReportDryMixer(Guid reportId,List dryMixers) - { - try - { - - Task.Run(() => - { - DbHelper dbHelper = Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); - if (dbHelper == null) - { - throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); - } - string sqlStr = @"insert into Report_DryMixer - (reportId, eqNo, batch, matCode, setValue, setToler, actValue, actToLer, dos) - values - (@reportId, @eqNo, @batch, @matCode, @setValue, @setToler, @actValue, @actToLer, @dos)"; - - foreach (DryMixerDos _dryMixerDos in dryMixers) - { - if (_dryMixerDos.actValue == 0) continue; - - dbHelper.ClearParameter(); - dbHelper.CommandType = CommandType.Text; - dbHelper.CommandText = sqlStr; - dbHelper.AddParameter("@reportId", reportId); - dbHelper.AddParameter("@eqNo", _dryMixerDos.eqNo); - dbHelper.AddParameter("@batch", _dryMixerDos.batch); - dbHelper.AddParameter("@matCode", _dryMixerDos.matCode); - dbHelper.AddParameter("@setValue", _dryMixerDos.setValue); - dbHelper.AddParameter("@setToler", _dryMixerDos.setToler); - dbHelper.AddParameter("@actValue", _dryMixerDos.actValue); - dbHelper.AddParameter("@actToLer", _dryMixerDos.actToLer); - dbHelper.AddParameter("@dos", _dryMixerDos.dos); - dbHelper.ExecuteNonQuery(); - - } - }); - }catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存干混机报表数据异常:{0}", ex.Message), ex); - } - } - - /// - /// 保存干混机报表明细数据 - /// - /// - /// - private void InsertReportDryMixerDetail(Guid reportId, List dryMixers) - { - try - { - Task.Run(() => - { - DbHelper dbHelper = Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); - if (dbHelper == null) - { - throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); - } - string sqlStr = @"insert into Report_DryMixer_Detail - (reportId, eqNo, mixBatch, mixStep, actCode, mixTime, mixTemp, mixSpeed, mix) - values - (@reportId, @eqNo, @mixBatch, @mixStep, @actCode, @mixTime, @mixTemp, @mixSpeed, @mix)"; - foreach (DryMixerMix _dryMixerMix in dryMixers) - { - if (_dryMixerMix.actCode == 0) continue; - - dbHelper.ClearParameter(); - dbHelper.CommandType = CommandType.Text; - dbHelper.CommandText = sqlStr; - dbHelper.AddParameter("@reportId", reportId); - dbHelper.AddParameter("@eqNo", _dryMixerMix.eqNo); - dbHelper.AddParameter("@mixBatch", _dryMixerMix.mixBatch); - dbHelper.AddParameter("@mixStep", _dryMixerMix.mixStep); - dbHelper.AddParameter("@actCode", _dryMixerMix.actCode); - dbHelper.AddParameter("@mixTime", _dryMixerMix.mixTime); - dbHelper.AddParameter("@mixTemp", _dryMixerMix.mixTemp); - dbHelper.AddParameter("@mixSpeed", _dryMixerMix.mixSpeed); - dbHelper.AddParameter("@mix", _dryMixerMix.mix); - dbHelper.ExecuteNonQuery(); - } - }); - }catch(Exception ex) - { - ICSharpCode.Core.LoggingService.Error(String.Format("保存干混机报表明细数据异常:{0}", ex.Message), ex); - } - } - - - } -} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/DBEntity/LjFormulaDetailDownEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/DBEntity/LjFormulaDetailDownEntity.cs index 059babb..090ce32 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/DBEntity/LjFormulaDetailDownEntity.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/DBEntity/LjFormulaDetailDownEntity.cs @@ -5,6 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; +using System.Web.UI.WebControls; using FreeSql.DataAnnotations; namespace Mesnac.Action.ChemicalWeighing.FreeDb.DBEntity @@ -116,6 +117,9 @@ namespace Mesnac.Action.ChemicalWeighing.FreeDb.DBEntity public double Weight { get; set; } + + public int PlanId { get; set; } + } } \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.Designer.cs new file mode 100644 index 0000000..5f0949e --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.Designer.cs @@ -0,0 +1,102 @@ +namespace Mesnac.Action.ChemicalWeighing.LjClick +{ + partial class FormClientManager + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.textBox8 = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.btnCancel = new System.Windows.Forms.Button(); + this.btnOK = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // textBox8 + // + this.textBox8.Location = new System.Drawing.Point(145, 180); + this.textBox8.Margin = new System.Windows.Forms.Padding(5); + this.textBox8.MaxLength = 100; + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(148, 21); + this.textBox8.TabIndex = 70; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(42, 183); + this.label8.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(59, 12); + this.label8.TabIndex = 67; + this.label8.Text = "点击重量:"; + // + // btnCancel + // + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(195, 225); + this.btnCancel.Margin = new System.Windows.Forms.Padding(5); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(98, 45); + this.btnCancel.TabIndex = 69; + this.btnCancel.Text = "取消"; + this.btnCancel.UseVisualStyleBackColor = true; + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + // + // btnOK + // + this.btnOK.Location = new System.Drawing.Point(44, 225); + this.btnOK.Margin = new System.Windows.Forms.Padding(5); + this.btnOK.Name = "btnOK"; + this.btnOK.Size = new System.Drawing.Size(98, 45); + this.btnOK.TabIndex = 68; + this.btnOK.Text = "确认"; + this.btnOK.UseVisualStyleBackColor = true; + this.btnOK.Click += new System.EventHandler(this.btnOK_Click); + // + // FormClientManager + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(334, 450); + this.Controls.Add(this.textBox8); + this.Controls.Add(this.label8); + this.Controls.Add(this.btnCancel); + this.Controls.Add(this.btnOK); + this.Name = "FormClientManager"; + this.Text = "点击参数"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Button btnCancel; + private System.Windows.Forms.Button btnOK; + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.cs new file mode 100644 index 0000000..2fbdd29 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/FormClientManager.cs @@ -0,0 +1,47 @@ +using DataBlockHelper.DBHelpers; + +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.LjClick +{ + public partial class FormClientManager : Form + { + int index = 0; + public FormClientManager(int id) + { + + InitializeComponent(); + this.index = id; + + var ls = DB2108Helper.GetClickEntities(); + this.textBox8.Text = ls[id].ClickValue.ToString(); + } + + + + private void btnCancel_Click(object sender, EventArgs e) + { + this.Dispose(); + } + + private void btnOK_Click(object sender, EventArgs e) + { + string str = textBox8.Text; + + DB2108Helper.WriteClick(index, new DataBlockHelper.Entity.ClickEntity() + { + ClickValue = Convert.ToSingle(str) + }); + + this.Dispose(); + } + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/InitFormAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/InitFormAction.cs new file mode 100644 index 0000000..9d47c68 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjClick/InitFormAction.cs @@ -0,0 +1,82 @@ +using DataBlockHelper.DBHelpers; + +using Mesnac.Action.Base; +using Mesnac.Controls.Default; + +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.LjClick +{ + internal class InitFormAction : ChemicalWeighingAction,IAction + { + private RuntimeParameter _runtime; + private DataGridView _materialGridControl = null; //物料列表控件 + DataTable dataTable; + MCButton MCButton5; + MCButton MCButton1; + public void Run(RuntimeParameter runtime) + { + base.RunIni(runtime); //必须调用 + this._runtime = runtime; + + + dataTable = new DataTable("dt"); + dataTable.Columns.Add(new DataColumn("名称", typeof(string))); + dataTable.Columns.Add(new DataColumn("点动数", typeof(string))); + + var list= this.GetAllControls(); + _materialGridControl = (list.FirstOrDefault(x => x.Name == "MCDataGridView1") as DataGridView); + + MCButton5 = (list.FirstOrDefault(x => x.Name== "MCButton5") as MCButton); + + MCButton1 = (list.FirstOrDefault(x => x.Name == "MCButton1") as MCButton); + + MCButton5.Click += MCButton5_Click; + MCButton1.Click += MCButton1_Click; + Init(); + + + } + + private void MCButton1_Click(object sender, EventArgs e) + { + Init(); + } + + private void MCButton5_Click(object sender, EventArgs e) + { + var index= _materialGridControl.CurrentRow.Index; + + FormClientManager form=new FormClientManager(index); + form.ShowDialog(); + + Init(); + } + + private void Init() + { + var ls= DB2108Helper.GetClickEntities(); + dataTable.Rows.Clear(); + for (int i = 0; i < 8; i++) + { + int num = i + 1; + DataRow dr = dataTable.NewRow(); + dr[0] = "湿混机" + num; + + dr[1] = ls[i].ClickValue; + + dataTable.Rows.Add(dr); + } + + _materialGridControl.AutoGenerateColumns = true; + _materialGridControl.DataSource = null ; + _materialGridControl.DataSource = dataTable; + } + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDry/DryPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDry/DryPlc.cs index e3e4403..ccbc3f5 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDry/DryPlc.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDry/DryPlc.cs @@ -1,4 +1,10 @@ -using System; +using DataBlockHelper; +using DataBlockHelper.DBHelpers; +using DataBlockHelper.Entity.DB2107Entity; + +using Mesnac.Action.ChemicalWeighing.LjWeight; + +using System; using System.Collections.Generic; using System.Runtime.CompilerServices; @@ -8,76 +14,144 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + private static DB2107Helper _db2107Helper = new DB2107Helper(); + + private static void DownWeightSettingView(int start, DrySettingView view) + { + + + PlcConnect.Instance.Write($"DB2107.{start}.0",view.Model); + PlcConnect.Instance.Write($"DB2107.{start}.1",view.Status); + int batch = start + 2; + PlcConnect.Instance.Write($"DB2107.{batch}.0", Convert.ToInt16(view.Batch)); + int step = batch + 2; + PlcConnect.Instance.Write($"DB2107.{step}.0", Convert.ToInt16(view.Step)); + int stepCode=step + 2; + PlcConnect.Instance.Write($"DB2107.{stepCode}.0", Convert.ToInt16(view.StepCode)); + + int totalTime = stepCode + 2; + PlcConnect.Instance.Write($"DB2107.{totalTime}.0", Convert.ToInt16(view.TotalTime)); + + int stepTime = stepCode + 4; + PlcConnect.Instance.Write($"DB2107.{stepTime}.0", Convert.ToInt16(view.StepTime)); + + int temperature = stepCode + 4; + + PlcConnect.Instance.Write($"DB2107.{temperature}.0", Convert.ToSingle(view.Temperature)); + + int speed=temperature + 4; + + PlcConnect.Instance.Write($"DB2107.{speed}.0", Convert.ToSingle(view.Speed)); + + int currnet = speed + 4; + + PlcConnect.Instance.Write($"DB2107.{currnet}.0", Convert.ToSingle(view.Currnet)); + + int pressure = currnet + 4; + + PlcConnect.Instance.Write($"DB2107.{pressure}.0", Convert.ToSingle(view.Pressure)); + } + + + private static void Down1408(DrySettingView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_pressure, - view.Pressure); + + DownWeightSettingView(1408, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer0_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer0_pressure, + // view.Pressure); } } - private static DrySettingView Up1408() + static DrySettingView GetDrySettingView(int id, UntiStatusHMIArrayEntity entity) { - var basePlcHelper = GetPlcHelper; DrySettingView view = new DrySettingView { - Id = 1, - Model = Convert.ToBoolean(basePlcHelper.Dryer0_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Dryer0_status.NowValue.ToInt()), - Batch = basePlcHelper.Dryer0_batch.NowValue.ToInt(), - Step = basePlcHelper.Dryer0_step.NowValue.ToInt(), - StepCode = basePlcHelper.Dryer0_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Dryer0_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Dryer0_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Dryer0_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Dryer0_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Dryer0_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Dryer0_pressure.NowValue.ToFloat(), + Id = id, + Model = entity.Mode, + Status = entity.Status, + Batch = entity.Batch, + Step = entity.Step, + StepCode = entity.StepCode, + TotalTime = entity.TotalTime, + StepTime = entity.StepTime, + Temperature = entity.Temperature, + Speed = entity.Speed, + Currnet = entity.Currnet, + Pressure = entity.Pressure, }; return view; + } + + private static DrySettingView Up1408() + { + + + + return GetDrySettingView(1, _db2107Helper.Dryer[0]); + + + //DrySettingView view = new DrySettingView + //{ + // Id = 1, + // Model = Convert.ToBoolean(basePlcHelper.Dryer0_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Dryer0_status.NowValue.ToInt()), + // Batch = basePlcHelper.Dryer0_batch.NowValue.ToInt(), + // Step = basePlcHelper.Dryer0_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Dryer0_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Dryer0_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Dryer0_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Dryer0_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Dryer0_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Dryer0_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Dryer0_pressure.NowValue.ToFloat(), + //}; + //return view; } @@ -85,72 +159,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_pressure, - view.Pressure); + + DownWeightSettingView(1440, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer1_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer1_pressure, + // view.Pressure); } } private static DrySettingView Up1440() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 2, - Model = Convert.ToBoolean(basePlcHelper.Dryer1_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Dryer1_status.NowValue.ToInt()), - Batch = basePlcHelper.Dryer1_batch.NowValue.ToInt(), - Step = basePlcHelper.Dryer1_step.NowValue.ToInt(), - StepCode = basePlcHelper.Dryer1_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Dryer1_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Dryer1_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Dryer1_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Dryer1_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Dryer1_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Dryer1_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 2, + // Model = Convert.ToBoolean(basePlcHelper.Dryer1_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Dryer1_status.NowValue.ToInt()), + // Batch = basePlcHelper.Dryer1_batch.NowValue.ToInt(), + // Step = basePlcHelper.Dryer1_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Dryer1_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Dryer1_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Dryer1_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Dryer1_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Dryer1_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Dryer1_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Dryer1_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(2, _db2107Helper.Dryer[1]); } @@ -158,72 +236,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_pressure, - view.Pressure); + + DownWeightSettingView(1472, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer2_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer2_pressure, + // view.Pressure); } } private static DrySettingView Up1472() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 3, - Model = Convert.ToBoolean(basePlcHelper.Dryer2_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Dryer2_status.NowValue.ToInt()), - Batch = basePlcHelper.Dryer2_batch.NowValue.ToInt(), - Step = basePlcHelper.Dryer2_step.NowValue.ToInt(), - StepCode = basePlcHelper.Dryer2_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Dryer2_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Dryer2_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Dryer2_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Dryer2_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Dryer2_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Dryer2_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 3, + // Model = Convert.ToBoolean(basePlcHelper.Dryer2_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Dryer2_status.NowValue.ToInt()), + // Batch = basePlcHelper.Dryer2_batch.NowValue.ToInt(), + // Step = basePlcHelper.Dryer2_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Dryer2_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Dryer2_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Dryer2_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Dryer2_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Dryer2_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Dryer2_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Dryer2_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(3, _db2107Helper.Dryer[2]); } @@ -231,72 +314,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_pressure, - view.Pressure); + + DownWeightSettingView(1504, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Dryer3_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Dryer3_pressure, + // view.Pressure); } } private static DrySettingView Up1504() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 4, - Model = Convert.ToBoolean(basePlcHelper.Dryer3_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Dryer3_status.NowValue.ToInt()), - Batch = basePlcHelper.Dryer3_batch.NowValue.ToInt(), - Step = basePlcHelper.Dryer3_step.NowValue.ToInt(), - StepCode = basePlcHelper.Dryer3_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Dryer3_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Dryer3_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Dryer3_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Dryer3_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Dryer3_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Dryer3_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 4, + // Model = Convert.ToBoolean(basePlcHelper.Dryer3_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Dryer3_status.NowValue.ToInt()), + // Batch = basePlcHelper.Dryer3_batch.NowValue.ToInt(), + // Step = basePlcHelper.Dryer3_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Dryer3_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Dryer3_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Dryer3_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Dryer3_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Dryer3_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Dryer3_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Dryer3_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(4, _db2107Helper.Dryer[3]); } @@ -305,72 +392,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_pressure, - view.Pressure); + + DownWeightSettingView(1536, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater0_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater0_pressure, + // view.Pressure); } } private static DrySettingView Up1536() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 5, - Model = Convert.ToBoolean(basePlcHelper.Gelater0_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater0_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater0_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater0_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater0_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater0_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater0_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater0_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater0_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater0_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater0_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 5, + // Model = Convert.ToBoolean(basePlcHelper.Gelater0_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater0_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater0_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater0_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater0_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater0_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater0_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater0_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater0_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater0_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater0_pressure.NowValue.ToFloat(), + //}; + //return view; + + + return GetDrySettingView(5, _db2107Helper.Gelater[0]); } @@ -378,72 +470,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_pressure, - view.Pressure); + + DownWeightSettingView(1568, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater1_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater1_pressure, + // view.Pressure); } } private static DrySettingView Up1568() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 6, - Model = Convert.ToBoolean(basePlcHelper.Gelater1_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater1_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater1_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater1_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater1_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater1_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater1_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater1_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater1_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater1_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater1_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 6, + // Model = Convert.ToBoolean(basePlcHelper.Gelater1_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater1_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater1_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater1_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater1_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater1_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater1_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater1_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater1_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater1_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater1_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(6, _db2107Helper.Gelater[1]); } @@ -451,72 +547,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_pressure, - view.Pressure); + + DownWeightSettingView(1600, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater2_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater2_pressure, + // view.Pressure); } } private static DrySettingView Up1600() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 7, - Model = Convert.ToBoolean(basePlcHelper.Gelater2_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater2_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater2_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater2_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater2_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater2_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater2_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater2_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater2_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater2_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater2_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 7, + // Model = Convert.ToBoolean(basePlcHelper.Gelater2_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater2_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater2_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater2_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater2_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater2_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater2_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater2_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater2_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater2_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater2_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(7, _db2107Helper.Gelater[2]); } @@ -524,72 +624,75 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_pressure, - view.Pressure); + DownWeightSettingView(1632, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater3_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater3_pressure, + // view.Pressure); } } private static DrySettingView Up1632() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 8, - Model = Convert.ToBoolean(basePlcHelper.Gelater3_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater3_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater3_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater3_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater3_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater3_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater3_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater3_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater3_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater3_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater3_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 8, + // Model = Convert.ToBoolean(basePlcHelper.Gelater3_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater3_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater3_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater3_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater3_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater3_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater3_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater3_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater3_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater3_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater3_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(8, _db2107Helper.Gelater[3]); } @@ -597,72 +700,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_pressure, - view.Pressure); + + DownWeightSettingView(1664, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater4_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater4_pressure, + // view.Pressure); } } private static DrySettingView Up1664() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 9, - Model = Convert.ToBoolean(basePlcHelper.Gelater4_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater4_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater4_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater4_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater4_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater4_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater4_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater4_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater4_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater4_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater4_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 9, + // Model = Convert.ToBoolean(basePlcHelper.Gelater4_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater4_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater4_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater4_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater4_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater4_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater4_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater4_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater4_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater4_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater4_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(9, _db2107Helper.Gelater[4]); } @@ -670,72 +777,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_pressure, - view.Pressure); + + DownWeightSettingView(1696, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater5_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater5_pressure, + // view.Pressure); } } private static DrySettingView Up1696() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 10, - Model = Convert.ToBoolean(basePlcHelper.Gelater5_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater5_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater5_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater5_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater5_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater5_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater5_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater5_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater5_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater5_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater5_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 10, + // Model = Convert.ToBoolean(basePlcHelper.Gelater5_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater5_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater5_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater5_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater5_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater5_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater5_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater5_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater5_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater5_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater5_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(10, _db2107Helper.Gelater[5]); } @@ -743,72 +854,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_pressure, - view.Pressure); + + DownWeightSettingView(1728, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater6_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater6_pressure, + // view.Pressure); } } private static DrySettingView Up1728() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 11, - Model = Convert.ToBoolean(basePlcHelper.Gelater6_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater6_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater6_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater6_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater6_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater6_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater6_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater6_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater6_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater6_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater6_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 11, + // Model = Convert.ToBoolean(basePlcHelper.Gelater6_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater6_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater6_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater6_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater6_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater6_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater6_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater6_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater6_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater6_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater6_pressure.NowValue.ToFloat(), + //}; + //return view; + + + return GetDrySettingView(11, _db2107Helper.Gelater[6]); } @@ -816,72 +932,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_pressure, - view.Pressure); + + DownWeightSettingView(1760, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Gelater7_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Gelater7_pressure, + // view.Pressure); } } private static DrySettingView Up1760() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 12, - Model = Convert.ToBoolean(basePlcHelper.Gelater7_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Gelater7_status.NowValue.ToInt()), - Batch = basePlcHelper.Gelater7_batch.NowValue.ToInt(), - Step = basePlcHelper.Gelater7_step.NowValue.ToInt(), - StepCode = basePlcHelper.Gelater7_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Gelater7_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Gelater7_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Gelater7_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Gelater7_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Gelater7_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Gelater7_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 12, + // Model = Convert.ToBoolean(basePlcHelper.Gelater7_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Gelater7_status.NowValue.ToInt()), + // Batch = basePlcHelper.Gelater7_batch.NowValue.ToInt(), + // Step = basePlcHelper.Gelater7_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Gelater7_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Gelater7_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Gelater7_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Gelater7_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Gelater7_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Gelater7_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Gelater7_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(12, _db2107Helper.Gelater[7]); } @@ -889,72 +1009,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_pressure, - view.Pressure); + + DownWeightSettingView(1792, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter0_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter0_pressure, + // view.Pressure); } } private static DrySettingView Up1792() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 13, - Model = Convert.ToBoolean(basePlcHelper.Weter0_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter0_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter0_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter0_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter0_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter0_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter0_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter0_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter0_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter0_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter0_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 13, + // Model = Convert.ToBoolean(basePlcHelper.Weter0_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter0_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter0_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter0_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter0_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter0_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter0_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter0_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter0_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter0_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter0_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(13, _db2107Helper.Weter[0]); } @@ -962,72 +1087,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_pressure, - view.Pressure); + + DownWeightSettingView(1824, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter1_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter1_pressure, + // view.Pressure); } } private static DrySettingView Up1824() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 14, - Model = Convert.ToBoolean(basePlcHelper.Weter1_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter1_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter1_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter1_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter1_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter1_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter1_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter1_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter1_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter1_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter1_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 14, + // Model = Convert.ToBoolean(basePlcHelper.Weter1_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter1_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter1_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter1_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter1_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter1_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter1_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter1_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter1_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter1_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter1_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(14, _db2107Helper.Weter[1]); } @@ -1035,72 +1165,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_pressure, - view.Pressure); + + DownWeightSettingView(1856, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter2_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter2_pressure, + // view.Pressure); } } private static DrySettingView Up1856() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 15, - Model = Convert.ToBoolean(basePlcHelper.Weter2_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter2_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter2_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter2_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter2_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter2_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter2_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter2_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter2_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter2_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter2_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 15, + // Model = Convert.ToBoolean(basePlcHelper.Weter2_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter2_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter2_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter2_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter2_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter2_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter2_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter2_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter2_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter2_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter2_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(15, _db2107Helper.Weter[2]); } @@ -1108,72 +1242,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_pressure, - view.Pressure); + + DownWeightSettingView(1888, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter3_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter3_pressure, + // view.Pressure); } } private static DrySettingView Up1888() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 16, - Model = Convert.ToBoolean(basePlcHelper.Weter3_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter3_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter3_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter3_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter3_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter3_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter3_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter3_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter3_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter3_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter3_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 16, + // Model = Convert.ToBoolean(basePlcHelper.Weter3_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter3_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter3_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter3_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter3_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter3_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter3_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter3_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter3_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter3_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter3_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(16, _db2107Helper.Weter[3]); } @@ -1181,72 +1319,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_pressure, - view.Pressure); + + DownWeightSettingView(1920, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter4_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter4_pressure, + // view.Pressure); } } private static DrySettingView Up1920() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 17, - Model = Convert.ToBoolean(basePlcHelper.Weter4_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter4_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter4_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter4_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter4_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter4_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter4_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter4_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter4_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter4_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter4_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 17, + // Model = Convert.ToBoolean(basePlcHelper.Weter4_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter4_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter4_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter4_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter4_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter4_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter4_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter4_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter4_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter4_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter4_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(17, _db2107Helper.Weter[4]); } @@ -1254,72 +1396,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_pressure, - view.Pressure); + + DownWeightSettingView(1952, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter5_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter5_pressure, + // view.Pressure); } } private static DrySettingView Up1952() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 18, - Model = Convert.ToBoolean(basePlcHelper.Weter5_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter5_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter5_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter5_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter5_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter5_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter5_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter5_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter5_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter5_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter5_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 18, + // Model = Convert.ToBoolean(basePlcHelper.Weter5_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter5_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter5_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter5_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter5_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter5_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter5_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter5_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter5_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter5_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter5_pressure.NowValue.ToFloat(), + //}; + //return view; + + + return GetDrySettingView(18, _db2107Helper.Weter[5]); } @@ -1327,72 +1474,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_pressure, - view.Pressure); + + DownWeightSettingView(1984, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter6_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter6_pressure, + // view.Pressure); } } private static DrySettingView Up1984() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 19, - Model = Convert.ToBoolean(basePlcHelper.Weter6_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter6_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter6_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter6_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter6_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter6_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter6_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter6_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter6_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter6_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter6_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 19, + // Model = Convert.ToBoolean(basePlcHelper.Weter6_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter6_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter6_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter6_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter6_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter6_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter6_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter6_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter6_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter6_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter6_pressure.NowValue.ToFloat(), + //}; + //return view; + + return GetDrySettingView(19, _db2107Helper.Weter[6]); } @@ -1400,72 +1551,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_mode, new object[] - { - view.Model - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_status, new object[] - { - view.Status - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_batch, new object[] - { - view.Batch - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_step, new object[] - { - view.Step - }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_stepCode, new object[] - { - view.StepCode - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_totalTime, new object[] - { - view.TotalTime - }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_stepTime, new object[] - { - view.StepTime - }); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_temperature, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_speed, - view.Speed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_currnet, - view.Temperature); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_pressure, - view.Pressure); + DownWeightSettingView(2016, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_mode, new object[] + //{ + // view.Model + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_status, new object[] + //{ + // view.Status + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_batch, new object[] + //{ + // view.Batch + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_step, new object[] + //{ + // view.Step + //}); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_stepCode, new object[] + //{ + // view.StepCode + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_totalTime, new object[] + //{ + // view.TotalTime + //}); + + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Weter7_stepTime, new object[] + //{ + // view.StepTime + //}); + + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_temperature, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_speed, + // view.Speed); + + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_currnet, + // view.Temperature); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Weter7_pressure, + // view.Pressure); } } private static DrySettingView Up2016() { - var basePlcHelper = GetPlcHelper; - DrySettingView view = new DrySettingView - { - Id = 20, - Model = Convert.ToBoolean(basePlcHelper.Weter7_mode.NowValue.ToInt()), - Status = Convert.ToBoolean(basePlcHelper.Weter7_status.NowValue.ToInt()), - Batch = basePlcHelper.Weter7_batch.NowValue.ToInt(), - Step = basePlcHelper.Weter7_step.NowValue.ToInt(), - StepCode = basePlcHelper.Weter7_stepCode.NowValue.ToInt(), - TotalTime = basePlcHelper.Weter7_totalTime.NowValue.ToInt(), - StepTime = basePlcHelper.Weter7_stepTime.NowValue.ToInt(), - Temperature = basePlcHelper.Weter7_temperature.NowValue.ToFloat(), - Speed = basePlcHelper.Weter7_speed.NowValue.ToFloat(), - Currnet = basePlcHelper.Weter7_currnet.NowValue.ToFloat(), - Pressure = basePlcHelper.Weter7_pressure.NowValue.ToFloat(), - }; - return view; + //var basePlcHelper = GetPlcHelper; + //DrySettingView view = new DrySettingView + //{ + // Id = 20, + // Model = Convert.ToBoolean(basePlcHelper.Weter7_mode.NowValue.ToInt()), + // Status = Convert.ToBoolean(basePlcHelper.Weter7_status.NowValue.ToInt()), + // Batch = basePlcHelper.Weter7_batch.NowValue.ToInt(), + // Step = basePlcHelper.Weter7_step.NowValue.ToInt(), + // StepCode = basePlcHelper.Weter7_stepCode.NowValue.ToInt(), + // TotalTime = basePlcHelper.Weter7_totalTime.NowValue.ToInt(), + // StepTime = basePlcHelper.Weter7_stepTime.NowValue.ToInt(), + // Temperature = basePlcHelper.Weter7_temperature.NowValue.ToFloat(), + // Speed = basePlcHelper.Weter7_speed.NowValue.ToFloat(), + // Currnet = basePlcHelper.Weter7_currnet.NowValue.ToFloat(), + // Pressure = basePlcHelper.Weter7_pressure.NowValue.ToFloat(), + //}; + //return view; + + + return GetDrySettingView(20, _db2107Helper.Weter[7]); } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjElectrical/ElectricalPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjElectrical/ElectricalPlc.cs index be9d0d4..c2286b6 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjElectrical/ElectricalPlc.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjElectrical/ElectricalPlc.cs @@ -1,4 +1,9 @@ -using System.Collections; +using DataBlockHelper; +using DataBlockHelper.DBHelpers; +using Mesnac.Action.ChemicalWeighing.LjWeight; + +using System; +using System.Collections; using System.Collections.Generic; namespace Mesnac.Action.ChemicalWeighing.LjElectrical @@ -7,13 +12,23 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + private static DB2107Helper _db2107Helper = new DB2107Helper(); + + private static void DownElectricalView(int start, ElectricalView view) + { + PlcConnect.Instance.Write($"DB2107.{start}.0",view.Speed); + + } + private static void Down1324(ElectricalView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD1, - view.Speed); + DownElectricalView(1324,view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD1, + // view.Speed); } } @@ -21,8 +36,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 1; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedD1.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedD1.NowValue.ToFloat(); + view.Speed = _db2107Helper.Speed.ManSpeed_D1; return view; } @@ -39,8 +55,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 2; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedD2.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedD2.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_D2; return view; } @@ -49,9 +67,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD2, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD2, + // view.Speed); + + DownElectricalView(1328, view); } } @@ -60,8 +80,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 3; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedD3.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedD3.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_D3; return view; } @@ -70,9 +92,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD3, - view.Speed); + DownElectricalView(1332, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD3, + // view.Speed); } } @@ -81,8 +104,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 4; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedD3.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedD3.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_D4; return view; } @@ -91,9 +116,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD4, - view.Speed); + DownElectricalView(1336, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedD4, + // view.Speed); } } @@ -102,8 +128,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 5; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG1.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG1.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G1; return view; } @@ -112,9 +140,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG1, - view.Speed); + + DownElectricalView(1340, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG1, + // view.Speed); } } @@ -123,8 +153,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 6; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG2.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG2.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G2; return view; } @@ -133,9 +165,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG2, - view.Speed); + DownElectricalView(1344, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG2, + // view.Speed); } } @@ -143,8 +176,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 7; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG3.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG3.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G3; return view; } @@ -153,9 +188,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG3, - view.Speed); + DownElectricalView(1348, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG3, + // view.Speed); } } @@ -163,8 +199,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 8; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG4.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG4.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G4; return view; } @@ -173,9 +211,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG4, - view.Speed); + DownElectricalView(1352, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG4, + // view.Speed); } } @@ -184,8 +223,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 9; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG5.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG5.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G5; return view; } @@ -194,9 +235,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG5, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG5, + // view.Speed); + + DownElectricalView(1356, view); } } @@ -205,8 +248,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 10; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG6.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG6.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G6; return view; } @@ -215,9 +260,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG6, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG6, + // view.Speed); + + DownElectricalView(1360, view); } } @@ -225,8 +272,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 11; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG7.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG7.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G7; return view; } @@ -235,9 +284,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG7, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG7, + // view.Speed); + + DownElectricalView(1364, view); } } @@ -246,8 +297,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 12; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedG8.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedG8.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_G8; return view; } @@ -256,9 +309,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG8, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedG8, + // view.Speed); + DownElectricalView(1368, view); } } @@ -266,8 +320,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 13; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedH1.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedH1.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_H1; return view; } @@ -276,9 +332,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH1, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH1, + // view.Speed); + + DownElectricalView(1372, view); } } @@ -286,8 +344,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 14; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedH2.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedH2.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_H2; return view; } @@ -296,9 +356,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH2, - view.Speed); + DownElectricalView(1376, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH2, + // view.Speed); } } @@ -307,8 +368,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 15; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedH3.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedH3.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_H3; return view; } @@ -317,9 +380,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH3, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH3, + // view.Speed); + DownElectricalView(1380, view); } } @@ -327,8 +391,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 16; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedH4.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedH4.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_H4; return view; } @@ -337,9 +403,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH4, - view.Speed); + DownElectricalView(1384, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedH4, + // view.Speed); } } @@ -347,8 +414,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 17; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedS1.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedS1.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_S1; return view; } @@ -357,9 +426,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS1, - view.Speed); + DownElectricalView(1388, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS1, + // view.Speed); } } @@ -368,8 +438,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 18; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedS5.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedS5.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_S5; return view; } @@ -378,9 +450,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS5, - view.Speed); + DownElectricalView(1392, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS5, + // view.Speed); } } @@ -389,8 +462,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 19; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedS7.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedS7.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_S7; + return view; } @@ -399,9 +475,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS7, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS7, + // view.Speed); + + DownElectricalView(1396, view); } } @@ -409,8 +487,12 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 20; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedS11.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedS11.NowValue.ToFloat(); + + + view.Speed = _db2107Helper.Speed.ManSpeed_S11; + return view; } @@ -419,9 +501,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS11, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS11, + // view.Speed); + + DownElectricalView(1400, view); } } @@ -430,8 +514,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { ElectricalView view = new ElectricalView(); view.Id = 21; - var basePlcHelper = GetPlcHelper; - view.Speed = basePlcHelper.SpeedS15.NowValue.ToFloat(); + //var basePlcHelper = GetPlcHelper; + //view.Speed = basePlcHelper.SpeedS15.NowValue.ToFloat(); + + view.Speed = _db2107Helper.Speed.ManSpeed_S15; return view; } @@ -440,9 +526,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjElectrical { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS15, - view.Speed); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.SpeedS15, + // view.Speed); + DownElectricalView(1404, view); } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjHelp.cs index d2478d1..12d0d25 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjHelp.cs @@ -1,5 +1,7 @@ -using HslCommunication; -using Mesnac.Action.ChemicalWeighing.Pl; +using DataBlockHelper; + +using HslCommunication; + namespace Mesnac.Action.ChemicalWeighing { @@ -11,13 +13,25 @@ namespace Mesnac.Action.ChemicalWeighing { get { - OperateResult read = PlcConnect.Instance.Read("DB2107.2.0", 2); - var content = read.Content; + try + { + OperateResult read = PlcConnect.Instance.Read("DB2107.2.0", 2); + var content = read.Content; + if (read.IsSuccess) + { + return PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + } + return 0; + + } + catch (System.Exception) + { - return PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + return 0; + } } } - //BasePlcHelper.Instance.WatchDog.LastValue.ToInt(); + } } \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs index f959843..a99e64f 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs @@ -1,43 +1,93 @@ -using System.Collections; +using DataBlockHelper; +using DataBlockHelper.DBHelpers; +using DataBlockHelper.Entity.DB2107Entity; + +using System; using System.Collections.Generic; namespace Mesnac.Action.ChemicalWeighing.LjMetage { public class MetagePlc { - private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + + + + private static DB2107Helper _db2107Helper = new DB2107Helper(); + + private static void DownMetageView(int start, MetageView view) + { + int highSpeed = start; + int lowSpeed = start+4; + int weightSlow = start + 8; + int precut = start + 12; + int jobTime = start + 16; + + PlcConnect.Instance.Write($"DB2107.{highSpeed}.0", view.HighSpeed); + PlcConnect.Instance.Write($"DB2107.{lowSpeed}.0", view.LowSpeed); + PlcConnect.Instance.Write($"DB2107.{weightSlow}.0", view.WeightSlow); + PlcConnect.Instance.Write($"DB2107.{precut}.0", view.Precut); + PlcConnect.Instance.Write($"DB2107.{jobTime}.0", Convert.ToUInt16(view.JogTime)); + } + + static MetageView GetMetageView(int id, WeightParaE weight) + { + //WeightParaE + + MetageView view = new MetageView() + { + Id = id, + HighSpeed = weight.HighSpeed, + LowSpeed = weight.LowSpeed, + WeightSlow = weight.WeightSlow, + Precut = weight.Precut, + JogTime = weight.JogTime + }; + return view; + } - private static void Down694(MetageView view) + private static void Down694(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo0_JogTime, - new object[] { view.JogTime }); + + DownMetageView(694, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo0_JogTime, + // new object[] { view.JogTime }); } } + + + + private static MetageView Up694() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 1, - HighSpeed = basePlcHelper.Silo0_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo0_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo0_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo0_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo0_JogTime.NowValue.ToInt() - }; - return view; + // var basePlcHelper = GetPlcHelper; + + + + + + //MetageView view = new MetageView() + //{ + // Id = 1, + // HighSpeed = basePlcHelper.Silo0_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo0_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo0_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo0_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo0_JogTime.NowValue.ToInt() + //}; + return GetMetageView(1, _db2107Helper.WeightPra.Silo[0]); } @@ -45,1067 +95,1181 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo1_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(712, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo1_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up712() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 2, - HighSpeed = basePlcHelper.Silo1_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo1_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo1_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo1_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo1_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 2, + // HighSpeed = basePlcHelper.Silo1_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo1_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo1_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo1_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo1_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(2, _db2107Helper.WeightPra.Silo[1]); + + } private static void Down730(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo2_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(730, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo2_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up730() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 3, - HighSpeed = basePlcHelper.Silo2_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo2_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo2_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo2_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo2_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 3, + // HighSpeed = basePlcHelper.Silo2_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo2_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo2_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo2_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo2_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(3, _db2107Helper.WeightPra.Silo[2]); + + } private static void Down748(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo3_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(748, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo3_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up748() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 4, - HighSpeed = basePlcHelper.Silo3_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo3_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo3_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo3_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo3_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 4, + // HighSpeed = basePlcHelper.Silo3_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo3_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo3_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo3_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo3_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(4, _db2107Helper.WeightPra.Silo[3]); + + } private static void Down766(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo4_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(766, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo4_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up766() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 5, - HighSpeed = basePlcHelper.Silo4_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo4_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo4_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo4_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo4_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 5, + // HighSpeed = basePlcHelper.Silo4_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo4_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo4_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo4_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo4_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(5, _db2107Helper.WeightPra.Silo[4]); + + } private static void Down784(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo5_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(784, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo5_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up784() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 6, - HighSpeed = basePlcHelper.Silo5_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo5_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo5_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo5_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo5_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 6, + // HighSpeed = basePlcHelper.Silo5_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo5_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo5_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo5_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo5_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(6, _db2107Helper.WeightPra.Silo[5]); + + } private static void Down802(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo6_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(802, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo6_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up802() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 7, - HighSpeed = basePlcHelper.Silo6_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo6_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo6_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo6_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo6_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 7, + // HighSpeed = basePlcHelper.Silo6_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo6_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo6_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo6_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo6_JogTime.NowValue.ToInt() + //}; + //return view; + return GetMetageView(7, _db2107Helper.WeightPra.Silo[6]); - } + } private static void Down820(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo7_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(820, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo7_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up820() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 8, - HighSpeed = basePlcHelper.Silo7_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo7_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo7_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo7_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo7_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 8, + // HighSpeed = basePlcHelper.Silo7_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo7_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo7_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo7_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo7_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(8, _db2107Helper.WeightPra.Silo[7]); + + } private static void Down838(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo8_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(838, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo8_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up838() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 9, - HighSpeed = basePlcHelper.Silo8_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo8_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo8_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo8_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo8_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 9, + // HighSpeed = basePlcHelper.Silo8_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo8_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo8_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo8_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo8_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(9, _db2107Helper.WeightPra.Silo[8]); + + } private static void Down856(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo9_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(856, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo9_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up856() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 10, - HighSpeed = basePlcHelper.Silo9_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo9_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo9_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo9_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo9_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 10, + // HighSpeed = basePlcHelper.Silo9_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo9_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo9_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo9_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo9_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(10, _db2107Helper.WeightPra.Silo[9]); + + } private static void Down874(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo10_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(874, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo10_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up874() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 11, - HighSpeed = basePlcHelper.Silo10_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo10_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo10_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo10_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo10_JogTime.NowValue.ToInt() - }; - return view; - - } + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 11, + // HighSpeed = basePlcHelper.Silo10_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo10_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo10_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo10_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo10_JogTime.NowValue.ToInt() + //}; + //return view; + + return GetMetageView(11, _db2107Helper.WeightPra.Silo[10]); + } private static void Down892(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo11_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(892, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo11_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up892() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 12, - HighSpeed = basePlcHelper.Silo11_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo11_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo11_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo11_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo11_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 12, + // HighSpeed = basePlcHelper.Silo11_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo11_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo11_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo11_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo11_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(12, _db2107Helper.WeightPra.Silo[11]); + + } private static void Down910(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo12_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(910, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo12_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up910() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 13, - HighSpeed = basePlcHelper.Silo12_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo12_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo12_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo12_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo12_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 13, + // HighSpeed = basePlcHelper.Silo12_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo12_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo12_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo12_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo12_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(13, _db2107Helper.WeightPra.Silo[12]); + + } private static void Down928(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo13_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(928, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo13_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up928() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 14, - HighSpeed = basePlcHelper.Silo13_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo13_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo13_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo13_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo13_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 14, + // HighSpeed = basePlcHelper.Silo13_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo13_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo13_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo13_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo13_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(14, _db2107Helper.WeightPra.Silo[13]); + + } private static void Down946(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_HighSpeed, - view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_LowSpeed, - view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo14_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(946, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_HighSpeed, + // view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_LowSpeed, + // view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo14_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up946() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 15, - HighSpeed = basePlcHelper.Silo14_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Silo14_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Silo14_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Silo14_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Silo14_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 15, + // HighSpeed = basePlcHelper.Silo14_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Silo14_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Silo14_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Silo14_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Silo14_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(15, _db2107Helper.WeightPra.Silo[14]); + + } private static void Down964(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin0_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(964, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin0_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up964() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 16, - HighSpeed = basePlcHelper.Daybin0_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin0_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin0_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin0_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin0_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 16, + // HighSpeed = basePlcHelper.Daybin0_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin0_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin0_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin0_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin0_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(16, _db2107Helper.WeightPra.Daybin[0]); + + } private static void Down982(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin1_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(982, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin1_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up982() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 17, - HighSpeed = basePlcHelper.Daybin1_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin1_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin1_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin1_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin1_JogTime.NowValue.ToInt() - }; - return view; - - } + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 17, + // HighSpeed = basePlcHelper.Daybin1_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin1_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin1_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin1_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin1_JogTime.NowValue.ToInt() + //}; + //return view; + return GetMetageView(17, _db2107Helper.WeightPra.Daybin[1]); + } private static void Down1000(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin2_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1000, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin2_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1000() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 18, - HighSpeed = basePlcHelper.Daybin2_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin2_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin2_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin2_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin2_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 18, + // HighSpeed = basePlcHelper.Daybin2_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin2_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin2_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin2_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin2_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(18, _db2107Helper.WeightPra.Daybin[2]); + + } private static void Down1018(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin3_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1018, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin3_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1018() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 19, - HighSpeed = basePlcHelper.Daybin3_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin3_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin3_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin3_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin3_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 19, + // HighSpeed = basePlcHelper.Daybin3_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin3_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin3_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin3_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin3_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(19, _db2107Helper.WeightPra.Daybin[3]); + + } private static void Down1036(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin4_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1036, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin4_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1036() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 20, - HighSpeed = basePlcHelper.Daybin4_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin4_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin4_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin4_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin4_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 20, + // HighSpeed = basePlcHelper.Daybin4_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin4_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin4_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin4_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin4_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(20, _db2107Helper.WeightPra.Daybin[4]); + + } private static void Down1054(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin5_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1054, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin5_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1054() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 21, - HighSpeed = basePlcHelper.Daybin5_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin5_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin5_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin5_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin5_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 21, + // HighSpeed = basePlcHelper.Daybin5_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin5_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin5_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin5_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin5_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(21, _db2107Helper.WeightPra.Daybin[5]); + + } private static void Down1072(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin6_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1072, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin6_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1072() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 22, - HighSpeed = basePlcHelper.Daybin6_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin6_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin6_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin6_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin6_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 22, + // HighSpeed = basePlcHelper.Daybin6_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin6_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin6_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin6_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin6_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(22, _db2107Helper.WeightPra.Daybin[6]); - private static void Down1090(MetageView view) - { - if (null != view) - { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin7_JogTime, - new object[] { view.JogTime }); - } - } + } + + private static void Down1090(MetageView view) + { + if (null != view) + { + + DownMetageView(1090, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin7_JogTime, + // new object[] { view.JogTime }); + } + } private static MetageView Up1090() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 23, - HighSpeed = basePlcHelper.Daybin7_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin7_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin7_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin7_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin7_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 23, + // HighSpeed = basePlcHelper.Daybin7_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin7_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin7_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin7_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin7_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(23, _db2107Helper.WeightPra.Daybin[7]); + + } private static void Down1108(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin8_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1108, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin8_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1108() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 24, - HighSpeed = basePlcHelper.Daybin8_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin8_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin8_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin8_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin8_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 24, + // HighSpeed = basePlcHelper.Daybin8_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin8_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin8_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin8_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin8_JogTime.NowValue.ToInt() + //}; + //return view; + return GetMetageView(24, _db2107Helper.WeightPra.Daybin[8]); - } + } private static void Down1126(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin9_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1126, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin9_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1126() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 25, - HighSpeed = basePlcHelper.Daybin9_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin9_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin9_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin9_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin9_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 25, + // HighSpeed = basePlcHelper.Daybin9_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin9_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin9_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin9_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin9_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(25, _db2107Helper.WeightPra.Daybin[9]); + + } private static void Down1144(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin10_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1144, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin10_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1144() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 26, - HighSpeed = basePlcHelper.Daybin10_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin10_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin10_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin10_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin10_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 26, + // HighSpeed = basePlcHelper.Daybin10_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin10_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin10_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin10_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin10_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(26, _db2107Helper.WeightPra.Daybin[10]); + + } private static void Down1162(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_WeightSlow, - view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin11_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1162, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_WeightSlow, + // view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin11_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1162() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 27, - HighSpeed = basePlcHelper.Daybin11_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Daybin11_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Daybin11_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Daybin11_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Daybin11_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 27, + // HighSpeed = basePlcHelper.Daybin11_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Daybin11_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Daybin11_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Daybin11_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Daybin11_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(27, _db2107Helper.WeightPra.Daybin[11]); + + } private static void Down1180(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper0_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1180, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper0_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1180() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 28, - HighSpeed = basePlcHelper.Hoper0_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Hoper0_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Hoper0_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Hoper0_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Hoper0_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 28, + // HighSpeed = basePlcHelper.Hoper0_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Hoper0_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Hoper0_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Hoper0_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Hoper0_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(28, _db2107Helper.WeightPra.Hoper[0]); + + } private static void Down1198(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper1_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1198, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper1_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1198() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 29, - HighSpeed = basePlcHelper.Hoper1_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Hoper1_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Hoper1_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Hoper1_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Hoper1_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 29, + // HighSpeed = basePlcHelper.Hoper1_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Hoper1_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Hoper1_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Hoper1_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Hoper1_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(29, _db2107Helper.WeightPra.Hoper[1]); + + } private static void Down1216(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper2_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1216, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper2_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1216() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 30, - HighSpeed = basePlcHelper.Hoper2_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Hoper2_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Hoper2_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Hoper2_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Hoper2_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 30, + // HighSpeed = basePlcHelper.Hoper2_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Hoper2_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Hoper2_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Hoper2_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Hoper2_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(30, _db2107Helper.WeightPra.Hoper[2]); + + } private static void Down1234(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper3_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1234, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper3_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1234() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 31, - HighSpeed = basePlcHelper.Hoper3_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Hoper3_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Hoper3_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Hoper3_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Hoper3_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 31, + // HighSpeed = basePlcHelper.Hoper3_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Hoper3_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Hoper3_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Hoper3_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Hoper3_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(31, _db2107Helper.WeightPra.Hoper[3]); + + } private static void Down1252(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water0_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1252, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water0_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1252() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 32, - HighSpeed = basePlcHelper.Water0_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Water0_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Water0_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Water0_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Water0_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 32, + // HighSpeed = basePlcHelper.Water0_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Water0_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Water0_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Water0_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Water0_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(32, _db2107Helper.WeightPra.Water[0]); + + } private static void Down1270(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water1_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1270, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water1_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1270() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 33, - HighSpeed = basePlcHelper.Water1_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Water1_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Water1_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Water1_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Water1_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 33, + // HighSpeed = basePlcHelper.Water1_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Water1_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Water1_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Water1_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Water1_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(33, _db2107Helper.WeightPra.Water[1]); + + } private static void Down1288(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water2_JogTime, - new object[] { view.JogTime }); - } + DownMetageView(1288, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water2_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1288() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 34, - HighSpeed = basePlcHelper.Water2_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Water2_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Water2_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Water2_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Water2_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 34, + // HighSpeed = basePlcHelper.Water2_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Water2_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Water2_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Water2_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Water2_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(34, _db2107Helper.WeightPra.Water[2]); + + } private static void Down1306(MetageView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water3_JogTime, - new object[] { view.JogTime }); - } + + DownMetageView(1306, view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_HighSpeed, view.HighSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_LowSpeed, view.LowSpeed); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_WeightSlow, view.WeightSlow); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_Precut, view.Precut); + //basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water3_JogTime, + // new object[] { view.JogTime }); + } } private static MetageView Up1306() { - var basePlcHelper = GetPlcHelper; - MetageView view = new MetageView() - { - Id = 35, - HighSpeed = basePlcHelper.Water3_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.Water3_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.Water3_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.Water3_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.Water3_JogTime.NowValue.ToInt() - }; - return view; + //var basePlcHelper = GetPlcHelper; + //MetageView view = new MetageView() + //{ + // Id = 35, + // HighSpeed = basePlcHelper.Water3_HighSpeed.NowValue.ToFloat(), + // LowSpeed = basePlcHelper.Water3_LowSpeed.NowValue.ToFloat(), + // WeightSlow = basePlcHelper.Water3_WeightSlow.NowValue.ToFloat(), + // Precut = basePlcHelper.Water3_Precut.NowValue.ToFloat(), + // JogTime = basePlcHelper.Water3_JogTime.NowValue.ToInt() + //}; + //return view; - } + return GetMetageView(35, _db2107Helper.WeightPra.Water[3]); + + } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownToDatabase.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownToDatabase.cs index d62a0fc..9c9cd08 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownToDatabase.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownToDatabase.cs @@ -15,30 +15,38 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning public DownToDatabase() { } - public DownToDatabase(DbMCControl _materialGridControl) + public DownToDatabase(int id) { - DataGridView clientGridView = _materialGridControl.BaseControl as DataGridView; + + //计划Id + LjPlanningEntity ljPlanningEntity = FreeSqlUnit.Instance.Select(). + Where(x => x.Id == id).ToOne(); + + // 配方 + LjFormulaEntity ljFormulaEntity = FreeSqlUnit.Instance.Select().Where(x => x.Id == + ljPlanningEntity.FormulaId).ToOne(); + + + //配方详情 + + List ljFormulaDetailEntity = + FreeSqlUnit.Instance.Select(). + Where(x => x.FormulaId == ljFormulaEntity.Id).ToList(); - //验证是否选中某物料 - if (clientGridView.SelectedRows.Count != 1) - { - //MessageBox.Show("请选择要修改的数据", Mesnac.Basic.LanguageHelper.Caption, - // MessageBoxButtons.OK, MessageBoxIcon.Information); - //this._runtime.IsReturn = true; - return; - } - var dataGridViewRow = clientGridView.SelectedRows[0]; - var id = Convert.ToInt32(dataGridViewRow.Cells["Id"].Value); - LjPlanningEntity ljPlanningEntity = FreeSqlUnit.Instance.Select().Where(x => x.Id == id).ToOne(); - LjFormulaEntity ljFormulaEntity = FreeSqlUnit.Instance.Select().Where(x => x.Id == ljPlanningEntity.FormulaId).ToOne(); - List ljFormulaDetailEntity = FreeSqlUnit.Instance.Select().Where(x => x.FormulaId == ljFormulaEntity.Id).ToList(); - FreeSqlUnit.Instance.Delete().Where(x => x.PlanId == ljPlanningEntity.Id && x.FormulaId == ljFormulaEntity.Id).ExecuteDeleted(); + FreeSqlUnit.Instance.Delete(). + Where(x => x.PlanId == ljPlanningEntity.Id + && x.FormulaId == ljFormulaEntity.Id).ExecuteDeleted(); - LjFormulaDownEntity ljFormulaDownEntity = new LjFormulaDownEntity() + + FreeSqlUnit.Instance.Delete() + .Where(x => x.PlanId == ljPlanningEntity.Id + && x.FormulaId == ljFormulaEntity.Id).ExecuteDeleted(); + + LjFormulaDownEntity ljFormulaDownEntity = new LjFormulaDownEntity() { CbSiloC = ljFormulaEntity.CbSiloC, CbSiloH = ljFormulaEntity.CbSiloH, @@ -61,11 +69,13 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning List ljFormulaDetailDownEntity = new List(); - LjFormulaDetailDownEntity singleEntity; + + + foreach (LjFormulaDetailEntity Entity in ljFormulaDetailEntity) { - singleEntity = new LjFormulaDetailDownEntity() + LjFormulaDetailDownEntity singleEntity = new LjFormulaDetailDownEntity() { ActionCode = Entity.ActionCode, ActionId = Entity.ActionId, @@ -74,8 +84,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning CbCopyC = Entity.CbCopyC, CbCopyH = Entity.CbCopyH, CpSiloH = Entity.CpSiloH, + FormulaId = Entity.FormulaId, - FormulaType = Entity.FormulaType, + PlanId = ljPlanningEntity.Id, + + FormulaType = Entity.FormulaType, Machine = Entity.Machine, MachineType = Entity.MachineType, MId = Entity.MId, diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs index d769fc7..0f3db43 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs @@ -13,8 +13,7 @@ using Mesnac.Action.ChemicalWeighing.LjPlanning.Db; using Mesnac.Action.ChemicalWeighing.LjPlanning.Entity; using Mesnac.Action.ChemicalWeighing.LjProdcutLine; using DataBlockHelper.DBHelpers; - - +using DataBlockHelper; namespace Mesnac.Action.ChemicalWeighing.LjPlanning { @@ -31,7 +30,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning this._runtime = runtime; _materialGridControl = this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "lj_planning").FirstOrDefault(); //获取物料数据控件 - DownToDatabase downToDatabase = new DownToDatabase(_materialGridControl); + DataGridView clientGridView = this._materialGridControl.BaseControl as DataGridView; @@ -121,7 +120,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning //配方名称 var formulaId = ljPlanningView.FormulaId; var unit = ljPlanningView.Unit; - var plc = BasePlcHelper.Instance; + var formulDetail = LjFormulaDb.GetDetail(formulaId); Clean(unit); @@ -139,53 +138,60 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning if (dataDry1.H1 != null && dataDry1.H1.Count>0) { - - WriteEnbale(plc.EnableDryD1); + PlcConnect.Instance.Write($"DB2104.53.6",true); + } else { - WriteCanel(plc.EnableDryD1); + PlcConnect.Instance.Write($"DB2104.53.6", false); } var dataSilo1A = GetUnitSiloView(formulDetail, "A"); LjPlanningPlcHelp.DownG1Recipe(dataSilo1A.H1, dataSilo1A.H2, dataSilo1A.R1); - if (dataSilo1A.H1 != null && dataSilo1A.H1.Count > 0) + //1#糊化机使能 + if (dataSilo1A.H2 != null && dataSilo1A.H2.Count > 0) { - WriteEnbale(plc.EnableDryG1); + PlcConnect.Instance.Write($"DB2104.54.2", true); } else { - WriteCanel(plc.EnableDryG1); + PlcConnect.Instance.Write($"DB2104.54.2", false); } + + var dataSilo1B = GetUnitSiloView(formulDetail, "B"); LjPlanningPlcHelp.DownG2Recipe(dataSilo1B.H1, dataSilo1B.H2, dataSilo1B.R1); - if (dataSilo1B.H1 != null && dataSilo1B.H1.Count > 0) - { - WriteEnbale(plc.EnableDryG2); + + + //2#糊化机使能 + if (dataSilo1B.H2 != null && dataSilo1B.H2.Count > 0) + { + PlcConnect.Instance.Write($"DB2104.54.3", true); } else { - WriteCanel(plc.EnableDryG2); + PlcConnect.Instance.Write($"DB2104.54.3", false); } + // 1#湿混机使能 var dataWeter1A = GetUnitWeterView(formulDetail, "A"); LjPlanningPlcHelp.DownM1Recipe(dataWeter1A.R2); + if (dataWeter1A.R2 != null && dataWeter1A.R2.Count>0) { - WriteEnbale(plc.EnableDryM1); - + PlcConnect.Instance.Write($"DB2104.55.2", true); } else { - WriteCanel(plc.EnableDryM1); + PlcConnect.Instance.Write($"DB2104.55.2", false); } @@ -195,19 +201,21 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning if (dataWeter1B.R2 != null && dataWeter1B.R2.Count > 0) { - WriteEnbale(plc.EnableDryM2); - + PlcConnect.Instance.Write($"DB2104.55.3", true); } else { - WriteCanel(plc.EnableDryM2); + PlcConnect.Instance.Write($"DB2104.55.3", false); } + PlcConnect.Instance.Write($"DB2105.0.0", Convert.ToUInt16(formulaId)); + PlcConnect.Instance.Write($"DB2105.2.0", Convert.ToUInt16(ljPlanningView.Id)); + PlcConnect.Instance.Write($"DB2105.4.0", Convert.ToUInt16(ljPlanningView.NumCar)); + var sss= PlcConnect.Instance.Write($"DB2105.6.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write($"DB2105.8.0", Convert.ToUInt16(0)); + PlcConnect.Instance.Write($"DB2105.10.0", Convert.ToUInt16(0)); - plc.PlcWriteByDataKey(plc.Plan0_RecipeCode, new object[] { formulaId }); - plc.PlcWriteByDataKey(plc.Plan0_PlanCode, new object[] { ljPlanningView.Id }); - plc.PlcWriteByDataKey(plc.Plan0_Batch, new object[] { ljPlanningView.NumCar }); - plc.PlcWriteByDataKey(plc.Plan0_Start, new object[] { 1 }); + //把状态变成执行 @@ -225,64 +233,76 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning var dataDry2 = GetUnitDryView(formulDetail); LjPlanningPlcHelp.DownD2Recipe(dataDry2.H1, dataDry2.R1); - if (dataDry2.H1 != null) + if (dataDry2.H1 != null && dataDry2.H1.Count>0) { - WriteEnbale(plc.EnableDryD2); + PlcConnect.Instance.Write($"DB2104.53.7", true); } else { - WriteCanel(plc.EnableDryD2); + PlcConnect.Instance.Write($"DB2104.53.7", false); } - + //3#糊化机使能 var dataSilo2A = GetUnitSiloView(formulDetail, "A"); LjPlanningPlcHelp.DownG3Recipe(dataSilo2A.H1, dataSilo2A.H2, dataSilo2A.R1); - if (dataSilo2A.H1 != null) + if (dataSilo2A.H1 != null && dataSilo2A.H1.Count>0) { - WriteEnbale(plc.EnableDryG3); + PlcConnect.Instance.Write($"DB2104.54.4", true); } else { - WriteCanel(plc.EnableDryG3); + PlcConnect.Instance.Write($"DB2104.54.4", false); } var dataSilo2B = GetUnitSiloView(formulDetail, "B"); - + //4#糊化机使能 LjPlanningPlcHelp.DownG4Recipe(dataSilo2B.H1, dataSilo2B.H2, dataSilo2B.R1); - if (dataSilo2B.H1 != null) + if (dataSilo2B.H1 != null && dataSilo2B.H1.Count>0) { - WriteEnbale(plc.EnableDryG4); + PlcConnect.Instance.Write($"DB2104.54.5", true); } else { - WriteCanel(plc.EnableDryG4); + PlcConnect.Instance.Write($"DB2104.54.5", false); } + + var dataWeter2A = GetUnitWeterView(formulDetail, "A"); LjPlanningPlcHelp.DownM3Recipe(dataWeter2A.R2); - if (dataWeter2A.R2 != null) + if (dataWeter2A.R2 != null && dataWeter2A.R2.Count>0) + { + PlcConnect.Instance.Write($"DB2104.55.4", true); + } + else { - WriteEnbale(plc.EnableDryM3); + PlcConnect.Instance.Write($"DB2104.55.4", false); } var dataWeter2B = GetUnitWeterView(formulDetail, "B"); LjPlanningPlcHelp.DownM4Recipe(dataWeter2B.R2); - if (dataWeter2B.R2 != null) + if (dataWeter2B.R2 != null && dataWeter2B.R2.Count > 0) + { + PlcConnect.Instance.Write($"DB2104.55.5", true); + } + else { - WriteEnbale(plc.EnableDryM4); + PlcConnect.Instance.Write($"DB2104.55.5", false); } - plc.PlcWriteByDataKey(plc.Plan1_RecipeCode, new object[] { formulaId }); - plc.PlcWriteByDataKey(plc.Plan1_RecipeCode, new object[] { ljPlanningView.Id }); - plc.PlcWriteByDataKey(plc.Plan1_Batch, new object[] { ljPlanningView.NumCar }); + PlcConnect.Instance.Write($"DB2105.12.0", Convert.ToUInt16(formulaId)); + PlcConnect.Instance.Write($"DB2105.14.0", Convert.ToUInt16(ljPlanningView.Id)); + PlcConnect.Instance.Write($"DB2105.16.0", Convert.ToUInt16(ljPlanningView.NumCar)); + PlcConnect.Instance.Write($"DB2105.18.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write($"DB2105.20.0", Convert.ToUInt16(0)); + PlcConnect.Instance.Write($"DB2105.22.0", Convert.ToUInt16(0)); - plc.PlcWriteByDataKey(plc.Plan1_Start, new object[] { 1 }); //把状态变成执行 LjPlanningDb.UpdateStatus(1, ljPlanningView.Id); LjPlanningDb.UpdateBeginTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), ljPlanningView.Id); @@ -293,52 +313,77 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning var dataDry3 = GetUnitDryView(formulDetail); LjPlanningPlcHelp.DownD3Recipe(dataDry3.H1, dataDry3.R1); - if (dataDry3.H1 != null) + if (dataDry3.H1 != null && dataDry3.H1.Count>0) { - WriteEnbale(plc.EnableDryD3); + PlcConnect.Instance.Write($"DB2104.54.0", true); } + else + { + PlcConnect.Instance.Write($"DB2104.54.0", false); + } + //5#糊化机使能 var dataSilo3A = GetUnitSiloView(formulDetail, "A"); LjPlanningPlcHelp.DownG5Recipe(dataSilo3A.H1, dataSilo3A.H2, dataSilo3A.R1); - if (dataSilo3A.H1 != null) + if (dataSilo3A.H1 != null && dataSilo3A.H1.Count > 0) + { + PlcConnect.Instance.Write($"DB2104.54.6", true); + } + else { - WriteEnbale(plc.EnableDryG5); + PlcConnect.Instance.Write($"DB2104.54.6", false); + } + //6#糊化机使能 var dataSilo3B = GetUnitSiloView(formulDetail, "B"); LjPlanningPlcHelp.DownG6Recipe(dataSilo3B.H1, dataSilo3B.H2, dataSilo3B.R1); - if (dataSilo3B.H1 != null) + if (dataSilo3B.H1 != null && dataSilo3B.H1.Count > 0) + { + PlcConnect.Instance.Write($"DB2104.54.7", true); + } + else { - WriteEnbale(plc.EnableDryG6); + PlcConnect.Instance.Write($"DB2104.54.7", false); + } var dataWeter3A = GetUnitWeterView(formulDetail, "A"); LjPlanningPlcHelp.DownM5Recipe(dataWeter3A.R2); - if (dataWeter3A.R2 != null) + if (dataWeter3A.R2 != null && dataWeter3A.R2.Count>0) { - WriteEnbale(plc.EnableDryM5); + PlcConnect.Instance.Write($"DB2104.55.6", true); + } + else + { + PlcConnect.Instance.Write($"DB2104.55.6", false); } var dataWeter3B = GetUnitWeterView(formulDetail, "B"); LjPlanningPlcHelp.DownM6Recipe(dataWeter3B.R2); - if (dataWeter3B.R2 != null) + if (dataWeter3B.R2 != null && dataWeter3B.R2.Count>0) { - WriteEnbale(plc.EnableDryM6); + PlcConnect.Instance.Write($"DB2104.55.7", true); + } + else + { + PlcConnect.Instance.Write($"DB2104.55.7", false); } - plc.PlcWriteByDataKey(plc.Plan2_RecipeCode, new object[] { formulaId }); - plc.PlcWriteByDataKey(plc.Plan2_RecipeCode, new object[] { ljPlanningView.Id }); - plc.PlcWriteByDataKey(plc.Plan2_Batch, new object[] { ljPlanningView.NumCar }); - - plc.PlcWriteByDataKey(plc.Plan2_Start, new object[] { 1 }); + PlcConnect.Instance.Write($"DB2105.24.0", Convert.ToUInt16(formulaId)); + PlcConnect.Instance.Write($"DB2105.26.0", Convert.ToUInt16(ljPlanningView.Id)); + PlcConnect.Instance.Write($"DB2105.28.0", Convert.ToUInt16(ljPlanningView.NumCar)); + PlcConnect.Instance.Write($"DB2105.30.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write($"DB2105.32.0", Convert.ToUInt16(0)); + PlcConnect.Instance.Write($"DB2105.34.0", Convert.ToUInt16(0)); //把状态变成执行 LjPlanningDb.UpdateStatus(1, ljPlanningView.Id); LjPlanningDb.UpdateBeginTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), ljPlanningView.Id); @@ -351,9 +396,13 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning var dataDry4 = GetUnitDryView(formulDetail); LjPlanningPlcHelp.DownD4Recipe(dataDry4.H1, dataDry4.R1); - if (dataDry4.H1 != null) + if (dataDry4.H1 != null && dataDry4.H1.Count>0) + { + PlcConnect.Instance.Write($"DB2104.54.1", true); + } + else { - WriteEnbale(plc.EnableDryD4); + PlcConnect.Instance.Write($"DB2104.54.1", false); } @@ -362,18 +411,29 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning var dataSilo4A = GetUnitSiloView(formulDetail, "A"); LjPlanningPlcHelp.DownG7Recipe(dataSilo4A.H1, dataSilo4A.H2, dataSilo4A.R1); - if (dataSilo4A.H1 != null) + if (dataSilo4A.H1 != null && dataSilo4A.H1.Count > 0) + { + PlcConnect.Instance.Write($"DB2104.55.0", true); + } + else { - WriteEnbale(plc.EnableDryG7); + PlcConnect.Instance.Write($"DB2104.55.0", false); + } + // 8#糊化机使能 var dataSilo4B = GetUnitSiloView(formulDetail, "B"); LjPlanningPlcHelp.DownG8Recipe(dataSilo4B.H1, dataSilo4B.H2, dataSilo4B.R1); - if (dataSilo4B.H1 != null) + if (dataSilo4B.H1 != null && dataSilo4B.H1.Count > 0) { - WriteEnbale(plc.EnableDryG8); + PlcConnect.Instance.Write($"DB2104.55.1", true); + } + else + { + PlcConnect.Instance.Write($"DB2104.55.1", false); + } @@ -381,25 +441,34 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning LjPlanningPlcHelp.DownM7Recipe(dataWeter4A.R2); - if (dataWeter4A.R2 != null) + if (dataWeter4A.R2 != null && dataWeter4A.R2.Count>0) { - WriteEnbale(plc.EnableDryM7); + PlcConnect.Instance.Write($"DB2104.56.0", true); + } + else + { + PlcConnect.Instance.Write($"DB2104.56.0", false); } var dataWeter4B = GetUnitWeterView(formulDetail, "B"); LjPlanningPlcHelp.DownM8Recipe(dataWeter4B.R2); - if (dataWeter4B.R2 != null) + if (dataWeter4B.R2 != null && dataWeter4B.R2.Count>0) { - WriteEnbale(plc.EnableDryM8); - + PlcConnect.Instance.Write($"DB2104.56.1", true); + } + else + { + PlcConnect.Instance.Write($"DB2104.56.1", false); } - plc.PlcWriteByDataKey(plc.Plan3_RecipeCode, new object[] { formulaId }); - plc.PlcWriteByDataKey(plc.Plan3_RecipeCode, new object[] { ljPlanningView.Id }); - plc.PlcWriteByDataKey(plc.Plan3_Batch, new object[] { ljPlanningView.NumCar }); - plc.PlcWriteByDataKey(plc.Plan3_Start, new object[] { 1 }); + PlcConnect.Instance.Write($"DB2105.36.0", Convert.ToUInt16(formulaId)); + PlcConnect.Instance.Write($"DB2105.38.0", Convert.ToUInt16(ljPlanningView.Id)); + PlcConnect.Instance.Write($"DB2105.40.0", Convert.ToUInt16(ljPlanningView.NumCar)); + PlcConnect.Instance.Write($"DB2105.42.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write($"DB2105.44.0", Convert.ToUInt16(0)); + PlcConnect.Instance.Write($"DB2105.46.0", Convert.ToUInt16(0)); //把状态变成执行 LjPlanningDb.UpdateStatus(1, ljPlanningView.Id); LjPlanningDb.UpdateBeginTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), ljPlanningView.Id); @@ -407,7 +476,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning } - + + DownToDatabase downToDatabase = new DownToDatabase(ljPlanningView.Id); + } else @@ -556,20 +627,28 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning - public void Clean(int unit) + public List GetRecipePlcViews(int num) { - - List H1 = new List(); - List< Step > sto = new List< Step >(); - List < MixStep > mixSteps=new List (); - for (int i = 0; i < 12; i++) { + + for (int i = 0; i < num; i++) + { H1.Add(new RecipePlcView() { Bin = 0, Set = 0, TolErance = 0 }); + } + + return H1; + } + + public List GetStep(int num) + { + List< Step > sto = new List< Step >(); + for (int i = 0; i < num; i++) + { sto.Add(new Step() { MixCode = 0, @@ -578,55 +657,70 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning MixTime = 0 }); + } - mixSteps.Add(new MixStep() + return sto; + } + + public List GetMixStep(int num) + { + List< MixStep > sto = new List< MixStep >(); + for (int i = 0; i < num; i++) + { + sto.Add(new MixStep() { MixCode = 0, MixSpeed = 0, MixTemp = 0, - MixTime = 0, - SetTolerance = 0, - SetValue = 0 + MixTime = 0 + }); } + return sto; + } + + + private void Clean(int unit) + { + if(unit == 1) { - LjPlanningPlcHelp.DownD1Recipe(H1, sto); - LjPlanningPlcHelp.DownG1Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownG2Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownM1Recipe(mixSteps); - LjPlanningPlcHelp.DownM2Recipe(mixSteps); + LjPlanningPlcHelp.DownD1Recipe(GetRecipePlcViews(4), GetStep(10)); + LjPlanningPlcHelp.DownG1Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownG2Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownM1Recipe(GetMixStep(10)); + LjPlanningPlcHelp.DownM2Recipe(GetMixStep(10)); } if (unit == 2) { - LjPlanningPlcHelp.DownD2Recipe(H1, sto); - LjPlanningPlcHelp.DownG3Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownG4Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownM3Recipe(mixSteps); - LjPlanningPlcHelp.DownM4Recipe(mixSteps); + LjPlanningPlcHelp.DownD2Recipe(GetRecipePlcViews(4), GetStep(10)); + LjPlanningPlcHelp.DownG3Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownG4Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownM3Recipe(GetMixStep(10)); + LjPlanningPlcHelp.DownM4Recipe(GetMixStep(10)); } if (unit == 3) { - LjPlanningPlcHelp.DownD3Recipe(H1, sto); - LjPlanningPlcHelp.DownG5Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownG6Recipe(H1, H1, sto); + LjPlanningPlcHelp.DownD3Recipe(GetRecipePlcViews(4), GetStep(10)); + LjPlanningPlcHelp.DownG5Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownG6Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); - LjPlanningPlcHelp.DownM5Recipe(mixSteps); - LjPlanningPlcHelp.DownM6Recipe(mixSteps); + LjPlanningPlcHelp.DownM5Recipe(GetMixStep(10)); + LjPlanningPlcHelp.DownM6Recipe(GetMixStep(10)); } if (unit == 4) { - LjPlanningPlcHelp.DownD4Recipe(H1, sto); - LjPlanningPlcHelp.DownG7Recipe(H1, H1, sto); - LjPlanningPlcHelp.DownG8Recipe(H1, H1, sto); + LjPlanningPlcHelp.DownD4Recipe(GetRecipePlcViews(4), GetStep(10)); + LjPlanningPlcHelp.DownG7Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); + LjPlanningPlcHelp.DownG8Recipe(GetRecipePlcViews(2),GetRecipePlcViews(2), GetStep(10)); - LjPlanningPlcHelp.DownM7Recipe(mixSteps); - LjPlanningPlcHelp.DownM8Recipe(mixSteps); + LjPlanningPlcHelp.DownM7Recipe(GetMixStep(10)); + LjPlanningPlcHelp.DownM8Recipe(GetMixStep(10)); } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs index 54abe63..fba6967 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs @@ -1,206 +1,88 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Linq; +using DataBlockHelper; using Mesnac.Action.ChemicalWeighing.LjMixManager; namespace Mesnac.Action.ChemicalWeighing.LjPlanning { public class LjPlanningPlcHelp { + + + private static void Dowd(int start, RecipePlcView view) + { + int bin = start; + PlcConnect.Instance.Write($"DB2104.{bin}.0", Convert.ToUInt16(view.Bin)); + int set = start+2; + PlcConnect.Instance.Write($"DB2104.{set}.0", Convert.ToSingle(view.Set)); + int tolerance = start+6; + PlcConnect.Instance.Write($"DB2104.{tolerance}.0", Convert.ToSingle(view.TolErance)); + + } + + private static void DowSteps(int start, Step step) + { + int mixCode = start; + PlcConnect.Instance.Write($"DB2104.{mixCode}.0", Convert.ToUInt16(step.MixCode)); + int mixTime = start + 2; + PlcConnect.Instance.Write($"DB2104.{mixTime}.0", Convert.ToUInt16(step.MixTime)); + + int mixTemp = start + 4; + PlcConnect.Instance.Write($"DB2104.{mixTemp}.0", Convert.ToSingle(step.MixTemp)); + int mixSpeed = start + 8; + + PlcConnect.Instance.Write($"DB2104.{mixSpeed}.0", Convert.ToSingle(step.MixSpeed)); + } + + + private static void DowMSteps(int start, MixStep step) + { + int mixCode = start; + PlcConnect.Instance.Write($"DB2104.{mixCode}.0", Convert.ToUInt16(step.MixCode)); + int mixTime = start + 2; + PlcConnect.Instance.Write($"DB2104.{mixTime}.0", Convert.ToUInt16(step.MixTime)); + + int mixTemp = start + 4; + PlcConnect.Instance.Write($"DB2104.{mixTemp}.0", Convert.ToSingle(step.MixTemp)); + int mixSpeed = start + 8; + + PlcConnect.Instance.Write($"DB2104.{mixSpeed}.0", Convert.ToSingle(step.MixSpeed)); + + int setValue = start + 12; + + PlcConnect.Instance.Write($"DB2104.{setValue}.0", Convert.ToSingle(step.SetValue)); + + int tolerance = start + 16; + + PlcConnect.Instance.Write($"DB2104.{tolerance}.0", Convert.ToSingle(step.SetTolerance)); + } + + /// /// 干混机1 /// /// /// public static void DownD1Recipe(List recipePlcViews, List recipeSteps) - { - var basePlcHelper = BasePlcHelper.Instance; + { + int begin = 58; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip0_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Tolerance, view.TolErance); - - continue; - - - - } - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip1_Bin, - new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Tolerance, view.TolErance); - continue; - } - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip2_Bin, - new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Tolerance, view.TolErance); - continue; - } - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip3_Bin, - new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Tolerance, view.TolErance); - - } + Dowd(begin, view); + begin += 10; } + begin = 98; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step0_MixCode, - new object[] { view.MixCode }); - - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step0_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step1_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step2_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step3_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step4_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step5_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step6_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step7_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step8_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } - } @@ -209,602 +91,72 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning public static void DownD2Recipe(List recipePlcViews, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + + int begin = 218; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip0_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip0_Tolerance, view.TolErance); - continue; - - } - - - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip1_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip1_Tolerance, view.TolErance); - continue; - } - - - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip2_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Tolerance, view.TolErance); - continue; - } - - - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip3_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip3_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip3_Tolerance, view.TolErance); - continue; - } - - - - - - - + Dowd(begin, view); + begin += 10; } + + begin = 258; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } + } public static void DownD3Recipe(List recipePlcViews, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + + int begin = 378; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip0_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip0_Tolerance, view.TolErance); - continue; - } - - - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip1_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip1_Tolerance, view.TolErance); - continue; - } - - - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip2_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip2_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip2_Tolerance, view.TolErance); - continue; - } - - - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip3_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip3_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip3_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 418; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step0_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step1_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step2_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step3_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step4_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step5_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step6_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step7_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step8_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } + } public static void DownD4Recipe(List recipePlcViews, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + int begin = 538; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip0_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip0_Tolerance, view.TolErance); - continue; - } - - - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip1_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip1_Tolerance, view.TolErance); - continue; - } - - - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip2_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip2_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip2_Tolerance, view.TolErance); - continue; - } - - - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip3_Bin, - new object[] { view.Bin }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip3_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip3_Tolerance, view.TolErance); - continue; - } - - - - - + Dowd(begin, view); + begin += 10; } + + begin = 578; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step0_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step1_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step2_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step3_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step4_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step5_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step6_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step7_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step8_MixSpeed, view.MixSpeed); - continue; - } - - if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step9_MixSpeed, view.MixSpeed); - continue; - } - - + DowSteps(begin, view); + begin += 12; + } + } @@ -812,208 +164,32 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning public static void DownG1Recipe(List recipePlcViews,List reShui,List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + + int begin = 698; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG1Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG1Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip1_Tolerance, view.TolErance); - continue; - } - - - + Dowd(begin, view); + begin += 10; } + - + begin = 718; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip1_Tolerance, view.TolErance); - continue; - } - - - + Dowd(begin, view); + begin += 10; } - + begin = 738; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG1Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step9_MixSpeed, view.MixSpeed); - continue; - } - - - - - - + DowSteps(begin, view); + begin += 12; + } } @@ -1021,2541 +197,314 @@ if (i == 9) public static void DownG2Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + int begin = 858; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG2Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG2Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 878; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 898; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG2Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step9_MixSpeed, view.MixSpeed); - continue; - } - - + DowSteps(begin, view); + begin += 12; + } } public static void DownG3Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + int begin = 1018; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG3Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG3Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip1_Tolerance, view.TolErance); - continue; - } + Dowd(begin, view); + begin += 10; } + + begin = 1038; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip1_Tolerance, view.TolErance); - continue; - } - - + Dowd(begin, view); + begin += 10; } + + begin = 1058; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG3Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; } } public static void DownG4Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + int begin = 1178; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG4Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG4Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 1198; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 1218; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG4Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } + } public static void DownG5Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + int begin = 1338; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG5Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip0_Tolerance, view.TolErance); - - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG5Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip1_Tolerance, view.TolErance); - continue; - } + Dowd(begin, view); + begin += 10; } + + begin = 1358; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - if (i == 0) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 1378; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG5Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step9_MixSpeed, view.MixSpeed); - continue; - } - - - - + DowSteps(begin, view); + begin += 12; } } public static void DownG6Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + + int begin =1498; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG6Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG6Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip1_Tolerance, view.TolErance); - continue; - } + Dowd(begin, view); + begin += 10; } + + begin = 1518; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - - if (i == 0) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 1538; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG6Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } } public static void DownG7Recipe(List recipePlcViews, List reShui, - List recipeSteps) - { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipePlcViews.Count(); i++) - { - var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG7Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG7Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip1_Tolerance, view.TolErance); - continue; - } + List recipeSteps) + { + + int begin =1658; + for (int i = 0; i < recipePlcViews.Count(); i++) + { + var view = recipePlcViews[i]; + Dowd(begin, view); + begin += 10; } + + begin = 1678; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - if (i == 0) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip1_Tolerance, view.TolErance); - continue; - } - + Dowd(begin, view); + begin += 10; } + + begin = 1698; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step7_MixSpeed, view.MixSpeed); - continue; - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step8_MixSpeed, view.MixSpeed); - continue; - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG7Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step9_MixSpeed, view.MixSpeed); - continue; - } - + DowSteps(begin, view); + begin += 12; + } + } public static void DownG8Recipe(List recipePlcViews, List reShui, List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; + + int begin =1818; for (int i = 0; i < recipePlcViews.Count(); i++) { var view = recipePlcViews[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG8Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.GelatG8Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip1_Tolerance, view.TolErance); - continue; - } + Dowd(begin, view); + begin += 10; } + + begin = 1838; for (int i = 0; i < reShui.Count(); i++) { var view = reShui[i]; - - if (i == 0) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Recip0_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip0_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip0_Tolerance, view.TolErance); - continue; - } - if (i == 1) - - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Recip1_Bin, new object[] - { - view.Bin - }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip1_Set, - view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip1_Tolerance, view.TolErance); - continue; - } - - + Dowd(begin, view); + begin += 10; } + + begin = 1858; for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step0_MixSpeed, view.MixSpeed); - continue; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step1_MixSpeed, view.MixSpeed); - continue; - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step2_MixSpeed, view.MixSpeed); - continue; - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step3_MixSpeed, view.MixSpeed); - continue; - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step4_MixSpeed, view.MixSpeed); - continue; - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step5_MixSpeed, view.MixSpeed); - continue; - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step6_MixSpeed, view.MixSpeed); - continue; - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step7_MixSpeed, view.MixSpeed); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step8_MixSpeed, view.MixSpeed); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WaterSCG8Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step9_MixSpeed, view.MixSpeed); - } - + DowSteps(begin, view); + begin += 12; + } } public static void DownM1Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + + int begin = 1978; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step1_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step1_Tolerance, view.SetTolerance); - - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step2_Tolerance, view.SetTolerance); - - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step3_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step3_Tolerance, view.SetTolerance); - - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step4_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step4_Tolerance, view.SetTolerance); - - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step5_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step5_Tolerance, view.SetTolerance); - - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step6_MixSpeed, view.MixSpeed); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step6_Tolerance, view.SetTolerance); - - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step7_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step7_Tolerance, view.SetTolerance); - - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step8_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM1Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM1Step9_Tolerance, view.SetTolerance); - } - - + DowMSteps(begin, view); + begin += 20; + } + } public static void DownM2Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 2178; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step0_Tolerance, view.SetTolerance); - - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step1_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step1_Tolerance, view.SetTolerance); - - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step2_Tolerance, view.SetTolerance); - - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step3_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step3_Tolerance, view.SetTolerance); - - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step4_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step4_Tolerance, view.SetTolerance); - - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step5_MixSpeed, view.MixSpeed); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step6_MixSpeed, view.MixSpeed); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step7_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step8_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step8_Tolerance, view.SetTolerance); - - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM2Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM2Step9_Tolerance, view.SetTolerance); - } + DowMSteps(begin, view); + begin += 20; + } } public static void DownM3Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 2378; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step0_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step1_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step2_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step2_Tolerance, view.SetTolerance); - - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step3_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step4_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step6_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step7_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step8_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM3Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM3Step9_Tolerance, view.SetTolerance); - } - + DowMSteps(begin, view); + begin += 20; + } } public static void DownM4Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 2578; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step1_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step2_Tolerance, view.SetTolerance); - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step3_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step4_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step6_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step7_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step8_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM4Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM4Step9_Tolerance, view.SetTolerance); - } - + DowMSteps(begin, view); + begin += 20; + } } public static void DownM5Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 2778; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step1_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step2_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step2_Tolerance, view.SetTolerance); - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step3_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step4_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step6_MixSpeed, view.MixSpeed); - - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step7_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step8_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM5Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step9_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM5Step9_Tolerance, view.SetTolerance); - } - + DowMSteps(begin, view); + begin += 20; + } } public static void DownM6Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 2978; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - -if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step1_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step2_Tolerance, view.SetTolerance); - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step3_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step4_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step6_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step7_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step8_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM6Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM6Step9_Tolerance, view.SetTolerance); - } - - + DowMSteps(begin, view); + begin += 20; + } } public static void DownM7Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 3178; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step0_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step0_Tolerance, view.SetTolerance); - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step1_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step2_Tolerance, view.SetTolerance); - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step3_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step4_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step6_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step7_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step8_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM7Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step9_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM7Step9_Tolerance, view.SetTolerance); - } + DowMSteps(begin, view); + begin += 20; + } } public static void DownM8Recipe(List recipeSteps) { - var basePlcHelper = BasePlcHelper.Instance; - for (int i = 0; i < recipeSteps.Count; i++) + int begin = 3378; + for (int i = 0; i < recipeSteps.Count(); i++) { var view = recipeSteps[i]; - if (i == 0) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step0_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step0_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_Tolerance, view.SetTolerance); - return; - } -if (i == 1) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step1_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step1_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step1_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step1_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step1_Tolerance, view.SetTolerance); - } -if (i == 2) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step2_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step2_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step2_MixSpeed, view.MixSpeed); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step2_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step2_Tolerance, view.SetTolerance); - } -if (i == 3) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step3_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step3_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step3_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step3_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step3_Tolerance, view.SetTolerance); - } -if (i == 4) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step4_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step4_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step4_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step4_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step4_Tolerance, view.SetTolerance); - } -if (i == 5) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step5_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step5_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step5_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step5_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step5_Tolerance, view.SetTolerance); - } -if (i == 6) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step6_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step6_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step6_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step6_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step6_Tolerance, view.SetTolerance); - } -if (i == 7) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step7_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step7_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step7_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step7_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step7_Tolerance, view.SetTolerance); - } -if (i == 8) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step8_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step8_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step8_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step8_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step8_Tolerance, view.SetTolerance); - } -if (i == 9) - { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step9_MixCode, - new object[] { view.MixCode }); - - basePlcHelper.PlcWriteByDataKey(basePlcHelper.WeterM8Step9_MixTime, - new object[] { view.MixTime }); - - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step9_MixSpeed, view.MixSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step9_SetValue, view.SetValue); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step9_Tolerance, view.SetTolerance); - } + DowMSteps(begin, view); + begin += 20; + } + } } } \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/PauseAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/PauseAction.cs index aa20a28..a564461 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/PauseAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/PauseAction.cs @@ -1,6 +1,9 @@ using System; using System.Linq; using System.Windows.Forms; + +using DataBlockHelper; + using Mesnac.Action.Base; using Mesnac.Action.ChemicalWeighing.LjPlanning.Db; @@ -42,10 +45,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning //Pause - var i = BasePlcHelper.Instance.RecipePause.LastValue.ToInt(); + string message = "是否暂停系统"; var formul = LjFormulaDb.GetById(id); - var plc = BasePlcHelper.Instance; + if (MessageBox.Show(message, "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK) { @@ -53,18 +56,24 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning switch (unit) { case 1: - plc.PlcWriteByDataKey(plc.Plan0_Pause, new object[] { 1 }); + + PlcConnect.Instance.Write($"DB2105.8.0", Convert.ToUInt16(1)); + + // plc.PlcWriteByDataKey(plc.Plan0_Pause, new object[] { 1 }); break; case 2: - plc.PlcWriteByDataKey(plc.Plan1_Pause, new object[] { 1 }); + PlcConnect.Instance.Write($"DB2105.20.0", Convert.ToUInt16(1)); + // plc.PlcWriteByDataKey(plc.Plan1_Pause, new object[] { 1 }); break; case 3: - plc.PlcWriteByDataKey(plc.Plan2_Pause, new object[] { 1 }); + PlcConnect.Instance.Write($"DB2105.32.0", Convert.ToUInt16(1)); + // plc.PlcWriteByDataKey(plc.Plan2_Pause, new object[] { 1 }); break; case 4: - plc.PlcWriteByDataKey(plc.Plan3_Pause, new object[] { 1 }); + PlcConnect.Instance.Write($"DB2105.44.0", Convert.ToUInt16(1)); + // plc.PlcWriteByDataKey(plc.Plan3_Pause, new object[] { 1 }); break; default: break; diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs index df4c94a..c59f669 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Linq; using DataBlockHelper.DBHelpers; using DataBlockHelper.DbWrite; +using DataBlockHelper.Entity.DB2107Entity; + using DevExpress.XtraGauges.Core.Model; using DevExpress.XtraRichEdit.API.Layout; @@ -16,31 +18,28 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure private static void DownDbw12(PressureSettingView view) { - if (view != null) - { - // var basePlcHelper = GetPlcHelper; - // basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V1_LowLimit, view.LowLimit); - // basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V1_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.mainPress_V1_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); - - - - } + - PlcWriteUtil plcWriter = new PlcWriteUtil(); + if (view != null) { - // var basePlcHelper = GetPlcHelper; - - var ss= plcWriter.Write(PlcDbEnum.Db2107,"16.0",PlcDbType.PlcFloat,view.LowLimit); - ss= plcWriter.Write(PlcDbEnum.Db2107,"20.0",PlcDbType.PlcFloat,view.HighLimit); - + DownDbPressureSettingView(16,view); } } + static PlcWriteUtil plcWriter = new PlcWriteUtil(); + + private static void DownDbPressureSettingView(int start, PressureSettingView view) + { + int begin = start; + int end = begin + 4; + + plcWriter.Write(PlcDbEnum.Db2107, $"{begin}.0", PlcDbType.PlcFloat, view.LowLimit); + plcWriter.Write(PlcDbEnum.Db2107, $"{end}.0", PlcDbType.PlcFloat, view.HighLimit); + } + private static DB2107Helper _db2107Helper = new DB2107Helper(); @@ -66,45 +65,51 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_HighLimit, view.HighLimit); + + DownDbPressureSettingView(30, view); + + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_LowLimit, view.LowLimit); + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_HighLimit, view.HighLimit); } } private static PressureSettingView UpDbw26() { - var basePlcHelper = GetPlcHelper; + + var v1 = _db2107Helper.Pressure.TopPressure_V1; + + return GetSettingView(2, v1); + + } + + static PressureSettingView GetSettingView(int id, Pressure_HMI v1) + { PressureSettingView view = new PressureSettingView(); - view.Id = 2; - view.LowLimit = basePlcHelper.topPressure_V1_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.topPressure_V1_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.topPressure_V1_Alarm.NowValue.ToInt(); + view.Id = id; + view.LowLimit = v1.LowLimit; + view.HighLimit = v1.HighLimit; return view; } - + private static void DownDbw40(PressureSettingView view) { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V1_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V1_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V1_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(44, view); } } private static PressureSettingView UpDbw40() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 3; - view.LowLimit = basePlcHelper.linePressure_V1_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.linePressure_V1_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.linePressure_V1_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(3, _db2107Helper.Pressure.LinePressure_V1); + //view.Id = 3; + //view.LowLimit = basePlcHelper.linePressure_V1_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.linePressure_V1_HighLimit.NowValue.ToFloat(); + return view; } @@ -113,22 +118,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V2_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V2_HighLimit, view.HighLimit); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.mainPress_V2_Alarm, - new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(58, view); } } private static PressureSettingView UpDbw54() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 4; - view.LowLimit = basePlcHelper.mainPress_V2_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.mainPress_V2_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.mainPress_V2_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(4, _db2107Helper.Pressure.MainPress_V2); + //view.Id = 4; + //view.LowLimit = basePlcHelper.mainPress_V2_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.mainPress_V2_HighLimit.NowValue.ToFloat(); + //view.Alarm = basePlcHelper.mainPress_V2_Alarm.NowValue.ToInt(); return view; } @@ -137,22 +138,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V2_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V2_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V2_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(72, view); } } private static PressureSettingView UpDbw68() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 5; - view.LowLimit = basePlcHelper.topPressure_V2_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.topPressure_V2_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.topPressure_V2_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(5, _db2107Helper.Pressure.TopPressure_V2); + //view.Id = 5; + //view.LowLimit = basePlcHelper.topPressure_V2_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.topPressure_V2_HighLimit.NowValue.ToFloat(); + //view.Alarm = basePlcHelper.topPressure_V2_Alarm.NowValue.ToInt(); return view; } @@ -161,22 +158,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V2_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V2_HighLimit, view.HighLimit); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V2_Alarm, - new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(86, view); } } private static PressureSettingView UpDbw82() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 6; - view.LowLimit = basePlcHelper.linePressure_V2_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.linePressure_V2_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.linePressure_V2_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(6, _db2107Helper.Pressure.LinePressure_V2); + //view.Id = 6; + //view.LowLimit = basePlcHelper.linePressure_V2_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.linePressure_V2_HighLimit.NowValue.ToFloat(); + //view.Alarm = basePlcHelper.linePressure_V2_Alarm.NowValue.ToInt(); return view; } @@ -184,22 +177,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V3_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V3_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.mainPress_V3_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(100, view); } } private static PressureSettingView UpDbw96() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 7; - view.LowLimit = basePlcHelper.mainPress_V3_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.mainPress_V3_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.mainPress_V3_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(7, _db2107Helper.Pressure.MainPress_V3); + //view.Id = 7; + //view.LowLimit = basePlcHelper.mainPress_V3_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.mainPress_V3_HighLimit.NowValue.ToFloat(); + //view.Alarm = basePlcHelper.mainPress_V3_Alarm.NowValue.ToInt(); return view; } @@ -208,22 +197,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V3_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V3_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V3_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(114, view); } } private static PressureSettingView UpDbw110() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView(); - view.Id = 8; - view.LowLimit = basePlcHelper.topPressure_V3_LowLimit.NowValue.ToFloat(); - view.HighLimit = basePlcHelper.topPressure_V3_HighLimit.NowValue.ToFloat(); - view.Alarm = basePlcHelper.topPressure_V3_Alarm.NowValue.ToInt(); + + PressureSettingView view = GetSettingView(8, _db2107Helper.Pressure.TopPressure_V3); + //view.Id = 8; + //view.LowLimit = basePlcHelper.topPressure_V3_LowLimit.NowValue.ToFloat(); + //view.HighLimit = basePlcHelper.topPressure_V3_HighLimit.NowValue.ToFloat(); + //view.Alarm = basePlcHelper.topPressure_V3_Alarm.NowValue.ToInt(); return view; } @@ -231,24 +216,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V3_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V3_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V3_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(128, view); } } private static PressureSettingView UpDbw124() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 9, - LowLimit = basePlcHelper.linePressure_V3_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.linePressure_V3_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.linePressure_V3_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(9, _db2107Helper.Pressure.LinePressure_V3); + //{ + // Id = 9, + // LowLimit = basePlcHelper.linePressure_V3_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.linePressure_V3_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.linePressure_V3_Alarm.NowValue.ToInt() + //}; return view; } @@ -257,23 +238,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V4_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V4_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.mainPress_V4_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(142, view); } } private static PressureSettingView UpDbw138() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 10, - LowLimit = basePlcHelper.mainPress_V4_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.mainPress_V4_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.mainPress_V4_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(10, _db2107Helper.Pressure.MainPress_V4); + //{ + // Id = 10, + // LowLimit = basePlcHelper.mainPress_V4_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.mainPress_V4_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.mainPress_V4_Alarm.NowValue.ToInt() + //}; return view; } @@ -282,24 +259,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V4_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V4_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V4_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(156, view); } } private static PressureSettingView UpDbw152() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 11, - LowLimit = basePlcHelper.topPressure_V4_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.topPressure_V4_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.topPressure_V4_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(11, _db2107Helper.Pressure.TopPressure_V4); + //{ + // Id = 11, + // LowLimit = basePlcHelper.topPressure_V4_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.topPressure_V4_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.topPressure_V4_Alarm.NowValue.ToInt() + //}; return view; } @@ -307,24 +280,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V4_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V4_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V4_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(170, view); } } private static PressureSettingView UpDbw166() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 12, - LowLimit = basePlcHelper.linePressure_V4_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.linePressure_V4_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.linePressure_V4_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(12, _db2107Helper.Pressure.LinePressure_V4); + //{ + // Id = 12, + // LowLimit = basePlcHelper.linePressure_V4_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.linePressure_V4_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.linePressure_V4_Alarm.NowValue.ToInt() + //}; return view; } @@ -333,24 +302,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V5_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.mainPress_V5_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.mainPress_V5_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(184, view); } } private static PressureSettingView UpDbw180() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 13, - LowLimit = basePlcHelper.mainPress_V5_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.mainPress_V5_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.mainPress_V5_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(13, _db2107Helper.Pressure.MainPress_V5); + //{ + // Id = 13, + // LowLimit = basePlcHelper.mainPress_V5_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.mainPress_V5_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.mainPress_V5_Alarm.NowValue.ToInt() + //}; return view; } @@ -359,24 +324,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V5_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V5_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V5_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(198, view); } } private static PressureSettingView UpDbw194() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 14, - LowLimit = basePlcHelper.topPressure_V5_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.topPressure_V5_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.topPressure_V5_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(14, _db2107Helper.Pressure.TopPressure_V5); + //{ + // Id = 14, + // LowLimit = basePlcHelper.topPressure_V5_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.topPressure_V5_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.topPressure_V5_Alarm.NowValue.ToInt() + //}; return view; } @@ -384,24 +345,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V5_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V5_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V5_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(212, view); } } private static PressureSettingView UpDbw208() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 15, - LowLimit = basePlcHelper.linePressure_V5_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.linePressure_V5_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.linePressure_V5_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(15, _db2107Helper.Pressure.LinePressure_V5); + //{ + // Id = 15, + // LowLimit = basePlcHelper.linePressure_V5_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.linePressure_V5_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.linePressure_V5_Alarm.NowValue.ToInt() + //}; return view; } @@ -411,24 +368,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B1_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B1_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B1_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(226, view); } } private static PressureSettingView UpDbw222() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 16, - LowLimit = basePlcHelper.presDaybin_B1_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B1_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B1_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(16, _db2107Helper.Pressure.PressDaybin_B1); + //{ + // Id = 16, + // LowLimit = basePlcHelper.presDaybin_B1_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B1_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B1_Alarm.NowValue.ToInt() + //}; return view; } @@ -436,24 +389,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B2_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B2_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B2_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(240, view); } } private static PressureSettingView UpDbw236() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 17, - LowLimit = basePlcHelper.presDaybin_B2_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B2_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B2_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(17, _db2107Helper.Pressure.PressDaybin_B2); + //{ + // Id = 17, + // LowLimit = basePlcHelper.presDaybin_B2_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B2_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B2_Alarm.NowValue.ToInt() + //}; return view; } @@ -461,24 +410,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B3_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B3_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B3_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(254, view); } } private static PressureSettingView UpDbw250() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 18, - LowLimit = basePlcHelper.presDaybin_B3_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B3_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B3_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(18, _db2107Helper.Pressure.PressDaybin_B3); + //{ + // Id = 18, + // LowLimit = basePlcHelper.presDaybin_B3_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B3_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B3_Alarm.NowValue.ToInt() + //}; return view; } @@ -486,24 +431,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B4_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B4_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B4_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(268, view); } } private static PressureSettingView UpDbw264() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 19, - LowLimit = basePlcHelper.presDaybin_B4_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B4_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B4_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(19, _db2107Helper.Pressure.PressDaybin_B4); + //{ + // Id = 19, + // LowLimit = basePlcHelper.presDaybin_B4_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B4_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B4_Alarm.NowValue.ToInt() + //}; return view; } @@ -511,24 +452,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B5_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B5_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B5_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(282, view); } } private static PressureSettingView UpDbw278() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 20, - LowLimit = basePlcHelper.presDaybin_B5_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B5_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B5_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(20, _db2107Helper.Pressure.PressDaybin_B5); + //{ + // Id = 20, + // LowLimit = basePlcHelper.presDaybin_B5_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B5_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B5_Alarm.NowValue.ToInt() + //}; return view; } @@ -536,23 +473,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B6_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B6_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B6_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(296, view); } } private static PressureSettingView UpDbw292() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 21, - LowLimit = basePlcHelper.presDaybin_B6_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B6_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B6_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(21, _db2107Helper.Pressure.PressDaybin_B6); + //{ + // Id = 21, + // LowLimit = basePlcHelper.presDaybin_B6_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B6_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B6_Alarm.NowValue.ToInt() + //}; return view; } @@ -560,24 +493,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B7_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B7_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B7_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(310, view); } } private static PressureSettingView UpDbw306() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 22, - LowLimit = basePlcHelper.presDaybin_B7_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B7_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B7_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(22, _db2107Helper.Pressure.PressDaybin_B7); + //{ + // Id = 22, + // LowLimit = basePlcHelper.presDaybin_B7_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B7_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B7_Alarm.NowValue.ToInt() + //}; return view; } @@ -585,24 +514,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B8_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B8_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B8_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(324, view); } } private static PressureSettingView UpDbw320() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 23, - LowLimit = basePlcHelper.presDaybin_B8_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B8_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B8_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(23, _db2107Helper.Pressure.PressDaybin_B8); + //{ + // Id = 23, + // LowLimit = basePlcHelper.presDaybin_B8_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B8_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B8_Alarm.NowValue.ToInt() + //}; return view; } @@ -610,24 +535,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B9_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B9_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B9_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(338, view); } } private static PressureSettingView UpDbw334() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 24, - LowLimit = basePlcHelper.presDaybin_B9_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B9_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B9_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(24, _db2107Helper.Pressure.PressDaybin_B9); + //{ + // Id = 24, + // LowLimit = basePlcHelper.presDaybin_B9_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B9_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B9_Alarm.NowValue.ToInt() + //}; return view; } @@ -635,24 +556,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B10_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B10_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B10_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(352, view); } } private static PressureSettingView UpDbw348() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 25, - LowLimit = basePlcHelper.presDaybin_B10_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B10_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B10_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(25, _db2107Helper.Pressure.PressDaybin_B10); + //{ + // Id = 25, + // LowLimit = basePlcHelper.presDaybin_B10_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B10_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B10_Alarm.NowValue.ToInt() + //}; return view; } @@ -660,24 +577,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B11_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B11_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B11_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(366, view); } } private static PressureSettingView UpDbw362() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 26, - LowLimit = basePlcHelper.presDaybin_B11_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B11_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B11_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(26, _db2107Helper.Pressure.PressDaybin_B11); + //{ + // Id = 26, + // LowLimit = basePlcHelper.presDaybin_B11_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B11_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B11_Alarm.NowValue.ToInt() + //}; return view; } @@ -685,24 +598,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B12_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B12_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B12_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(380, view); } } private static PressureSettingView UpDbw376() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 27, - LowLimit = basePlcHelper.presDaybin_B12_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.presDaybin_B12_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.presDaybin_B12_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(27, _db2107Helper.Pressure.PressDaybin_B12); + //{ + // Id = 27, + // LowLimit = basePlcHelper.presDaybin_B12_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.presDaybin_B12_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.presDaybin_B12_Alarm.NowValue.ToInt() + //}; return view; } @@ -711,24 +620,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP01_B12_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(394, view); } } private static PressureSettingView UpDbw390() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 28, - LowLimit = basePlcHelper.PR2PCP01_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.PR2PCP01_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.PR2PCP01_B12_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(28, _db2107Helper.Pressure.PR2PCP01); + //{ + // Id = 28, + // LowLimit = basePlcHelper.PR2PCP01_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.PR2PCP01_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.PR2PCP01_B12_Alarm.NowValue.ToInt() + //}; return view; } @@ -737,24 +642,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP02_B12_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(408, view); } } private static PressureSettingView UpDbw404() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 29, - LowLimit = basePlcHelper.PR2PCP02_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.PR2PCP02_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.PR2PCP02_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(29, _db2107Helper.Pressure.PR2PCP02); + //{ + // Id = 29, + // LowLimit = basePlcHelper.PR2PCP02_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.PR2PCP02_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.PR2PCP02_Alarm.NowValue.ToInt() + //}; return view; } @@ -763,24 +664,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { if (view != null) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_LowLimit, view.LowLimit); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_HighLimit, view.HighLimit); - // basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP03_B12_Alarm, - // new object[] { Convert.ToBoolean(view.Alarm) }); + DownDbPressureSettingView(422, view); } } private static PressureSettingView UpDbw418() { - var basePlcHelper = GetPlcHelper; - PressureSettingView view = new PressureSettingView - { - Id = 30, - LowLimit = basePlcHelper.PR2PCP03_LowLimit.NowValue.ToFloat(), - HighLimit = basePlcHelper.PR2PCP03_HighLimit.NowValue.ToFloat(), - Alarm = basePlcHelper.PR2PCP03_Alarm.NowValue.ToInt() - }; + + PressureSettingView view = GetSettingView(30, _db2107Helper.Pressure.PR2PCP03); + //{ + // Id = 30, + // LowLimit = basePlcHelper.PR2PCP03_LowLimit.NowValue.ToFloat(), + // HighLimit = basePlcHelper.PR2PCP03_HighLimit.NowValue.ToFloat(), + // Alarm = basePlcHelper.PR2PCP03_Alarm.NowValue.ToInt() + //}; return view; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs index 1c5f89e..76818b1 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs @@ -1,53 +1,83 @@ -using System.Collections.Generic; +using DataBlockHelper; +using DataBlockHelper.DBHelpers; +using DataBlockHelper.Entity.DB2107Entity; + +using Mesnac.Action.ChemicalWeighing.LjWeight; + +using System; +using System.Collections.Generic; namespace Mesnac.Action.ChemicalWeighing.LjProportional { public class ProportionalPlc { - private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + + + private static DB2107Helper _db2107Helper = new DB2107Helper(); + + private static void DownProportionalSettingView(int start, ProportionalSettingView view) + { + int sv = start + 4; + PlcConnect.Instance.Write($"DB2107.{sv}.0", Convert.ToSingle(view.SV)); + + } private static void Down614(ProportionalSettingView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV1_SV, view.SV); + DownProportionalSettingView(614,view); + //var basePlcHelper = GetPlcHelper; + //basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV1_SV, view.SV); } } - - private static ProportionalSettingView Up614() + + private static ProportionalSettingView GetProportionalSettingView(int id, PID_HMI pID) { - var basePlcHelper = GetPlcHelper; ProportionalSettingView vi = new ProportionalSettingView() { - Id = 1, - PV = basePlcHelper.conveyV1_PV.NowValue.ToFloat(), - SV = basePlcHelper.conveyV1_SV.NowValue.ToFloat() + Id = id, + PV = pID.PV, + SV =pID.SV }; return vi; } + + + private static ProportionalSettingView Up614() + { + // + + ProportionalSettingView vi = GetProportionalSettingView(1, _db2107Helper.PID.Convey_V1); + //{ + // Id = 1, + // PV = basePlcHelper.conveyV1_PV.NowValue.ToFloat(), + // SV = basePlcHelper.conveyV1_SV.NowValue.ToFloat() + //}; + return vi; + } private static void Down622(ProportionalSettingView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV1_SV, view.SV); + DownProportionalSettingView(622, view); } } private static ProportionalSettingView Up622() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 2, - PV = basePlcHelper.purgeV1_PV.NowValue.ToFloat(), - SV = basePlcHelper.purgeV1_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(2, _db2107Helper.PID.Purge_V1); + //{ + // Id = 2, + // PV = basePlcHelper.purgeV1_PV.NowValue.ToFloat(), + // SV = basePlcHelper.purgeV1_SV.NowValue.ToFloat() + //}; return vi; } @@ -57,21 +87,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV2_SV, view.SV); + DownProportionalSettingView(630, view); } } private static ProportionalSettingView Up630() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 3, - PV = basePlcHelper.conveyV2_PV.NowValue.ToFloat(), - SV = basePlcHelper.conveyV2_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(3, _db2107Helper.PID.Convey_V2); + //{ + // Id = 3, + // PV = basePlcHelper.conveyV2_PV.NowValue.ToFloat(), + // SV = basePlcHelper.conveyV2_SV.NowValue.ToFloat() + //}; return vi; } @@ -79,21 +108,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV2_SV, view.SV); + DownProportionalSettingView(638, view); } } private static ProportionalSettingView Up638() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 4, - PV = basePlcHelper.purgeV2_PV.NowValue.ToFloat(), - SV = basePlcHelper.purgeV2_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(4, _db2107Helper.PID.Purge_V2); + //{ + // Id = 4, + // PV = basePlcHelper.purgeV2_PV.NowValue.ToFloat(), + // SV = basePlcHelper.purgeV2_SV.NowValue.ToFloat() + //}; return vi; } @@ -106,21 +134,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV3_SV, view.SV); + DownProportionalSettingView(646, view); } } private static ProportionalSettingView Up646() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 5, - PV = basePlcHelper.conveyV3_PV.NowValue.ToFloat(), - SV = basePlcHelper.conveyV3_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(5, _db2107Helper.PID.Convey_V3); + //{ + // Id = 5, + // PV = basePlcHelper.conveyV3_PV.NowValue.ToFloat(), + // SV = basePlcHelper.conveyV3_SV.NowValue.ToFloat() + //}; return vi; } @@ -129,21 +156,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV3_SV, view.SV); + DownProportionalSettingView(654, view); } } private static ProportionalSettingView Up654() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 6, - PV = basePlcHelper.purgeV3_PV.NowValue.ToFloat(), - SV = basePlcHelper.purgeV3_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(6, _db2107Helper.PID.Purge_V3); + //{ + // Id = 6, + // PV = basePlcHelper.purgeV3_PV.NowValue.ToFloat(), + // SV = basePlcHelper.purgeV3_SV.NowValue.ToFloat() + //}; return vi; } @@ -155,21 +181,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV4_SV, view.SV); + DownProportionalSettingView(662, view); } } private static ProportionalSettingView Up662() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 7, - PV = basePlcHelper.conveyV4_PV.NowValue.ToFloat(), - SV = basePlcHelper.conveyV4_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(7, _db2107Helper.PID.Convey_V4); + //{ + // Id = 7, + // PV = basePlcHelper.conveyV4_PV.NowValue.ToFloat(), + // SV = basePlcHelper.conveyV4_SV.NowValue.ToFloat() + //}; return vi; } @@ -178,21 +203,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV4_SV, view.SV); + DownProportionalSettingView(670, view); } } private static ProportionalSettingView Up670() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 8, - PV = basePlcHelper.purgeV4_PV.NowValue.ToFloat(), - SV = basePlcHelper.purgeV4_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(8, _db2107Helper.PID.Purge_V4); + //{ + // Id = 8, + // PV = basePlcHelper.purgeV4_PV.NowValue.ToFloat(), + // SV = basePlcHelper.purgeV4_SV.NowValue.ToFloat() + //}; return vi; } @@ -204,21 +228,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV5_SV, view.SV); + DownProportionalSettingView(678, view); } } private static ProportionalSettingView Up678() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 9, - PV = basePlcHelper.conveyV5_PV.NowValue.ToFloat(), - SV = basePlcHelper.conveyV5_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(9, _db2107Helper.PID.Convey_V5); + //{ + // Id = 9, + // PV = basePlcHelper.conveyV5_PV.NowValue.ToFloat(), + // SV = basePlcHelper.conveyV5_SV.NowValue.ToFloat() + //}; return vi; } @@ -227,21 +250,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjProportional { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV5_SV, view.SV); + DownProportionalSettingView(686, view); } } private static ProportionalSettingView Up686() { - var basePlcHelper = GetPlcHelper; - ProportionalSettingView vi = new ProportionalSettingView() - { - Id = 10, - PV = basePlcHelper.purgeV5_PV.NowValue.ToFloat(), - SV = basePlcHelper.purgeV5_SV.NowValue.ToFloat() - }; + + ProportionalSettingView vi = GetProportionalSettingView(10, _db2107Helper.PID.Purge_V5); + //{ + // Id = 10, + // PV = basePlcHelper.purgeV5_PV.NowValue.ToFloat(), + // SV = basePlcHelper.purgeV5_SV.NowValue.ToFloat() + //}; return vi; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs index 217a623..727f132 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs @@ -1,55 +1,82 @@ -using System.Collections.Generic; -using DevExpress.PivotGrid.CriteriaVisitors; +using System; +using System.Collections.Generic; +using System.Web.UI.WebControls; + +using DataBlockHelper; +using DataBlockHelper.DBHelpers; +using DataBlockHelper.DbWrite; +using DataBlockHelper.Entity.DB2107Entity; + + namespace Mesnac.Action.ChemicalWeighing.LjWeight { public class WeightSettingPlc { - private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + private static void Down432(WeightSettingView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_1_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_1_LowWeight, view.LowWeight); + DownWeightSettingView(432, view); } } - private static WeightSettingView Up432() + + static PlcWriteUtil plcWriter = new PlcWriteUtil(); + + private static DB2107Helper _db2107Helper = new DB2107Helper(); + + private static void DownWeightSettingView(int start, WeightSettingView view) + { + int hight = start + 4; + int low = start + 8; + + PlcConnect.Instance.Write($"DB2107.{hight}.0", Convert.ToSingle(view.HighWeight)); + PlcConnect.Instance.Write($"DB2107.{low}.0", Convert.ToSingle(view.LowWeight)); + } + + + + private static WeightSettingView GetWeightSettingView(int id, Silo_HMI silo) { - var basePlcHelper = GetPlcHelper; WeightSettingView view = new WeightSettingView() { Id = 1, - HighWeight = basePlcHelper.Hopper_1_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Hopper_1_LowWeight.NowValue.ToFloat() + HighWeight = silo.HighWeight, + LowWeight = silo.LowWeight }; return view; } + + + private static WeightSettingView Up432() + { + + WeightSettingView view = GetWeightSettingView(1, _db2107Helper.Weight.Hopper_1); + return view; + } private static void Down446(WeightSettingView view) { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_2_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_2_LowWeight, view.LowWeight); + DownWeightSettingView(446, view); } } private static WeightSettingView Up446() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 2, - HighWeight = basePlcHelper.Hopper_2_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Hopper_2_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(2, _db2107Helper.Weight.Hopper_2); + //{ + // Id = 2, + // HighWeight = basePlcHelper.Hopper_2_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Hopper_2_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -58,21 +85,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_3_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_3_LowWeight, view.LowWeight); + DownWeightSettingView(460, view); } } private static WeightSettingView Up460() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 3, - HighWeight = basePlcHelper.Hopper_3_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Hopper_3_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(3, _db2107Helper.Weight.Hopper_3); + //{ + // Id = 3, + // HighWeight = basePlcHelper.Hopper_3_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Hopper_3_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -80,21 +105,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_4_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_4_LowWeight, view.LowWeight); + DownWeightSettingView(474, view); } } private static WeightSettingView Up474() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 4, - HighWeight = basePlcHelper.Hopper_4_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Hopper_4_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(4, _db2107Helper.Weight.Hopper_4); + //{ + // Id = 4, + // HighWeight = basePlcHelper.Hopper_4_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Hopper_4_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -103,21 +126,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_1_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_1_LowWeight, view.LowWeight); + DownWeightSettingView(488, view); } } private static WeightSettingView Up488() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 5, - HighWeight = basePlcHelper.Vessel_1_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Vessel_1_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(5, _db2107Helper.Weight.Vessel_1); + //{ + // Id = 5, + // HighWeight = basePlcHelper.Vessel_1_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Vessel_1_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -127,21 +148,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_2_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_2_LowWeight, view.LowWeight); + DownWeightSettingView(502, view); } } private static WeightSettingView Up502() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 6, - HighWeight = basePlcHelper.Vessel_2_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Vessel_2_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(6, _db2107Helper.Weight.Vessel_2); + //{ + // Id = 6, + // HighWeight = basePlcHelper.Vessel_2_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Vessel_2_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -149,21 +168,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_3_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_3_LowWeight, view.LowWeight); + DownWeightSettingView(516, view); } } private static WeightSettingView Up516() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 7, - HighWeight = basePlcHelper.Vessel_3_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Vessel_3_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(7, _db2107Helper.Weight.Vessel_3); + //{ + // Id = 7, + // HighWeight = basePlcHelper.Vessel_3_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Vessel_3_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -172,21 +189,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_4_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_4_LowWeight, view.LowWeight); + DownWeightSettingView(530, view); } } private static WeightSettingView Up530() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 8, - HighWeight = basePlcHelper.Vessel_4_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Vessel_4_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(8, _db2107Helper.Weight.Vessel_4); + //{ + // Id = 8, + // HighWeight = basePlcHelper.Vessel_4_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Vessel_4_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -195,21 +210,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_5_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_5_LowWeight, view.LowWeight); + DownWeightSettingView(544, view); } } private static WeightSettingView Up544() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 9, - HighWeight = basePlcHelper.Vessel_5_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.Vessel_5_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(9, _db2107Helper.Weight.Vessel_5); + //{ + // Id = 9, + // HighWeight = basePlcHelper.Vessel_5_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.Vessel_5_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -219,21 +232,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_1_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_1_LowWeight, view.LowWeight); + DownWeightSettingView(558, view); } } private static WeightSettingView Up558() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 10, - HighWeight = basePlcHelper.WScale_1_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.WScale_1_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(10, _db2107Helper.Weight.WScale_1); + //{ + // Id = 10, + // HighWeight = basePlcHelper.WScale_1_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.WScale_1_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -242,21 +253,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_2_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_2_LowWeight, view.LowWeight); + DownWeightSettingView(572, view); } } private static WeightSettingView Up572() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 11, - HighWeight = basePlcHelper.WScale_2_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.WScale_2_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(11, _db2107Helper.Weight.WScale_2); + //{ + // Id = 11, + // HighWeight = basePlcHelper.WScale_2_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.WScale_2_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -264,21 +273,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_3_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_3_LowWeight, view.LowWeight); + DownWeightSettingView(586, view); } } private static WeightSettingView Up586() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 12, - HighWeight = basePlcHelper.WScale_3_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.WScale_3_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(12, _db2107Helper.Weight.WScale_3); + //{ + // Id = 12, + // HighWeight = basePlcHelper.WScale_3_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.WScale_3_LowWeight.NowValue.ToFloat() + //}; return view; } @@ -286,21 +293,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight { if (null != view) { - var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_4_HighWeight, view.HighWeight); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_4_LowWeight, view.LowWeight); + DownWeightSettingView(600, view); } } private static WeightSettingView Up600() { - var basePlcHelper = GetPlcHelper; - WeightSettingView view = new WeightSettingView() - { - Id = 13, - HighWeight = basePlcHelper.WScale_4_HighWeight.NowValue.ToFloat(), - LowWeight = basePlcHelper.WScale_4_LowWeight.NowValue.ToFloat() - }; + + WeightSettingView view = GetWeightSettingView(13, _db2107Helper.Weight.WScale_4); + //{ + // Id = 13, + // HighWeight = basePlcHelper.WScale_4_HighWeight.NowValue.ToFloat(), + // LowWeight = basePlcHelper.WScale_4_LowWeight.NowValue.ToFloat() + //}; return view; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index 7934dd0..ed2ffbf 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -176,6 +176,9 @@ False ..\..\..\PlugInPlatform\Mesnac.PlugIn.dll + + E:\mesnac\化工项目源码\源码\Actions\Microsoft.Office.Interop.Excel.dll + @@ -250,8 +253,6 @@ - - @@ -268,6 +269,13 @@ + + Form + + + FormClientManager.cs + + @@ -525,39 +533,9 @@ + - - - Form - - - FrmBudget.cs - - - Form - - - FrmModifyPlanNum.cs - - - Form - - - FrmPlan.cs - - - Form - - - FrmProPlan.cs - - - - - - - @@ -703,20 +681,7 @@ - - - - - - - - - - - - - Form @@ -809,18 +774,6 @@ BarcodeReport.cs - - FrmBudget.cs - - - FrmModifyPlanNum.cs - - - FrmPlan.cs - - - FrmProPlan.cs - FrmProjectDebug.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Pl/PlcConnect.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Pl/PlcConnect.cs index cb587a4..c500028 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Pl/PlcConnect.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Pl/PlcConnect.cs @@ -28,8 +28,8 @@ namespace Mesnac.Action.ChemicalWeighing.Pl { SiemensPLCS siemensPLCS = SiemensPLCS.S1500; SiemensS7Net s7 = new SiemensS7Net(siemensPLCS); - s7.IpAddress ="172.18.4.100"; - s7.Port =102; + s7.IpAddress = PlcAddressUtil.IpAddress; + s7.Port = PlcAddressUtil.Port; s7.ConnectServer(); return s7; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs new file mode 100644 index 0000000..5f1203c --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/PlcAddressUtil.cs @@ -0,0 +1,12 @@ +namespace Mesnac.Action.ChemicalWeighing +{ + public class PlcAddressUtil + { + // public static string IpAddress = "172.18.4.100"; + // public static int Port = 102; + + + public static string IpAddress = "192.168.0.100"; + public static int Port = 7788; + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Product/PptPlan/AutoDownloadAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Product/PptPlan/AutoDownloadAction.cs index 41458e5..4e69607 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Product/PptPlan/AutoDownloadAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Product/PptPlan/AutoDownloadAction.cs @@ -36,40 +36,9 @@ namespace Mesnac.Action.ChemicalWeighing.Product.PptPlan // return; //} - #region 读取应答信号 + - if (!(BasePlcHelper.Instance.ChemicalWeighing_PLC_LoadingStatus.NowValue.ToInt() == 1 && BasePlcHelper.Instance.ChemicalWeighing_PC_LoadingStatus.NowValue.ToInt() == 0)) - { - return; - } - - #endregion - - string msg = String.Empty; - string planDate = DateTime.Now.ToString(); - bool result = PlanHelper.DownloadPlanInfo(planDate, Global.PublicVar.Instance.globalShiftID, out msg); - if (result) - { - msg = StringParser.Parse(ResourceService.GetString("Mesnac_Dialog_Msg_Success")); //执行成功! - - #region 记录操作日志 - - //base.DBLog(msg); - - #endregion - - MessageBox.Show(msg, Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else - { - #region 记录操作日志 - - //base.DBLog(msg); - - #endregion - - MessageBox.Show(msg, Mesnac.Basic.LanguageHelper.ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning); - } + } } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/TimerRunService.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/TimerRunService.cs index 1f2ddf8..84ac78c 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/TimerRunService.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/TimerRunService.cs @@ -146,8 +146,7 @@ namespace Mesnac.Action.ChemicalWeighing.Sys //判断 当接收到服务器端发送的有效信息时 if (!string.IsNullOrEmpty(socketClientTest.receiveStr)) { - //处理下传 - bool downFlag = ChemicalWeighingPlc.PlcPlanHelper.ScanCodeDown(socketClientTest.receiveStr); + socketClientTest.receiveStr = null; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/DeleteAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/DeleteAction.cs index 5adf8a1..f2340a3 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/DeleteAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/DeleteAction.cs @@ -54,121 +54,11 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe } this._clientGridControl = recipeTreeGridControl; - this.DoWork(); + } #endregion - #region 方法定义 - - /// - /// 删除计划 - /// - protected void DoWork() - { - this._runtime.BaseControl.MCEnabled = false; - - try - { - TreeView clientGridView = this._clientGridControl.BaseControl as TreeView; - - #region 1 变量定义 - - string selectRecipeName = null; - string selectRecipeId = null; - Base_RecipeInfo pmt_Recipe = null; - - #endregion - - #region 2 判断是否选择了要修改的配方 - - if (clientGridView.SelectedNode == null) - { - MessageBox.Show("请选择一条要删除的配方!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); - this._runtime.IsReturn = true; - return; - } - - #endregion - - #region 3 判断该配方是否可进行删除(如果配方正在RT_Plan表中,查不允许删除) - - selectRecipeName = clientGridView.SelectedNode.Text as string; - selectRecipeId = clientGridView.SelectedNode.Name as string; - if (Product.PptPlan.PlanHelper.PlanExistsRecipeName(selectRecipeName)) - { - MessageBox.Show("该配方正在计划列表中,不能进行删除!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); - this._runtime.IsReturn = true; - return; - } - - #endregion - - //删除配方前询问 - string msg1 = StringParser.Parse(ResourceService.GetString("Mesnac_Action_ChemicalWeighing_Technical_PmtRecipe_DeleteAction_msg1")); //确认删除当前配方(配方名:{0})吗? - msg1 = String.Format(msg1, selectRecipeName); - DialogResult result = MessageBox.Show(msg1, Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.YesNo, MessageBoxIcon.Question); - if (result == DialogResult.Yes) - { - #region 4 获取配方实体 - - pmt_Recipe = RecipeHelper.GetRecipeById(selectRecipeId); - - #endregion - - #region 5 执行删除操作 - - if (pmt_Recipe != null) - { - #region 5.1 删除配方信息 - - RecipeHelper.DeleteRecipe(pmt_Recipe.recipeId); - - #endregion - - #region 5.2 删除配方对应物料信息 - - RecipeHelper.DelWeighByRecipeID(pmt_Recipe.recipeId); - - //删除配方对应的工艺参数 - RecipeHelper.DelCratParamByRecipeId(pmt_Recipe.recipeId); - - #endregion - - #region 5.3 触发事件 - - if (OnDeleteRecipe != null) - { - OnDeleteRecipe(this._runtime.BaseControl.MCRoot, System.EventArgs.Empty); - } - - #endregion - - MessageBox.Show("配方删除成功!"); - } - - #endregion - } - - } - catch (Exception ex) - { - ICSharpCode.Core.LoggingService.Error("删除计划异常:" + ex.Message, ex); - - #region 记录操作日志 - - base.DBLog(ex.Message); - - #endregion - - MessageBox.Show(ex.Message, Mesnac.Basic.LanguageHelper.WarnCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - finally - { - this._runtime.BaseControl.MCEnabled = true; - } - } - - #endregion + } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/FrmRecipe.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/FrmRecipe.cs index 920a7ae..6422d29 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/FrmRecipe.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/FrmRecipe.cs @@ -88,7 +88,7 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe /// public void InitCombox() { - pmt_Materials = Product.PptPlan.PlanHelper.GetAllPmt_material(); + } public void InitRecipeTypeInfo() { diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/ModifyRecipeAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/ModifyRecipeAction.cs index 9abd1ed..f1b2da8 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/ModifyRecipeAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/ModifyRecipeAction.cs @@ -78,18 +78,7 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe #endregion - #region 3 判断该配方是否可进行修改(如果配方正在RT_Plan表中,查不允许修改) - - selectRecipeName = clientGridView.SelectedNode.Name as string; - - if (Product.PptPlan.PlanHelper.PlanExistsRecipeName(selectRecipeName)) - { - MessageBox.Show("该配方正在计划列表中,不能进行修改!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); - this._runtime.IsReturn = true; - return; - } - - #endregion + #region 4 获取配方实体 pmt_Recipe = RecipeHelper.GetRecipeById(selectRecipeName); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SelectRecipe.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SelectRecipe.cs index 7a6401d..9cbd8bd 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SelectRecipe.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SelectRecipe.cs @@ -126,15 +126,8 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe { DataRow dataRow = dataTable.NewRow(); - Base_MaterialInfo pmt_Material = Product.PptPlan.PlanHelper.GetPmt_material(pmt_Weighs[i].Material_ID); - if (pmt_Material != null&& pmt_Material.materialName != null) - { - dataRow["Material_Name"] = pmt_Material.materialName; - } - else - { - continue; - } + + dataRow["Set_Weight"] = pmt_Weighs[i].Set_Weight.ToString(); dataRow["Set_Error"] = pmt_Weighs[i].Set_Error.ToString(); dataTable.Rows.Add(dataRow); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParam.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParam.cs index 520c136..91901b2 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParam.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParam.cs @@ -64,12 +64,7 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe //判断该配方是否可进行修改(如果配方正在RT_Plan表中,查不允许修改) selectRecipeId = recipeGridView.SelectedNode.Name as string; - if (Product.PptPlan.PlanHelper.PlanExistsRecipeName(selectRecipeId)) - { - MessageBox.Show("该配方正在计划列表中,不能进行修改!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); - this._runtime.IsReturn = true; - return; - } + //获取物料编号 string materialId = materialGridView.SelectedRows[0].Cells["material_Id"].Value as string; diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParamForm.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParamForm.cs index 324c092..4bfc698 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParamForm.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Technical/PmtRecipe/SetCratParamForm.cs @@ -46,7 +46,7 @@ namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe public void InitCombox() { //获取工艺参数 - pmt_Materials = Product.PptPlan.PlanHelper.GetAllBaseCratParamInfo(); + } public void InitUi() diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs index 187f685..a348190 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs @@ -49,7 +49,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test base.RunIni(runtime); //必须调用 //int adsa = BasePlcHelper.Instance.BU1BLT01_Alarm.NowValue.ToInt(); - int value = BasePlcHelper.Instance.BU1BLT01_Set.NowValue.ToInt(); + string sql = "insert into ActionCode values (13,'test','',1) select @@IDENTITY"; @@ -61,7 +61,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test // dbHelper.ClearParameter(); // dbHelper.CommandType = CommandType.Text; // dbHelper.CommandText = sql; - var s1 = BasePlcHelper.Instance.dryerA_dos0_eqNo.LastValue.ToInt(); + int[] ssss = new int [] { }; var ss2s = BasePlcHelper.Instance.PlcReadByRunName("BU1BLT01_Set", out ssss); diff --git a/DataBlockHelper/DataBlockHelper.csproj b/DataBlockHelper/DataBlockHelper.csproj index 804afe5..7e3e0dd 100644 --- a/DataBlockHelper/DataBlockHelper.csproj +++ b/DataBlockHelper/DataBlockHelper.csproj @@ -58,6 +58,7 @@ + @@ -84,6 +85,7 @@ + diff --git a/DataBlockHelper/Entity/ClickEntity.cs b/DataBlockHelper/Entity/ClickEntity.cs new file mode 100644 index 0000000..df43f36 --- /dev/null +++ b/DataBlockHelper/Entity/ClickEntity.cs @@ -0,0 +1,9 @@ +namespace DataBlockHelper.Entity +{ + public class ClickEntity + { + public bool Mixok { get; set; } + + public float ClickValue { get; set; } + } +} \ No newline at end of file diff --git a/DataBlockHelper/Entity/DB2108Helper.cs b/DataBlockHelper/Entity/DB2108Helper.cs new file mode 100644 index 0000000..a2874d7 --- /dev/null +++ b/DataBlockHelper/Entity/DB2108Helper.cs @@ -0,0 +1,43 @@ +using DataBlockHelper.Entity; + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DataBlockHelper.DBHelpers +{ + public class DB2108Helper + { + + // + + public static List GetClickEntities() + { + + List ls = new List(); + for (int i = 0; i < 8; i++) { + var entity=new ClickEntity(); + entity.ClickValue= PlcConnect.Instance.ReadFloat($"DB2108.{(i * 6)+2}.0").Content; + ls.Add(entity); + } + + + + return ls; + + + } + + + public static void WriteClick(int no, ClickEntity click) + { + int start=(no * 6) + 2; + + + var sss= PlcConnect.Instance.Write($"DB2108.{start}.0", click.ClickValue); + } + + } +} \ No newline at end of file diff --git a/Main/MCEdit/Data/EventConfig/小料称量/榄菊糊化机点击参数.xml b/Main/MCEdit/Data/EventConfig/小料称量/榄菊糊化机点击参数.xml new file mode 100644 index 0000000..6a4a437 --- /dev/null +++ b/Main/MCEdit/Data/EventConfig/小料称量/榄菊糊化机点击参数.xml @@ -0,0 +1,28 @@ + + + + + + 窗体初始化 + 窗体初始化 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj index 02b3880..a344c6b 100644 --- a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj +++ b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj @@ -26,6 +26,7 @@ + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/FormClient.xml b/Main/MCEdit/Data/MCProject/nodeForm/FormClient.xml new file mode 100644 index 0000000..3692104 --- /dev/null +++ b/Main/MCEdit/Data/MCProject/nodeForm/FormClient.xml @@ -0,0 +1,126 @@ + + + + + True + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJoBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EYXRhR3JpZFZpZXdDb2x1bW5zLCBNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGxdXQMAAAAGX2l0ZW1zBV9zaXplCF92ZXJzaW9uBAAAKk1lc25hYy5Db250cm9scy5CYXNlLkRhdGFHcmlkVmlld0NvbHVtbnNbXQIAAAAICAkDAAAAAAAAAJUAAAAHAwAAAAABAAAACAAAAAQoTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGF0YUdyaWRWaWV3Q29sdW1ucwIAAAANCAs= + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAACAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAACAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAACAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + Client + + True + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAE5TeXN0ZW0uRGF0YSwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAABVTeXN0ZW0uRGF0YS5EYXRhVGFibGUDAAAAGURhdGFUYWJsZS5SZW1vdGluZ1ZlcnNpb24JWG1sU2NoZW1hC1htbERpZmZHcmFtAwEBDlN5c3RlbS5WZXJzaW9uAgAAAAkDAAAABgQAAACFBDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi0xNiI/Pg0KPHhzOnNjaGVtYSB4bWxucz0iIiB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOm1zZGF0YT0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp4bWwtbXNkYXRhIj4NCiAgPHhzOmVsZW1lbnQgbmFtZT0iTUNEYXRhR3JpZFZpZXciPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQogIDx4czplbGVtZW50IG5hbWU9InRtcERhdGFTZXQiIG1zZGF0YTpJc0RhdGFTZXQ9InRydWUiIG1zZGF0YTpNYWluRGF0YVRhYmxlPSJNQ0RhdGFHcmlkVmlldyIgbXNkYXRhOlVzZUN1cnJlbnRMb2NhbGU9InRydWUiPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICAgIDx4czpjaG9pY2UgbWluT2NjdXJzPSIwIiBtYXhPY2N1cnM9InVuYm91bmRlZCIgLz4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQo8L3hzOnNjaGVtYT4GBQAAAIABPGRpZmZncjpkaWZmZ3JhbSB4bWxuczptc2RhdGE9InVybjpzY2hlbWFzLW1pY3Jvc29mdC1jb206eG1sLW1zZGF0YSIgeG1sbnM6ZGlmZmdyPSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOnhtbC1kaWZmZ3JhbS12MSIgLz4EAwAAAA5TeXN0ZW0uVmVyc2lvbgQAAAAGX01ham9yBl9NaW5vcgZfQnVpbGQJX1JldmlzaW9uAAAAAAgICAgCAAAAAAAAAP//////////Cw== + + None + True + True + False + ControlLightLight + 30 + False + 3, 87 + MCDataGridView1 + 355, 338 + 9 + + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAQAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAANBAs= + + + + False + + + + None + True + True + True + + + Red + DarkGray + 刷新 + 宋体, 14.25pt, style=Bold + 162, 17 + MCButton1 + 144, 47 + 3 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAARAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAANBAs= + + + + False + + + + None + True + True + True + + + Red + DarkGray + 修改 + 宋体, 14.25pt, style=Bold + 37, 17 + MCButton5 + 83, 42 + 1 + + 3, 17 + Panel12 + 355, 70 + + False + 点击参数设置 + Left + 0, 0 + GroupBox1 + 406, 544 + 2 + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAACAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDQ4MzEyOUMwOTQ1QzI1NjUwOUMyNEYxNDdBMTMyQTM2BgYAAAAP56qX5L2T5Yid5aeL5YyWBgcAAAAP56qX5L2T5Yid5aeL5YyWCw== + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + False + False + False + Control + 564, 583 + WindowsDefaultLocation + 点击重量设置 + Normal + + Tile + 宋体, 9pt + ControlText + FormClient + diff --git a/Main/MCEdit/MCEdit.csproj b/Main/MCEdit/MCEdit.csproj index 582cbc3..aea73bb 100644 --- a/Main/MCEdit/MCEdit.csproj +++ b/Main/MCEdit/MCEdit.csproj @@ -222,6 +222,9 @@ Always + + Always + Always