From 1654fcc933eed506058c371bca3dc66baacb0ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Fri, 12 Apr 2024 17:25:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E9=9B=86=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionSystem/Forms/HomeFormInfo.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ProductionSystem/Forms/HomeFormInfo.cs b/ProductionSystem/Forms/HomeFormInfo.cs index b81af1f..b45d0cc 100644 --- a/ProductionSystem/Forms/HomeFormInfo.cs +++ b/ProductionSystem/Forms/HomeFormInfo.cs @@ -1699,18 +1699,21 @@ namespace ProductionSystem.Forms //内1 if (par == "BZ5") { - t.Xll = GetPlcValue("D1212"); - t.Xllzt = GetPlcValue("D1112"); + + t.Xll = GetPlcValue("D1214"); + t.Xllzt = GetPlcValue("D1114"); if (t.Xll != "0.000" || t.Xllzt != "0.0000") { _result2Service.AddTResult2(t); } + + } //内2 if (par == "BZ6") { - t.Xll = GetPlcValue("D1214"); - t.Xllzt = GetPlcValue("D1114"); + t.Xll = GetPlcValue("D1216"); + t.Xllzt = GetPlcValue("D1116"); if (t.Xll != "0.000" || t.Xllzt != "0.0000") { _result2Service.AddTResult2(t); @@ -1719,8 +1722,8 @@ namespace ProductionSystem.Forms //外漏 if (par == "BZ7") { - t.Xll = GetPlcValue("D1216"); - t.Xllzt = GetPlcValue("D1116"); + t.Xll = GetPlcValue("D1212"); + t.Xllzt = GetPlcValue("D1112"); if (t.Xll != "0.000" || t.Xllzt != "0.0000") { _result2Service.AddTResult2(t);