WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs
@@ -20,6 +20,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Communicator; namespace WIDESEAWCS_QuartzJob.DTO { @@ -29,6 +30,8 @@ /// 协议主键 /// </summary> public int DeviceProId { get; set; } public string DevicePlcType { get; set; } /// <summary> /// 设备信息主键 @@ -57,7 +60,9 @@ { get { if (DevicePlcType == nameof(SiemensS7)) return DeviceProDataBlock + "." + DeviceProOffset; return Convert.ToInt32(DeviceProOffset) + ""; } }