From 2f73fcd228b3a593006b2bbb56e30f98d306884d Mon Sep 17 00:00:00 2001 From: wenjy Date: Mon, 15 Jan 2024 16:56:37 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E9=87=87=E9=9B=86=E8=80=81?= =?UTF-8?q?=E7=BA=BF=E5=8F=91=E6=B3=A1=E6=9C=BA=E7=8A=B6=E6=80=81=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aucma.Core.OldBoxFoam/Business/CollectionFoamMachine.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Aucma.Core.OldBoxFoam/Business/CollectionFoamMachine.cs b/Aucma.Core.OldBoxFoam/Business/CollectionFoamMachine.cs index 55ce7a8a..ae1020cc 100644 --- a/Aucma.Core.OldBoxFoam/Business/CollectionFoamMachine.cs +++ b/Aucma.Core.OldBoxFoam/Business/CollectionFoamMachine.cs @@ -254,9 +254,9 @@ namespace Aucma.Core.OldBoxFoam.Business var temp3 = byteToFloat(tempInfo.Skip(20).Take(4).ToArray()).ToString("0.00"); var temp4 = byteToFloat(tempInfo.Skip(24).Take(4).ToArray()).ToString("0.00"); - bool statusFlag_1 = obj.plc.ReadBool("Q.1"); - bool statusFlag_2 = obj.plc.ReadBool("Q.2"); - bool statusFlag_3 = obj.plc.ReadBool("Q.3"); + bool statusFlag_1 = obj.plc.ReadBool("Q0.1"); + bool statusFlag_2 = obj.plc.ReadBool("Q0.2"); + bool statusFlag_3 = obj.plc.ReadBool("Q0.3"); int statusFlag = 0; if (statusFlag_1)