From 4687427f9a801b8999e8fa7eec48b4377bfe4fc1 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期二, 27 八月 2024 17:00:57 +0800 Subject: [PATCH] Merge branch 'hwh' --- 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