| | |
| | | using DevExpress.Pdf.Native; |
| | | using HStation.Service.Xhs; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProjectMgrViewModel() |
| | | { } |
| | | public XhsProjectMgrViewModel() { } |
| | | |
| | | public enum eFileStatus |
| | | { |
| | |
| | | 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; |
| | |
| | | { |
| | | 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; |
| | |
| | | this.ModelState = (eFileStatus)BimfaceState; |
| | | } |
| | | |
| | | public void Reset(Vmo.Xhs.XhsProjectExtensions project) |
| | | public void Reset(XhsProjectExtensionsVmo project) |
| | | { |
| | | this.ID = project.ID; |
| | | this.ParentID = project.ParentID; |
| | |
| | | { |
| | | 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; |
| | |
| | | public string Address { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 创建时间 |
| | | /// </summary> |
| | | [Display(Name = "创建时间")] |
| | | public string CreateTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 客户 |
| | | /// </summary> |
| | | [Display(Name = "客户名称")] |