using DevExpress.Utils.Svg;
|
|
namespace HStation.WinFrmUI
|
{
|
public class SetHydroWaterboxCalcuPrefixViewModel
|
{
|
public SetHydroWaterboxCalcuPrefixViewModel() { }
|
public SetHydroWaterboxCalcuPrefixViewModel(Yw.Model.HydroWaterboxInfo rhs)
|
{
|
this.Name = rhs.Name;
|
this.InitLevel = rhs.InitLevel;
|
}
|
|
[Display(Name = "名称")]
|
public string Name { get; set; }
|
|
|
[Display(Name = "初始水位")]
|
public double InitLevel { get; set; }
|
|
[Display(Name = "图标")]
|
public SvgImage Icon { get; set; }
|
|
}
|
|
}
|