using CollaborativePlatformMain.DFEntity;
using DFBIM.CADNETCommon.XmlConfig;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CollaborativePlatformMain.CADStartUtil
{

    /// <summary>
    /// 
    /// <para>文件名(File Name):     FloorDataConfigUtil.cs</para>
    /// 
    /// <para>描述(Description):     楼层数据config文件</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年5月8日11:10:37</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    [Serializable]
    public class FloorDataConfigUtil: XmlConfigBase
    {
        public override object InitConfig()
        {
            return new ObservableCollection<List<FloorLayerData>>();
        }

        public override void SetConfigFile()
        {
            ConfigFile = "FloorLayerData.config";
        }

        ObservableCollection<List<FloorLayerData>> info;
        public ObservableCollection<List<FloorLayerData>> Info
        {
            get { return info == null ? info = new ObservableCollection<List<FloorLayerData>>() : info; }
            set { info = value; }
        }
    }

    /// <summary>
    /// 
    /// <para>文件名(File Name):     OpenDrawConfigUtil.cs</para>
    /// 
    /// <para>描述(Description):     打开图纸</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年5月8日11:10:37</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    [Serializable]
    public class OpenDrawConfigUtil : XmlConfigBase
    {
        public override object InitConfig()
        {
            return new ObservableCollection<OpenDrawPathData>();
        }

        public override void SetConfigFile()
        {
            ConfigFile = "OpenDrawPathData.config";
        }

        ObservableCollection<OpenDrawPathData> info;
        public ObservableCollection<OpenDrawPathData> Info
        {
            get { return info == null ? info = new ObservableCollection<OpenDrawPathData>() : info; }
            set { info = value; }
        }
    }


    /// <summary>
    /// 
    /// <para>文件名(File Name):     OpenDrawConfigUtil.cs</para>
    /// 
    /// <para>描述(Description):     打开图纸</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年5月8日11:10:37</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    [Serializable]
    public class TwoOpenCADConfigUtil : XmlConfigBase
    {
        public override object InitConfig()
        {
            return new ObservableCollection<TwoOpenData>();
        }

        public override void SetConfigFile()
        {
            ConfigFile = "CMTwoOpenCAD.config";
        }

        ObservableCollection<TwoOpenData> info;
        public ObservableCollection<TwoOpenData> Info
        {
            get { return info == null ? info = new ObservableCollection<TwoOpenData>() : info; }
            set { info = value; }
        }
    }

}
