MapStation.cs 4.5 KB
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 地图元素附加信息
	/// </summary>
    [Table("t_base_map_station")]
    public partial class MapStation : SysEntity
    {
        public MapStation()
        {

        }
        /// <summary>
	    /// Id
        /// areasID当加载地图时需要将字段名换成Id
	    /// </summary>
        [Column("AID")]
        public string AID { get; set; }
        /// <summary>
	    /// 名称
        /// 调度和JSON都需要
	    /// </summary>
        [Column("Name")]
        public string Name { get; set; }
        /// <summary>
        /// Left边距
        /// </summary>
        [Column("Left")]
        public string Left { get; set; }
        /// <summary>
        /// top高度
        /// </summary>
        [Column("Top")]
        public string Top { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        [Column("Width")]
        public string Width { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        [Column("Height")]
        public string Height { get; set; }
        /// <summary>
	    /// 充点桩附属充点电RFID值
	    /// </summary>
        [Column("ChargeRFID")]
        public string ChargeRFID { get; set; }
        /// <summary>
	    /// 充点桩附属充点电方向
	    /// </summary>
        [Column("ChargeDirection")]
        public string ChargeDirection { get; set; }
        /// <summary>
	    /// 充点桩附属充点电距离
	    /// </summary>
        [Column("ChargeLength")]
        public string ChargeLength { get; set; }
        /// <summary>
        /// 关联位置
        /// </summary>
        [Column("RFID")]
        public string RFID { get; set; }
        /// <summary>
        /// 关联位置
        /// </summary>
        [Column("ListRFID")]
        public string ListRFID { get; set; }
        /// <summary>
	    /// 充电Y正方向距离
	    /// </summary>
        [Column("txt_up")]
        public string Txt_up { get; set; }
        /// <summary>
	    /// Y负方向距离
	    /// </summary>
        [Column("txt_down")]
        public string Txt_down { get; set; }
        /// <summary>
	    /// X负方向距离
	    /// </summary>
        [Column("txt_left")]
        public string Txt_left { get; set; }
        /// <summary>
	    /// X正方向距离
	    /// </summary>
        [Column("txt_right")]
        public string Txt_right { get; set; }
        #region AGV用到的字段
        /// <summary>
	    /// 站台编码
	    /// </summary>
        [Column("Code")]
        public string Code { get; set; }
     //   /// <summary>
	    ///// 站台类型
	    ///// </summary>
     //   [Column("StationType")]
     //   public int? StationType { get; set; }

        /// <summary>
        /// 站台类型
        /// </summary>
        [Column("StationType")]
        public RCS.Model.Comm.EnumMsg.StationType? StationType { get; set; }
        /// <summary>
	    /// 所属区域
	    /// </summary>
        [Column("Area")]
        public string Area { get; set; }
        /// <summary>
	    /// 组别
	    /// </summary>
        [Column("Group")]
        public string Group { get; set; }
        /// <summary>
	    /// 站台方向
	    /// </summary>
        [Column("StationDirection")]
        public int? StationDirection { get; set; }
        /// <summary>
	    /// 站台低位高度
	    /// </summary>
        [Column("LowHeight")]
        public ushort LowHeight { get; set; }
        /// <summary>
        /// 站台高位高度
        /// </summary>
        [Column("HighHeight")]
        public ushort HighHeight { get; set; }
        /// <summary>
	    /// 是否可用
	    /// </summary>
        [Column("IsEnable")]
        public bool? IsEnable { get; set; }
        /// <summary>
	    /// 是否锁定
	    /// </summary>
        [Column("IsLocked")]
        public bool? IsLocked { get; set; }
        /// <summary>
	    /// 点编码
	    /// </summary>
        [Column("Barcode")]
        public string Barcode { get; set; }
        /// <summary>
	    /// 附属点
	    /// </summary>
        [Column("PreBarcode")]
        public string PreBarcode { get; set; }
        /// <summary>
	    /// 防撞属性
	    /// </summary>
        [Column("Tim")]
        public sbyte Tim { get; set; }
        /// <summary>
	    /// 站台状态
	    /// </summary>
        [Column("StationState")]
        public int? StationState { get; set; }
        #endregion
    }
}