From 4f629b61b1bce2c399c277ea7f6f567dbb89d23c Mon Sep 17 00:00:00 2001 From: chengsc <11752@DESKTOP-DS49RCP> Date: 星期四, 16 一月 2025 15:30:58 +0800 Subject: [PATCH] 添加缠膜、拆膜显示 --- Admin.NET/WCS.Application/Service/WcsDevice/WcsDeviceService.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Admin.NET/WCS.Application/Service/WcsDevice/WcsDeviceService.cs b/Admin.NET/WCS.Application/Service/WcsDevice/WcsDeviceService.cs index c0c19d2..aef96fc 100644 --- a/Admin.NET/WCS.Application/Service/WcsDevice/WcsDeviceService.cs +++ b/Admin.NET/WCS.Application/Service/WcsDevice/WcsDeviceService.cs @@ -168,6 +168,11 @@ var (result11, value11) = modUtil.GetPlcDBValue(PLCDataTypeEnum.Short, DbNum, "48"); data.EndCeng = value11.ToString(); + var (result12, value12) = modUtil.GetPlcDBValue(PLCDataTypeEnum.Byte, DbNum, "50"); + data.ChanMo = value12.ToString(); + var (result13, value13) = modUtil.GetPlcDBValue(PLCDataTypeEnum.Byte, DbNum, "51"); + data.ChaiMo = value13.ToString(); + modUtil.Close(); return data; } -- Gitblit v1.8.0