| | |
| | | /// </summary> |
| | | public HydroTranslationViewModel(Yw.Model.HydroTranslationInfo rhs, Yw.Model.HydroModelInfo hydroInfo) : base(rhs, hydroInfo) |
| | | { |
| | | this.Elev = Math.Round(rhs.Elev, 4); |
| | | this.Material = rhs.Material; |
| | | this.Length = Math.Round(rhs.Length, 0); |
| | | this.Roughness = Math.Round(rhs.Roughness, 0); |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 标高/高程 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("标高")] |
| | | [DisplayUnit("m")] |
| | | [Display(Name = "标高(m)")] |
| | | [PropertyOrder(2001)] |
| | | [Browsable(true)] |
| | | public virtual double Elev { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 材质 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [Display(Name = "材质")] |
| | | [DisplayName("材质")] |
| | | [PropertyOrder(2001)] |
| | | [PropertyOrder(2002)] |
| | | [Browsable(true)] |
| | | public string Material { get; set; } |
| | | |