lixiaojun
2024-12-04 df6cdffc65beff763cff9745f5ee46e26c13ccc5
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrViewModel.cs
@@ -1,7 +1,4 @@
using DevExpress.Pdf.Native;
using HStation.Service.Xhs;
namespace HStation.WinFrmUI
namespace HStation.WinFrmUI
{
    /// <summary>
    ///
@@ -11,8 +8,7 @@
        /// <summary>
        ///
        /// </summary>
        public XhsProjectMgrViewModel()
        { }
        public XhsProjectMgrViewModel() { }
        public enum eFileStatus
        {
@@ -71,7 +67,7 @@
            Noupload,
        }
        public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool IsHaveBimface, int BimfaceState, Yw.Vmo.Map.MapInfo mapInfo)
        public XhsProjectMgrViewModel(XhsProjectExtensionsVmo project, bool IsHaveBimface, int BimfaceState, Yw.Vmo.MapInfoVmo mapInfo)
        {
            this.ID = project.ID;
            this.ParentID = project.ParentID;
@@ -81,6 +77,8 @@
            {
                this.Address = Yw.Model.Map.Marker.ToModel(mapInfo.Position).Address;
            }
            this.CreateTime = project.NO.Substring(4, 10);
            this.Customer = project.Customer;
            this.Flags = Yw.Untity.FlagsHelper.ToString(project.Flags);
            this.TagName = project.TagName;
@@ -90,7 +88,7 @@
            this.ModelState = (eFileStatus)BimfaceState;
        }
        public void Reset(Vmo.Xhs.XhsProjectExtensions project)
        public void Reset(XhsProjectExtensionsVmo project)
        {
            this.ID = project.ID;
            this.ParentID = project.ParentID;
@@ -122,6 +120,7 @@
        {
            this.ID = (long)project.ProjectID;
            this.NO = project.NO;
            this.CreateTime = project.NO.Substring(4, 10);
            this.Name = project.Name;
            this.Address = project.Address;
            this.Customer = project.Customer;
@@ -179,6 +178,12 @@
        public string Address { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public string CreateTime { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        [Display(Name = "客户名称")]