1
hutongqing
2025-01-02 8c6fd742db249ad4cc819cf041eb98d880a3ef73
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 + "";
            }
        }