MapPoint.cs 8.68 KB
using RCS.Model.Comm;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

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

        }
        /// <summary>
	    /// Id
        /// areasID当加载地图时需要将字段名换成Id
	    /// </summary>
        [Column("AID")]
        public string AID { get; set; }
        /// <summary>
	    /// 名称
	    /// </summary>
        [Column("Name")]
        public string Name { get; set; }
        [Column("Left")]
        public string Left { get; set; }
        /// <summary>
	    /// 名称
	    /// </summary>
        [Column("Top")]
        public string Top { get; set; }
        /// <summary>
	    /// X坐标
	    /// </summary>
        [Column("IntXC")]
        public string IntXC { get; set; }
        /// <summary>
	    /// Y坐标
	    /// </summary>
        [Column("IntYC")]
        public string IntYC { get; set; }
        /// <summary>
	    /// Y正方向
	    /// </summary>
        [Column("chk_up")]
        public bool? Chk_up { get; set; }
        /// <summary>
	    /// Y负方向
	    /// </summary>
        [Column("chk_down")]
        public bool? Chk_down { get; set; }
        /// <summary>
	    /// X负方向
	    /// </summary>
        [Column("chk_left")]
        public bool? Chk_left { get; set; }
        /// <summary>
	    /// X正方向
	    /// </summary>
        [Column("chk_right")]
        public bool? Chk_right { 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; }
        /// <summary>
	    /// RFID类型
	    /// </summary>
        [Column("point_type")]
        public string Point_type { get; set; }
        /// <summary>
	    /// 点位是否启用
	    /// </summary>
        [Column("is_enable")]
        public bool? Is_enable { get; set; }
        /// <summary>
	    /// 是否旋转
	    /// </summary>
        [Column("point_turn")]
        public int? Point_turn { get; set; }
        /// <summary>
	    /// 点所在区域
	    /// </summary>
        [Column("point_area")]
        public string Point_area { get; set; }
        /// <summary>
	    /// RFID值
	    /// </summary>
        [Column("RFID")]
        public string RFID { get; set; }
        /// <summary>
	    /// 停留时间
	    /// </summary>
        [Column("PauseTime")]
        public string PauseTime { get; set; }
        /// <summary>
	    /// 是否驻停
	    /// </summary>
        [Column("Isstop")]
        public int? IsStop { get; set; }
        /// <summary>
	    /// 停止等级
	    /// </summary>
        [Column("IntStopLevel")]
        public int? IntStopLevel { get; set; }
        /// <summary>
        /// 车头角度
        /// </summary>
        [Column("IntAgvOri")]
        public float? IntAgvAngle { get; set; }
        /// <summary>
        /// X正G值,用于点位的权重计算
        /// </summary>
        public int? XPosGValue { get; set; }
        /// <summary>
        /// X负G值,用于点位的权重计算
        /// </summary>
        public int? XNegGValue { get; set; }
        /// <summary>
        /// Y正G值,用于点位的权重计算
        /// </summary>
        public int? YPosGValue { get; set; }
        /// <summary>
        /// Y负G值,用于点位的权重计算
        /// </summary>
        public int? YNegGValue { get; set; }
        #region AGV用到的字段
        /// <summary>
	    /// 名称
	    /// </summary>
        [Column("AreaType")]
        public string AreaType { get; set; }
        /// <summary>
	    /// X坐标
	    /// </summary>
        [Column("Barcode")]
        public string Barcode { get; set; }
        /// <summary>
	    /// 充点桩附属充点电距离
	    /// </summary>
        [Column("BarcodeValue")]
        public string BarcodeValue { get; set; }
        /// <summary>
        /// 附属点
        /// </summary>
        [Column("PreBarcode")]
        public string PreBarcode { get; set; }
        /// <summary>
        /// 限制区域
        /// JSon和调度系统都需要用到
        /// </summary>
        [Column("RegionName")]
        public string RegionName { get; set; }
        /// <summary>
        /// 点类型
        /// </summary>
        [Column("PointType")]
        public EnumMsg.PointType? PointType { get; set; }
        /// <summary>
	    /// Y坐标
	    /// </summary>
        [Column("IntX")]
        public int? IntX { get; set; }
        /// <summary>
	    /// Y正方向
	    /// </summary>
        [Column("IntY")]
        public int? IntY { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        [Column("IsEnable")]
        public bool? IsEnable { get; set; }
        /// <summary>
        /// 是否被小车占
        /// </summary>
        [Column("IsOccupy")]
        public bool? IsOccupy { get; set; }
        /// <summary>
        /// 占点小车编号
        /// </summary>
        [Column("OccupyAgvNo")]
        public string OccupyAgvNo { get; set; }
        /// <summary>
	    /// Y负方向
	    /// </summary>
        [Column("IsXpos")]
        public bool? IsXpos { get; set; }
        /// <summary>
	    /// X负方向
	    /// </summary>
        [Column("IsXNeg")]
        public bool? IsXNeg { get; set; }
        /// <summary>
	    /// X正方向
	    /// </summary>
        [Column("IsYPos")]
        public bool? IsYPos { get; set; }
        /// <summary>
	    /// Y正方向距离
	    /// </summary>
        [Column("IsYNeg")]
        public bool? IsYNeg { get; set; }
        /// <summary>
	    /// 限制区域
	    /// </summary>
        [Column("XLength")]
        public int? XLength { get; set; }
        /// <summary>
	    /// 点位是否启用
	    /// </summary>
        [Column("YLength")]
        public int? YLength { get; set; }
        /// <summary>
	    /// 车头角度
	    /// </summary>
        [Column("AgvAngle")]
        public int? AgvAngle { get; set; }
        /// <summary>
	    /// 停留时间
	    /// </summary>
        [Column("StopTime")]
        public int? StopTime { get; set; }
        /// <summary>
	    /// 充点桩附属充点电方向
	    /// </summary>
        [Column("StopLevel")]
        public int? StopLevel { get; set; }
        /// <summary>
        /// 车头方向
        /// </summary>
        [Column("AgvDirectionXPos")]
        public int? AgvDirectionXPos { get; set; }
        [Column("AgvDirectionXNeg")]
        public int? AgvDirectionXNeg { get; set; }
        [Column("AgvDirectionYPos")]
        public int? AgvDirectionYPos { get; set; }
        [Column("AgvDirectionYNeg")]
        public int? AgvDirectionYNeg { get; set; }
        /// <summary>
        /// 转盘方向
        /// </summary>
        [Column("DialDirectionXPos")]
        public int? DialDirectionXPos { get; set; }
        [Column("DialDirectionXNeg")]
        public int? DialDirectionXNeg { get; set; }
        [Column("DialDirectionYPos")]
        public int? DialDirectionYPos { get; set; }
        [Column("DialDirectionYNeg")]
        public int? DialDirectionYNeg { get; set; }
        /// <summary>
        /// 路径点属性
        /// </summary>
        [Column("AdjustIn")]
        public int AdjustIn { get; set; }
        [Column("AdjustOut")]
        public int AdjustOut { get; set; }
        /// <summary>
        /// 小车速度
        /// </summary>
        [Column("SpeedXPos")]
        public int SpeedXPos { get; set; }
        [Column("SpeedXNeg")]
        public int SpeedXNeg { get; set; }
        [Column("SpeedYPos")]
        public int SpeedYPos { get; set; }
        [Column("SpeedYNeg")]
        public int SpeedYNeg { get; set; }
        /// <summary>
        /// 雷达范围
        /// </summary>
        [Column("RadarXPos")]
        public int RadarXPos { get; set; }
        [Column("RadarXNeg")]
        public int RadarXNeg { get; set; }
        [Column("RadarYPos")]
        public int RadarYPos { get; set; }
        [Column("RadarYNeg")]
        public int RadarYNeg { get; set; }
        /// <summary>
        /// 走弧优先级
        /// </summary>
        [Column("ArcingLevel")]
        public int ArcingLevel { get; set; }
        #endregion
    }
}