yangyin
2024-08-22 7d49fe63d26ec26ebee525a7ee26d8ee1dfbbc60
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrViewModel.cs
@@ -17,7 +17,7 @@
        /// <summary>
        ///
        /// </summary>
        public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project)
        public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool IsHaveBimface)
        {
            this.ID = project.ID;
            this.ParentID = project.ParentID;
@@ -29,15 +29,16 @@
            this.TagName = project.TagName;
            this.SortCode = project.SortCode;
            this.Description = project.Description;
            this.IsHaveBimface = IsHaveBimface;
        }
        /// <summary>
        ///
        /// </summary>
        public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool hasLocation) : this(project)
        {
            this.HasLocation = hasLocation;
        }
        /*        /// <summary>
                ///
                /// </summary>
                public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool hasLocation) : this(project)
                {
                    this.HasLocation = hasLocation;
                }*/
        public void Reset(Vmo.Xhs.XhsProjectExtensions project)
        {
@@ -137,10 +138,15 @@
        [Display(Name = "说明")]
        public string Description { get; set; }
        /*      /// <summary>
              /// 定位
              /// </summary>
              [Display(Name = "定位")]
              public bool HasLocation { get; set; }*/
        /// <summary>
        /// 定位
        /// 是否存在三维模型
        /// </summary>
        [Display(Name = "定位")]
        public bool HasLocation { get; set; }
        public bool IsHaveBimface { get; set; }
    }
}