From 6bb0d549994fb02bad5d793a10ea3b6a1859867c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Tue, 18 Jun 2024 16:19:59 +0800 Subject: [PATCH] =?UTF-8?q?DryT13=20=E6=B2=A1=E6=9C=89=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AutoControl/ControlsHelper.cs | 41 +------------------ 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs index f8253b4..bfedc39 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/ControlsHelper.cs @@ -334,7 +334,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl TextE.DryT10.MCValue = Dry[9].Allowance; TextE.DryT11.MCValue = Dry[10].Allowance; TextE.DryT12.MCValue = Dry[11].Allowance; - + TextE.DryT13.MCValue = Dry[12].Allowance; var d= FreeSqlUnit.Instance.Queryable().Where(x => x.Id == sel).First(); TextE.DryWaitTime.MCValue = d.WaitTime; @@ -344,44 +344,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl TextE.DrySpeed3.MCValue = d.Speed3; } - public static void DryDataShow(DryerView Dry, MCTextBoxEntity TextE) - { - TextE.DryW1.MCValue = Dry.RecipePlcViews[0].Set; - TextE.DryW2.MCValue = Dry.RecipePlcViews[1].Set; - TextE.DryW3.MCValue = Dry.RecipePlcViews[2].Set; - TextE.DryW4.MCValue = Dry.RecipePlcViews[3].Set; - TextE.DryW5.MCValue = Dry.RecipePlcViews[4].Set; - TextE.DryW6.MCValue = Dry.RecipePlcViews[5].Set; - TextE.DryW7.MCValue = Dry.RecipePlcViews[6].Set; - TextE.DryW8.MCValue = Dry.RecipePlcViews[7].Set; - TextE.DryW9.MCValue = Dry.RecipePlcViews[8].Set; - 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.DryW14.MCValue = Dry.RecipePlcViews[13].Set; - //TextE.DryW15.MCValue = Dry.RecipePlcViews[14].Set; - TextE.DryT1.MCValue = Dry.RecipePlcViews[0].Tolerance; - TextE.DryT2.MCValue = Dry.RecipePlcViews[1].Tolerance; - TextE.DryT3.MCValue = Dry.RecipePlcViews[2].Tolerance; - TextE.DryT4.MCValue = Dry.RecipePlcViews[3].Tolerance; - TextE.DryT5.MCValue = Dry.RecipePlcViews[4].Tolerance; - TextE.DryT6.MCValue = Dry.RecipePlcViews[5].Tolerance; - TextE.DryT7.MCValue = Dry.RecipePlcViews[6].Tolerance; - TextE.DryT8.MCValue = Dry.RecipePlcViews[7].Tolerance; - TextE.DryT9.MCValue = Dry.RecipePlcViews[8].Tolerance; - 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.DryT14.MCValue = Dry.RecipePlcViews[13].Tolerance; - //TextE.DryT15.MCValue = Dry.RecipePlcViews[14].Tolerance; - TextE.DryWaitTime.MCValue = Dry.RecipeSteps[1].MixTime; - TextE.DryOutDelayTime.MCValue = Dry.RecipeSteps[2].MixTime; - TextE.DrySpeed1.MCValue = Dry.RecipeSteps[0].MixSpeed; - TextE.DrySpeed2.MCValue = Dry.RecipeSteps[1].MixSpeed; - TextE.DrySpeed3.MCValue = Dry.RecipeSteps[2].MixSpeed; - } + public static void GWDataShow(List Gels, MCTextBoxEntity TextE,int sel) {