1
z8018
2025-03-12 17e4c7e3e7b3ef60d9da6de3b2a39a14a53c38a0
WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DTO/DeviceProDTO.cs
@@ -20,15 +20,24 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Communicator;
namespace WIDESEAWCS_QuartzJob.DTO
{
    /// <summary>
    /// 设备协议信息DTO
    /// </summary>
    public class DeviceProDTO
    {
        /// <summary>
        /// 协议主键
        /// </summary>
        public int DeviceProId { get; set; }
        /// <summary>
        /// 设备PLC类型
        /// </summary>
        public string DevicePlcType { get; set; }
        /// <summary>
        /// 设备信息主键
@@ -57,7 +66,9 @@
        {
            get
            {
                return DeviceProDataBlock + "." + DeviceProOffset;
                if (DevicePlcType == nameof(SiemensS7))
                    return DeviceProDataBlock + "." + DeviceProOffset;
                return DeviceProDataBlock + "";
            }
        }