| | |
| | | using System.ComponentModel; |
| | | using HStation.PBS; |
| | | using System.ComponentModel; |
| | | using Yw.Untity; |
| | | |
| | | namespace PBS.WinFrmUI |
| | | { |
| | |
| | | this.PlaceType = rhs.PlaceType; |
| | | this.PlaceInfo = rhs.PlaceInfo; |
| | | this.Address = rhs.Address; |
| | | this.Flags = rhs.Flags?.ToString(); |
| | | this.UseStatus = rhs.UseStatus; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | this.Paras = rhs.Paras; |
| | | this.Flags = FlagsHelper.ToString(rhs.Flags); |
| | | this.Vmo = rhs; |
| | | } |
| | | |
| | | public void Resert(Vmo.PlaceVmo rhs) |
| | |
| | | this.PlaceType = rhs.PlaceType; |
| | | this.PlaceInfo = rhs.PlaceInfo; |
| | | this.Address = rhs.Address; |
| | | this.Flags = rhs.Flags?.ToString(); |
| | | this.Paras = rhs.Paras; |
| | | this.UseStatus = rhs.UseStatus; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | this.Flags = FlagsHelper.ToString(rhs.Flags); |
| | | this.Vmo = rhs; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// 行政区域标识 |
| | | ///</summary> |
| | | [DisplayName("行政区域标识")] |
| | | [Browsable(false)] |
| | | [Browsable(true)] |
| | | public long RegionID { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | ///</summary> |
| | | [DisplayName("场所类型")] |
| | | [Browsable(true)] |
| | | public int PlaceType { get; set; } |
| | | public ePlaceType PlaceType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 场所信息 |
| | |
| | | ///</summary> |
| | | [DisplayName("使用状态")] |
| | | [Browsable(true)] |
| | | public int UseStatus { get; set; } |
| | | public Yw.Vmo.eUseStatus UseStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序码 |
| | |
| | | [DisplayName("说明")] |
| | | [Browsable(true)] |
| | | public string Description { get; set; } |
| | | |
| | | public Vmo.PlaceVmo Vmo { get; set; } |
| | | } |
| | | } |