using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CollaborativePlatformMain.DFEntity
{
    /// <summary>
    /// 
    /// <para>文件名(File Name):     FloorLayerData.cs</para>
    /// 
    /// <para>描述(Description):     楼层管理器数据</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年4月30日15:55:58</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    [Serializable]
    public class FloorLayerData
    {
        public FloorLayerData()
        {
        }


        /// <summary>
        /// 图层管理器
        /// </summary>
        /// <param name="layerName"></param>
        public FloorLayerData(string layerName)
        {
            LayerName = layerName;
        }

        /// <summary>
        /// 楼层管理器
        /// </summary>
        /// <param name="floorName"></param>
        /// <param name="floorName"></param>
        /// <param name="subDatas"></param>
        public FloorLayerData(string floorName, string dWGPath, List<FloorLayerData> subDatas)
        {
            FloorName = floorName;
            SubDatas = subDatas;
        }


        /// <summary>
        /// 楼层名称
        /// </summary>
        public string FloorName { get; set; }

        /// <summary>
        /// 图纸地址
        /// </summary>
        public string DWGPath { get; set; }

        /// <summary>
        /// 图层数据
        /// </summary>
        public List<FloorLayerData> SubDatas { get; set; } = new List<FloorLayerData>();

        /// <summary>
        /// 图层名
        /// </summary>
        public string LayerName { get; set; }



    }
}
