| | |
| | | using Yw.Dto; |
| | | using HStation.Vmo; |
| | | using Yw.Dto; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public MapProjectViewModel(XhsProjectStdDto project, MapInfoStdDto mapInfo) |
| | | public MapProjectViewModel(XhsProjectVmo project, MapInfoStdDto mapInfo) |
| | | { |
| | | this.Id = project.ID.ToString(); |
| | | this.Name = project.Name; |
| | |
| | | this.Description = project.Description; |
| | | var marker = Yw.Model.Map.Marker.ToModel(mapInfo.Position); |
| | | this.Point = marker?.Point; |
| | | this.Customer = project.Customer; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 客户 |
| | | /// </summary> |
| | | public string Customer { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 坐标 |
| | | /// </summary> |
| | | public Yw.Model.Map.Point Point { get; set; } |