| | |
| | | using DevExpress.Pdf.Native; |
| | | using HStation.Service.Xhs; |
| | | |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// |
| | | /// </summary> |
| | | public class XhsProjectMgrViewModel |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// |
| | | /// </summary> |
| | | public XhsProjectMgrViewModel() { } |
| | | public XhsProjectMgrViewModel() |
| | | { } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// |
| | | /// </summary> |
| | | public XhsProjectMgrViewModel(XhsProjectDto project) |
| | | public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool IsHaveBimface) |
| | | { |
| | | this.ID = project.ID; |
| | | this.ParentID = project.ParentID; |
| | |
| | | this.TagName = project.TagName; |
| | | this.SortCode = project.SortCode; |
| | | this.Description = project.Description; |
| | | this.IsHaveBimface = IsHaveBimface; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProjectMgrViewModel(XhsProjectDto project, bool hasLocation) : this(project) |
| | | /* /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProjectMgrViewModel(Vmo.Xhs.XhsProjectExtensions project, bool hasLocation) : this(project) |
| | | { |
| | | this.HasLocation = hasLocation; |
| | | }*/ |
| | | |
| | | public void Reset(Vmo.Xhs.XhsProjectExtensions project) |
| | | { |
| | | 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; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public string Customer { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 模型状态 |
| | | /// </summary> |
| | | [Display(Name = "模型状态")] |
| | | public int ModelState { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标签 |
| | | /// </summary> |
| | | [Display(Name = "标签")] |
| | |
| | | [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; } |
| | | } |
| | | } |
| | | } |