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 + ""; } }