From 03ae4173018b0014f21dadf765e9f3b425df78b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Tue, 18 Jun 2024 16:02:13 +0800 Subject: [PATCH] 13bug --- .../AutoControl/ControlsHelper.cs | 6 +++--- .../AutoControl/Entity/GelerWeterControlsEntity.cs | 1 + .../AutoControl/PlcAutoWriteHelper.cs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs index 914790e..f8253b4 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs @@ -319,7 +319,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl TextE.DryW10.MCValue = Dry[9].Weight; TextE.DryW11.MCValue = Dry[10].Weight; TextE.DryW12.MCValue = Dry[11].Weight; - //TextE.DryW13.MCValue = Dry.RecipePlcViews[12].Set; + TextE.DryW13.MCValue = Dry[12].Weight; //TextE.DryW14.MCValue = Dry.RecipePlcViews[13].Set; //TextE.DryW15.MCValue = Dry.RecipePlcViews[14].Set; TextE.DryT1.MCValue = Dry[0].Allowance; @@ -358,7 +358,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl TextE.DryW10.MCValue = Dry.RecipePlcViews[9].Set; TextE.DryW11.MCValue = Dry.RecipePlcViews[10].Set; TextE.DryW12.MCValue = Dry.RecipePlcViews[11].Set; - //TextE.DryW13.MCValue = Dry.RecipePlcViews[12].Set; + TextE.DryW13.MCValue = Dry.RecipePlcViews[12].Set; //TextE.DryW14.MCValue = Dry.RecipePlcViews[13].Set; //TextE.DryW15.MCValue = Dry.RecipePlcViews[14].Set; TextE.DryT1.MCValue = Dry.RecipePlcViews[0].Tolerance; @@ -373,7 +373,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl TextE.DryT10.MCValue = Dry.RecipePlcViews[9].Tolerance; TextE.DryT11.MCValue = Dry.RecipePlcViews[10].Tolerance; TextE.DryT12.MCValue = Dry.RecipePlcViews[11].Tolerance; - //TextE.DryT13.MCValue = Dry.RecipePlcViews[12].Tolerance; + TextE.DryT13.MCValue = Dry.RecipePlcViews[12].Tolerance; //TextE.DryT14.MCValue = Dry.RecipePlcViews[13].Tolerance; //TextE.DryT15.MCValue = Dry.RecipePlcViews[14].Tolerance; TextE.DryWaitTime.MCValue = Dry.RecipeSteps[1].MixTime; diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs index 6abcd85..7f106f5 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs @@ -144,6 +144,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl.Entity public MCTextBox DryW10 { get; set; } public MCTextBox DryW11 { get; set; } public MCTextBox DryW12 { get; set; } + public MCTextBox DryW13 { get; set; } //public MCTextBox DryW14 { get; set; } //public MCTextBox DryW15 { get; set; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/PlcAutoWriteHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/PlcAutoWriteHelper.cs index a0d5771..b79b71f 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/PlcAutoWriteHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/PlcAutoWriteHelper.cs @@ -389,7 +389,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl DryerGetValue(ComboE.DryM10, TextE.DryW10, TextE.DryT10, recipes, materials, RadioE); DryerGetValue(ComboE.DryM11, TextE.DryW11, TextE.DryT11, recipes, materials, RadioE); DryerGetValue(ComboE.DryM12, TextE.DryW12, TextE.DryT12, recipes, materials, RadioE); - //DryerGetValue(ComboE.DryM13, TextE.DryW13, TextE.DryT13, recipes, materials, RadioE); + DryerGetValue(ComboE.DryM13, TextE.DryW13, TextE.DryT13, recipes, materials, RadioE); //DryerGetValue(ComboE.DryM14, TextE.DryW14, TextE.DryT14, recipes, materials, RadioE); //DryerGetValue(ComboE.DryM15, TextE.DryW15, TextE.DryT15, recipes, materials, RadioE);