diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs index f7564ad..eacb775 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs @@ -1288,81 +1288,81 @@ namespace Mesnac.Action.ChemicalWeighing - public DataKeyValue weightPraSilo0_HighSpeed { get; set; } - public DataKeyValue weightPraSilo0_LowSpeed { get; set; } - public DataKeyValue weightPraSilo0_WeightSlow { get; set; } - public DataKeyValue weightPraSilo0_Precut { get; set; } - public DataKeyValue weightPraSilo0_JogTime { get; set; } - public DataKeyValue weightPraSilo1_HighSpeed { get; set; } - public DataKeyValue weightPraSilo1_LowSpeed { get; set; } - public DataKeyValue weightPraSilo1_WeightSlow { get; set; } - public DataKeyValue weightPraSilo1_Precut { get; set; } - public DataKeyValue weightPraSilo1_JogTime { get; set; } - public DataKeyValue weightPraSilo2_HighSpeed { get; set; } - public DataKeyValue weightPraSilo2_LowSpeed { get; set; } - public DataKeyValue weightPraSilo2_WeightSlow { get; set; } - public DataKeyValue weightPraSilo2_Precut { get; set; } - public DataKeyValue weightPraSilo2_JogTime { get; set; } - public DataKeyValue weightPraSilo3_HighSpeed { get; set; } - public DataKeyValue weightPraSilo3_LowSpeed { get; set; } - public DataKeyValue weightPraSilo3_WeightSlow { get; set; } - public DataKeyValue weightPraSilo3_Precut { get; set; } - public DataKeyValue weightPraSilo3_JogTime { get; set; } - public DataKeyValue weightPraSilo4_HighSpeed { get; set; } - public DataKeyValue weightPraSilo4_LowSpeed { get; set; } - public DataKeyValue weightPraSilo4_WeightSlow { get; set; } - public DataKeyValue weightPraSilo4_Precut { get; set; } - public DataKeyValue weightPraSilo4_JogTime { get; set; } - public DataKeyValue weightPraSilo5_HighSpeed { get; set; } - public DataKeyValue weightPraSilo5_LowSpeed { get; set; } - public DataKeyValue weightPraSilo5_WeightSlow { get; set; } - public DataKeyValue weightPraSilo5_Precut { get; set; } - public DataKeyValue weightPraSilo5_JogTime { get; set; } - public DataKeyValue weightPraSilo6_HighSpeed { get; set; } - public DataKeyValue weightPraSilo6_LowSpeed { get; set; } - public DataKeyValue weightPraSilo6_WeightSlow { get; set; } - public DataKeyValue weightPraSilo6_Precut { get; set; } - public DataKeyValue weightPraSilo6_JogTime { get; set; } - public DataKeyValue weightPraSilo7_HighSpeed { get; set; } - public DataKeyValue weightPraSilo7_LowSpeed { get; set; } - public DataKeyValue weightPraSilo7_WeightSlow { get; set; } - public DataKeyValue weightPraSilo7_Precut { get; set; } - public DataKeyValue weightPraSilo7_JogTime { get; set; } - public DataKeyValue weightPraSilo8_HighSpeed { get; set; } - public DataKeyValue weightPraSilo8_LowSpeed { get; set; } - public DataKeyValue weightPraSilo8_WeightSlow { get; set; } - public DataKeyValue weightPraSilo8_Precut { get; set; } - public DataKeyValue weightPraSilo8_JogTime { get; set; } - public DataKeyValue weightPraSilo9_HighSpeed { get; set; } - public DataKeyValue weightPraSilo9_LowSpeed { get; set; } - public DataKeyValue weightPraSilo9_WeightSlow { get; set; } - public DataKeyValue weightPraSilo9_Precut { get; set; } - public DataKeyValue weightPraSilo9_JogTime { get; set; } - public DataKeyValue weightPraSilo10_HighSpeed { get; set; } - public DataKeyValue weightPraSilo10_LowSpeed { get; set; } - public DataKeyValue weightPraSilo10_WeightSlow { get; set; } - public DataKeyValue weightPraSilo10_Precut { get; set; } - public DataKeyValue weightPraSilo10_JogTime { get; set; } - public DataKeyValue weightPraSilo11_HighSpeed { get; set; } - public DataKeyValue weightPraSilo11_LowSpeed { get; set; } - public DataKeyValue weightPraSilo11_WeightSlow { get; set; } - public DataKeyValue weightPraSilo11_Precut { get; set; } - public DataKeyValue weightPraSilo11_JogTime { get; set; } - public DataKeyValue weightPraSilo12_HighSpeed { get; set; } - public DataKeyValue weightPraSilo12_LowSpeed { get; set; } - public DataKeyValue weightPraSilo12_WeightSlow { get; set; } - public DataKeyValue weightPraSilo12_Precut { get; set; } - public DataKeyValue weightPraSilo12_JogTime { get; set; } - public DataKeyValue weightPraSilo13_HighSpeed { get; set; } - public DataKeyValue weightPraSilo13_LowSpeed { get; set; } - public DataKeyValue weightPraSilo13_WeightSlow { get; set; } - public DataKeyValue weightPraSilo13_Precut { get; set; } - public DataKeyValue weightPraSilo13_JogTime { get; set; } - public DataKeyValue weightPraSilo14_HighSpeed { get; set; } - public DataKeyValue weightPraSilo14_LowSpeed { get; set; } - public DataKeyValue weightPraSilo14_WeightSlow { get; set; } - public DataKeyValue weightPraSilo14_Precut { get; set; } - public DataKeyValue weightPraSilo14_JogTime { 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; } @@ -2488,6 +2488,7 @@ namespace Mesnac.Action.ChemicalWeighing 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; } @@ -2537,6 +2538,7 @@ namespace Mesnac.Action.ChemicalWeighing 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; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchService.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchService.cs index a375f58..072cbef 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchService.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/FinishBatchService.cs @@ -113,69 +113,10 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch { #region 0、实时刷新自动保存报警 - SaveHelper.AlarmSaveHelper.Instance.Save(); - - #endregion - - - - #region 2、将等待计划数写入PLC - - //ChemicalWeighingPlc.PlcPlanHelper.WaitPlanNumToPLC(); - - #endregion - - #region 3、更新计划状态 - - //ChemicalWeighingPlc.PlcPlanHelper.UpdatePlanStateFromPlc(); - - #endregion - - #region 4、HMI配方列表请求处理 - - //ChemicalWeighingPlc.PlcRecipeHelper.DownloadRecipeNameListToPLC(); - - #endregion - - #region 5、HMI计划添加请求处理 - - //ChemicalWeighingPlc.PlcPlanHelper.AutoAddPlan(); - - #endregion - - #region 6、HMI计划修改请求处理 - - //ChemicalWeighingPlc.PlcPlanHelper.ChangePlan(); - - #endregion - - #region 7、自动存盘处理 - - //FinishBatchHelper.SaveGHData(); - - //ReportDryMixerSaveHelper.Instance.Save(); ReportWetMixerSaveHelper.Instance.SaveWetMixerReport(); - //ReportGelDoserSaveHelper.Instance.SaveGelDoserReport(); - #endregion - - #region 8、更新物料名称 - - //ChemicalWeighingPlc.PlcPlanHelper.UpdateMaterialNameToPlc(); - - #endregion - - #region 9、修改PC心跳信号 - - //ChemicalWeighingPlc.PlcPlanHelper.HeartBeatChange(); - - #endregion - - #region 10、自动换班 - - ChemicalWeighingPlc.PlcPlanHelper.shiftIDAutoChange(); - #endregion + } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs index 992260b..f959843 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs @@ -13,14 +13,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo0_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo0_JogTime, new object[] { view.JogTime }); } } @@ -31,11 +31,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 1, - HighSpeed = basePlcHelper.weightPraSilo0_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo0_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo0_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo0_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo0_JogTime.NowValue.ToInt() + 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; @@ -46,14 +46,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo1_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo1_JogTime, new object[] { view.JogTime }); } } @@ -64,11 +64,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 2, - HighSpeed = basePlcHelper.weightPraSilo1_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo1_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo1_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo1_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo1_JogTime.NowValue.ToInt() + 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; @@ -79,14 +79,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo2_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo2_JogTime, new object[] { view.JogTime }); } } @@ -97,11 +97,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 3, - HighSpeed = basePlcHelper.weightPraSilo2_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo2_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo2_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo2_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo2_JogTime.NowValue.ToInt() + 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; @@ -112,14 +112,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo3_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo3_JogTime, new object[] { view.JogTime }); } } @@ -130,11 +130,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 4, - HighSpeed = basePlcHelper.weightPraSilo3_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo3_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo3_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo3_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo3_JogTime.NowValue.ToInt() + 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; @@ -145,14 +145,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo4_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo4_JogTime, new object[] { view.JogTime }); } } @@ -163,11 +163,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 5, - HighSpeed = basePlcHelper.weightPraSilo4_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo4_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo4_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo4_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo4_JogTime.NowValue.ToInt() + 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; @@ -178,14 +178,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo5_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo5_JogTime, new object[] { view.JogTime }); } } @@ -196,11 +196,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 6, - HighSpeed = basePlcHelper.weightPraSilo5_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo5_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo5_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo5_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo5_JogTime.NowValue.ToInt() + 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; @@ -211,14 +211,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo6_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo6_JogTime, new object[] { view.JogTime }); } } @@ -229,11 +229,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 7, - HighSpeed = basePlcHelper.weightPraSilo6_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo6_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo6_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo6_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo6_JogTime.NowValue.ToInt() + 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; @@ -244,14 +244,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo7_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo7_JogTime, new object[] { view.JogTime }); } } @@ -262,11 +262,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 8, - HighSpeed = basePlcHelper.weightPraSilo7_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo7_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo7_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo7_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo7_JogTime.NowValue.ToInt() + 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; @@ -277,14 +277,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo8_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo8_JogTime, new object[] { view.JogTime }); } } @@ -295,11 +295,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 9, - HighSpeed = basePlcHelper.weightPraSilo8_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo8_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo8_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo8_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo8_JogTime.NowValue.ToInt() + 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; @@ -310,14 +310,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo9_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo9_JogTime, new object[] { view.JogTime }); } } @@ -328,11 +328,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 10, - HighSpeed = basePlcHelper.weightPraSilo9_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo9_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo9_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo9_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo9_JogTime.NowValue.ToInt() + 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; @@ -343,14 +343,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo10_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo10_JogTime, new object[] { view.JogTime }); } } @@ -361,11 +361,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 11, - HighSpeed = basePlcHelper.weightPraSilo10_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo10_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo10_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo10_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo10_JogTime.NowValue.ToInt() + 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; @@ -376,14 +376,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo11_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo11_JogTime, new object[] { view.JogTime }); } } @@ -394,11 +394,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 12, - HighSpeed = basePlcHelper.weightPraSilo11_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo11_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo11_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo11_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo11_JogTime.NowValue.ToInt() + 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; @@ -409,14 +409,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo12_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo12_JogTime, new object[] { view.JogTime }); } } @@ -427,11 +427,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 13, - HighSpeed = basePlcHelper.weightPraSilo12_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo12_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo12_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo12_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo12_JogTime.NowValue.ToInt() + 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; @@ -442,14 +442,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo13_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo13_JogTime, new object[] { view.JogTime }); } } @@ -460,11 +460,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 14, - HighSpeed = basePlcHelper.weightPraSilo13_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo13_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo13_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo13_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo13_JogTime.NowValue.ToInt() + 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; @@ -475,14 +475,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage if (null != view) { var basePlcHelper = GetPlcHelper; - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_HighSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_HighSpeed, view.HighSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_LowSpeed, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_LowSpeed, view.LowSpeed); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_WeightSlow, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_WeightSlow, view.WeightSlow); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_Precut, view.Precut); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo14_JogTime, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo14_JogTime, new object[] { view.JogTime }); } } @@ -493,11 +493,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage MetageView view = new MetageView() { Id = 15, - HighSpeed = basePlcHelper.weightPraSilo14_HighSpeed.NowValue.ToFloat(), - LowSpeed = basePlcHelper.weightPraSilo14_LowSpeed.NowValue.ToFloat(), - WeightSlow = basePlcHelper.weightPraSilo14_WeightSlow.NowValue.ToFloat(), - Precut = basePlcHelper.weightPraSilo14_Precut.NowValue.ToFloat(), - JogTime = basePlcHelper.weightPraSilo14_JogTime.NowValue.ToInt() + 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; diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.Designer.cs index 7e8b098..d1ef0f2 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.Designer.cs @@ -88,7 +88,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // txtName // this.txtName.Location = new System.Drawing.Point(84, 14); - this.txtName.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.txtName.Margin = new System.Windows.Forms.Padding(5); this.txtName.MaxLength = 100; this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(206, 21); @@ -97,7 +97,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // txtDifference // this.txtDifference.Location = new System.Drawing.Point(365, 107); - this.txtDifference.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.txtDifference.Margin = new System.Windows.Forms.Padding(5); this.txtDifference.MaxLength = 100; this.txtDifference.Name = "txtDifference"; this.txtDifference.Size = new System.Drawing.Size(206, 21); @@ -106,7 +106,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // TxtSendTime // this.TxtSendTime.Location = new System.Drawing.Point(84, 107); - this.TxtSendTime.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.TxtSendTime.Margin = new System.Windows.Forms.Padding(5); this.TxtSendTime.MaxLength = 100; this.TxtSendTime.Name = "TxtSendTime"; this.TxtSendTime.Size = new System.Drawing.Size(206, 21); @@ -192,7 +192,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // txtTemperature // this.txtTemperature.Location = new System.Drawing.Point(365, 14); - this.txtTemperature.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.txtTemperature.Margin = new System.Windows.Forms.Padding(5); this.txtTemperature.MaxLength = 100; this.txtTemperature.Name = "txtTemperature"; this.txtTemperature.Size = new System.Drawing.Size(206, 21); @@ -211,7 +211,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // txtSpeed // this.txtSpeed.Location = new System.Drawing.Point(365, 45); - this.txtSpeed.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.txtSpeed.Margin = new System.Windows.Forms.Padding(5); this.txtSpeed.MaxLength = 100; this.txtSpeed.Name = "txtSpeed"; this.txtSpeed.Size = new System.Drawing.Size(206, 21); @@ -230,7 +230,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // txtWeight // this.txtWeight.Location = new System.Drawing.Point(365, 76); - this.txtWeight.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.txtWeight.Margin = new System.Windows.Forms.Padding(5); this.txtWeight.MaxLength = 100; this.txtWeight.Name = "txtWeight"; this.txtWeight.Size = new System.Drawing.Size(206, 21); @@ -252,14 +252,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.No, - this.MaterialName, - this.DeviceName, - this.Temperature, - this.Speed, - this.Weight, - this.Difference}); + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.No, this.MaterialName, this.DeviceName, this.Temperature, this.Speed, this.Weight, this.Difference }); this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.Location = new System.Drawing.Point(3, 17); this.dataGridView1.Name = "dataGridView1"; @@ -329,8 +322,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.Location = new System.Drawing.Point(349, 756); - this.btnCancel.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.btnCancel.Location = new System.Drawing.Point(383, 445); + 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 = 50; @@ -340,8 +333,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // // btnOK // - this.btnOK.Location = new System.Drawing.Point(177, 756); - this.btnOK.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.btnOK.Location = new System.Drawing.Point(211, 445); + 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 = 49; @@ -353,7 +346,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(815, 438); + this.ClientSize = new System.Drawing.Size(815, 525); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.groupBox1); @@ -375,14 +368,13 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula this.Controls.Add(this.DrpAction); this.Controls.Add(this.label3); this.Controls.Add(this.label1); - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "FrmMixFormula"; this.Text = "混合配方"; this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); - } private System.Windows.Forms.Button btnCancel; diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.resx index 594820a..2ea61cd 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.resx +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixFormula/FrmMixFormula.resx @@ -123,10 +123,4 @@ True - - True - - - True - \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerPlc.cs index 890c29f..7074848 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerPlc.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerPlc.cs @@ -31,8 +31,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Tolerance, view.TolErance); + continue; - + + } if (i == 1) @@ -42,7 +44,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Tolerance, view.TolErance); - + continue; } if (i == 2) @@ -52,7 +54,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Tolerance, view.TolErance); - + continue; } if (i == 3) @@ -62,7 +64,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Tolerance, view.TolErance); - + } } @@ -82,6 +84,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) @@ -94,6 +97,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) @@ -106,6 +110,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) @@ -118,6 +123,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) @@ -130,6 +136,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) @@ -142,6 +149,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) @@ -154,6 +162,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) @@ -166,6 +175,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) @@ -178,6 +188,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) @@ -190,6 +201,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -214,20 +226,21 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip0_Tolerance, view.TolErance); + continue; } - if (i == 2) + if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip2_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Recip1_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip1_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip1_Tolerance, view.TolErance); + continue; } @@ -240,7 +253,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip2_Tolerance, view.TolErance); - + continue; } @@ -253,7 +266,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip3_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Recip3_Tolerance, view.TolErance); - + continue; } @@ -277,18 +290,20 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) @@ -301,6 +316,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) @@ -313,6 +329,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) @@ -325,6 +342,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) @@ -337,6 +355,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) @@ -349,6 +368,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) @@ -361,6 +381,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) @@ -373,6 +394,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) @@ -385,6 +407,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -400,52 +423,52 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager if (i == 0) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip0_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip0_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip0_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip0_Tolerance, view.TolErance); + continue; } if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip1_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip1_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip1_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip1_Tolerance, view.TolErance); + continue; } if (i == 2) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip2_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip2_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip2_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip2_Tolerance, view.TolErance); + continue; } if (i == 3) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip3_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Recip3_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip3_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Recip3_Tolerance, view.TolErance); + continue; } } @@ -456,122 +479,132 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager if (i == 0) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step0_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step0_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step0_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step1_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step1_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step1_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step2_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step2_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step2_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step3_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step3_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step3_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step4_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step4_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step4_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step5_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step5_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step5_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step6_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step6_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step6_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step7_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step7_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step7_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step8_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step8_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step8_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step9_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD3Step9_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step9_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD3Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -587,52 +620,52 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager if (i == 0) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip0_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip0_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip0_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip0_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip0_Tolerance, view.TolErance); + continue; } if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip1_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip1_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip1_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip1_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip1_Tolerance, view.TolErance); + continue; } if (i == 2) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip2_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip2_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip2_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip2_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip2_Tolerance, view.TolErance); + continue; } if (i == 3) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD1Recip3_Bin, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Recip3_Bin, new object[] { view.Bin }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Set, + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip3_Set, view.Set); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD1Recip3_Tolerance, view.TolErance); - + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Recip3_Tolerance, view.TolErance); + continue; } @@ -647,122 +680,132 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager if (i == 0) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step0_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step0_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step0_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step0_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step0_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step1_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step1_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step1_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step1_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step1_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step2_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step2_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step2_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step2_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step2_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step3_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step3_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step3_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step3_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step3_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step4_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step4_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step4_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step4_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step4_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step5_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step5_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step5_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step5_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step5_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step6_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step6_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step6_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step6_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step6_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step7_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step7_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step7_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step7_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step7_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step8_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step8_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step8_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step8_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step8_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixCode, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step9_MixCode, new object[] { view.MixCode }); - basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD2Step9_MixTime, + basePlcHelper.PlcWriteByDataKey(basePlcHelper.DryerD4Step9_MixTime, new object[] { view.MixTime }); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixTemp, view.MixTemp); - basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD2Step9_MixSpeed, view.MixSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step9_MixTemp, view.MixTemp); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.DryerD4Step9_MixSpeed, view.MixSpeed); + continue; } @@ -788,7 +831,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -800,7 +843,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG1Recip1_Tolerance, view.TolErance); - + continue; } @@ -822,7 +865,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -834,7 +877,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Recip1_Tolerance, view.TolErance); - + continue; } @@ -860,6 +903,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -871,6 +915,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -882,6 +927,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -893,6 +939,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -904,6 +951,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -915,6 +963,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -926,6 +975,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -937,6 +987,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -948,6 +999,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -959,6 +1011,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG1Step9_MixSpeed, view.MixSpeed); + continue; } @@ -988,7 +1041,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1000,7 +1053,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG2Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1019,7 +1072,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1031,7 +1084,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1052,6 +1105,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1063,6 +1117,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1074,6 +1129,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -1085,6 +1141,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -1096,6 +1153,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -1107,6 +1165,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -1118,6 +1177,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -1129,6 +1189,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -1140,6 +1201,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -1151,6 +1213,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG2Step9_MixSpeed, view.MixSpeed); + continue; } @@ -1173,7 +1236,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1185,7 +1248,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG3Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1202,7 +1265,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1214,7 +1277,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Recip1_Tolerance, view.TolErance); - + continue; } @@ -1235,6 +1298,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1246,6 +1310,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1257,6 +1322,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -1268,6 +1334,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -1279,6 +1346,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -1290,6 +1358,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -1301,6 +1370,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -1312,6 +1382,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -1323,6 +1394,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -1334,6 +1406,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG3Step9_MixSpeed, view.MixSpeed); + continue; } @@ -1356,7 +1429,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1368,7 +1441,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG4Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1386,7 +1459,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1398,7 +1471,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1417,6 +1490,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1428,6 +1502,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1439,6 +1514,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -1450,6 +1526,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -1461,6 +1538,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -1472,6 +1550,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -1483,6 +1562,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -1494,6 +1574,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -1505,6 +1586,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -1516,6 +1598,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG4Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -1538,6 +1621,7 @@ if (i == 9) view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip0_Tolerance, view.TolErance); + continue; } if (i == 1) { @@ -1549,7 +1633,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG5Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1567,7 +1651,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) @@ -1580,7 +1664,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1602,6 +1686,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1613,6 +1698,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1624,6 +1710,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -1635,6 +1722,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -1646,6 +1734,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -1657,6 +1746,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -1668,6 +1758,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -1679,6 +1770,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -1690,6 +1782,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -1701,6 +1794,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG5Step9_MixSpeed, view.MixSpeed); + continue; } @@ -1726,7 +1820,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1738,7 +1832,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG6Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1757,7 +1851,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) @@ -1770,7 +1864,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1790,6 +1884,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1801,6 +1896,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1812,6 +1908,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -1823,6 +1920,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -1834,6 +1932,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -1845,6 +1944,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -1856,6 +1956,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -1867,6 +1968,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -1878,6 +1980,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -1889,6 +1992,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG6Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -1910,7 +2014,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -1922,7 +2026,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG7Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1940,7 +2044,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) @@ -1953,7 +2057,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Recip1_Tolerance, view.TolErance); - + continue; } } @@ -1972,6 +2076,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -1983,6 +2088,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -1994,6 +2100,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -2005,6 +2112,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -2016,6 +2124,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -2027,6 +2136,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -2038,6 +2148,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -2049,6 +2160,7 @@ if (i == 7) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step7_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step7_MixSpeed, view.MixSpeed); + continue; } if (i == 8) { @@ -2060,6 +2172,7 @@ if (i == 8) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step8_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step8_MixSpeed, view.MixSpeed); + continue; } if (i == 9) { @@ -2071,6 +2184,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step9_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG7Step9_MixSpeed, view.MixSpeed); + continue; } } @@ -2092,7 +2206,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) { @@ -2104,7 +2218,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.GelatG8Recip1_Tolerance, view.TolErance); - + continue; } } @@ -2123,7 +2237,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip0_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip0_Tolerance, view.TolErance); - + continue; } if (i == 1) @@ -2136,7 +2250,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip1_Set, view.Set); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Recip1_Tolerance, view.TolErance); - + continue; } @@ -2157,6 +2271,7 @@ if (i == 0) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step0_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step0_MixSpeed, view.MixSpeed); + continue; } if (i == 1) { @@ -2168,6 +2283,7 @@ if (i == 1) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step1_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step1_MixSpeed, view.MixSpeed); + continue; } if (i == 2) { @@ -2179,6 +2295,7 @@ if (i == 2) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step2_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step2_MixSpeed, view.MixSpeed); + continue; } if (i == 3) { @@ -2190,6 +2307,7 @@ if (i == 3) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step3_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step3_MixSpeed, view.MixSpeed); + continue; } if (i == 4) { @@ -2201,6 +2319,7 @@ if (i == 4) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step4_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step4_MixSpeed, view.MixSpeed); + continue; } if (i == 5) { @@ -2212,6 +2331,7 @@ if (i == 5) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step5_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step5_MixSpeed, view.MixSpeed); + continue; } if (i == 6) { @@ -2223,6 +2343,7 @@ if (i == 6) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step6_MixTemp, view.MixTemp); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WaterSCG8Step6_MixSpeed, view.MixSpeed); + continue; } if (i == 7) { @@ -3319,6 +3440,7 @@ if (i == 9) basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_SetValue, view.SetValue); basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WeterM8Step0_Tolerance, view.Tolerance); + return; } if (i == 1) { diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/UpdateAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/UpdateAction.cs index ae600f5..50b1ad1 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/UpdateAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/UpdateAction.cs @@ -50,7 +50,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager { if (id < 13) { - mixB = new FrmMixB(id); + mixB = new FrmMixB(id); result = mixB.ShowDialog(); } else diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/SystemInitAutoAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/SystemInitAutoAction.cs index 657bf05..21c2a03 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/SystemInitAutoAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Sys/SystemInitAutoAction.cs @@ -66,7 +66,7 @@ namespace Mesnac.Action.ChemicalWeighing.Sys //SetDateTimeFormat(); //首次运行启动更新计划状态和自动下传计划服务 - // FinishBatch.FinishBatchService.Instance.Start(); + FinishBatch.FinishBatchService.Instance.Start(); //首次运行时启动定时器运行服务,其中包含Socket通讯连接 Sys.TimerRunService.Instance.Start(); diff --git a/Main/MCEdit/Data/MCProject/nodeDevice.xml b/Main/MCEdit/Data/MCProject/nodeDevice.xml index f5c81cd..45c626d 100644 --- a/Main/MCEdit/Data/MCProject/nodeDevice.xml +++ b/Main/MCEdit/Data/MCProject/nodeDevice.xml @@ -272,6 +272,7 @@ +