namespace Yw.WinFrmUI
{
///
///
///
public class HydroCalcuFailedViewModel
{
///
///
///
public HydroCalcuFailedViewModel() { }
///
///
///
public HydroCalcuFailedViewModel(Yw.EPAnet.CalcuFailed rhs)
{
this.Code = rhs.Code;
this.Message = rhs.Message;
}
///
/// 错误编码
///
[Display(Name = "错误编码")]
public int Code { get; set; }
///
/// 错误信息
///
[Display(Name = "错误信息")]
public string Message { get; set; }
}
}