| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /* public MapProjectViewModel(XhsProjectVmo project, Yw.Vmo.MapInfoVmo mapInfo) |
| | | public MapProjectViewModel(Vmo.PlaceVmo project, Yw.Vmo.MapInfoVmo mapInfo) |
| | | { |
| | | this.Id = project.ID.ToString(); |
| | | this.Name = project.Name; |
| | | this.NO = project.NO; |
| | | //this.NO = project.NO; |
| | | this.Description = project.Description; |
| | | var marker = Yw.Model.Map.Marker.ToModel(mapInfo.Position); |
| | | this.Point = marker?.Point; |
| | | this.Customer = project.Customer; |
| | | }*/ |
| | | this.Address = marker?.Address; |
| | | //this.Customer = project.Customer; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 项目id |
| | |
| | | /// 坐标 |
| | | /// </summary> |
| | | public Yw.Model.Map.Point Point { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 详细位置 |
| | | /// </summary> |
| | | public string Address { get; set; } |
| | | } |
| | | } |