BusCollectionCommand.cs 1.57 KB
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HHECS.Model.Entities
{
    /// <summary>
    /// 采集数据结果表
    /// </summary>
    [Table("bus_collection_command")]
    [Serializable]
    public class BusCollectionCommand : BaseEntityCU<int>
    {
      

        /// <summary>
        /// 扩展设备编码
        /// </summary>
        [Column("externalEquipmentCode")]
        public string ExternalEquipmentCode { get; set; }


        /// <summary>
        /// 扩展设备名称
        /// </summary>
        [Column("externalEquipmentName")]
        public string ExternalEquipmentName { get; set; }

        /// <summary>
        /// 命令代码
        /// </summary>
        [Column("commandCode")]
        public string CommandCode { get; set; }

        /// <summary>
        /// 命令名称
        /// </summary>
        [Column("commandName")]
        public string CommandName { get; set; }

        /// <summary>
        /// IP
        /// </summary>
        [Column("ip")]
        public string Ip { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        [Column("port")]
        public string Port { get; set; }

        /// <summary>
        /// 通信类型 S7 、opcua、http、Socket等
        /// </summary>
        [Column("communicationType")]
        public string CommunicationType { get; set; }

        /// <summary>
        /// 显示实时数值
        /// </summary>
        [Column("value")]
        public string Value { get; set; }


    }
}