duheng
2024-08-23 b6f84233ce512c9f0f65d550b3892f4ba6c8afa5
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrViewModel.cs
@@ -30,15 +30,24 @@
            this.SortCode = project.SortCode;
            this.Description = project.Description;
            this.IsHaveBimface = IsHaveBimface;
            this.ModelState = Yw.WinFrmUI.Bimface.eFileStatus.ConvertSucceed;
        }
        /*        /// <summary>
                ///
                /// </summary>
                public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool hasLocation) : this(project)
        public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool IsHaveBimface, int BimfaceState)
                {
                    this.HasLocation = hasLocation;
                }*/
            this.ID = project.ID;
            this.ParentID = project.ParentID;
            this.NO = project.NO;
            this.Name = project.Name;
            this.Address = project.Address;
            this.Customer = project.Customer;
            this.Flags = Yw.Untity.FlagsHelper.ToString(project.Flags);
            this.TagName = project.TagName;
            this.SortCode = project.SortCode;
            this.Description = project.Description;
            this.IsHaveBimface = IsHaveBimface;
            this.ModelState = (Yw.WinFrmUI.Bimface.eFileStatus)BimfaceState;
        }
        public void Reset(Vmo.Xhs.XhsProjectExtensions project)
        {
@@ -112,7 +121,7 @@
        /// 模型状态
        /// </summary>
        [Display(Name = "模型状态")]
        public int ModelState { get; set; }
        public Yw.WinFrmUI.Bimface.eFileStatus ModelState { get; set; }
        /// <summary>
        /// 标签