From 34044b791a62914aec56576f40d9de958c4f2bd4 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期三, 28 八月 2024 16:19:39 +0800 Subject: [PATCH] 任务日志和PLC取货异常逻辑 --- Admin.NET/WCS.Application/PLC/PLCUtil.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Admin.NET/WCS.Application/PLC/PLCUtil.cs b/Admin.NET/WCS.Application/PLC/PLCUtil.cs index 69442c6..4a4a40c 100644 --- a/Admin.NET/WCS.Application/PLC/PLCUtil.cs +++ b/Admin.NET/WCS.Application/PLC/PLCUtil.cs @@ -80,6 +80,9 @@ case PLCDataTypeEnum.Double: result = _client.ReadDouble(address); break; + case PLCDataTypeEnum.String: + result = _client.ReadString(address); + break; default: result = new IoTClient.Result<object>(); break; -- Gitblit v1.8.0