From 17e4c7e3e7b3ef60d9da6de3b2a39a14a53c38a0 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期三, 12 三月 2025 14:11:33 +0800 Subject: [PATCH] 1 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs index 2f570aa..64d5659 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs @@ -24,6 +24,9 @@ namespace WIDESEAWCS_QuartzJob.DTO { + /// <summary> + /// 璁惧鍗忚淇℃伅DTO + /// </summary> public class DeviceProDTO { /// <summary> @@ -31,6 +34,9 @@ /// </summary> public int DeviceProId { get; set; } + /// <summary> + /// 璁惧PLC绫诲瀷 + /// </summary> public string DevicePlcType { get; set; } /// <summary> @@ -62,7 +68,7 @@ { if (DevicePlcType == nameof(SiemensS7)) return DeviceProDataBlock + "." + DeviceProOffset; - return Convert.ToInt32(DeviceProOffset) + ""; + return DeviceProDataBlock + ""; } } -- Gitblit v1.9.3