namespace HStation.WinFrmUI
{
///
///
///
public class XhsProjectSimulationPumpUnMatchingViewModel
{
///
///
///
public XhsProjectSimulationPumpUnMatchingViewModel() { }
///
///
///
public XhsProjectSimulationPumpUnMatchingViewModel(Yw.Model.HydroPumpInfo rhs)
{
this.ID = rhs.ID;
this.Catalog = Yw.WinFrmUI.HydroParterCatalogHelper.GetName(rhs.Catalog);
this.Name = rhs.Name;
this.Code = rhs.Code;
this.DbId = rhs.DbId;
this.DbLocked = rhs.DbLocked;
this.LinkStatus = rhs.LinkStatus;
this.RatedP = rhs.RatedP;
this.RatedQ = rhs.RatedQ;
this.RatedH = rhs.RatedH;
this.RatedN = rhs.RatedN;
this.CurveQP = rhs.CurveQP;
this.CurveQP = rhs.CurveQP;
this.CurveQE = rhs.CurveQE;
this.SpeedRatio = rhs.SpeedRatio;
this.SpeedRatioPattern = rhs.SpeedRatioPattern;
this.FlagsString = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
this.Description = rhs.Description;
this.Vmo = rhs;
}
///
/// id
///
[DisplayName("ID")]
[Display(Name = "ID")]
public long ID { get; set; }
///
/// 分类
///
[DisplayName("分类")]
[Display(Name = "分类")]
public string Catalog { get; set; }
///
/// 编码
///
[DisplayName("编码")]
[Display(Name = "编码")]
public string Code { get; set; }
///
/// 名称
///
[DisplayName("名称")]
[Display(Name = "名称")]
public string Name { get; set; }
///
/// 数据id
///
[DisplayName("数据id")]
[Display(Name = "数据id")]
public string DbId { get; set; }
///
/// 锁定
///
[DisplayName("锁定")]
[Display(Name = "锁定")]
public bool DbLocked { get; set; }
///
/// 水泵状态
///
[DisplayName("水泵状态")]
[Display(Name = "水泵状态")]
public string LinkStatus { get; set; }
///
/// 额定功率
///
[DisplayName("额定功率")]
[Display(Name = "额定功率")]
public double RatedP { get; set; }
///
/// 额定流量
///
[DisplayName("额定流量")]
[Display(Name = "额定流量")]
public double? RatedQ { get; set; }
///
/// 额定扬程
///
[DisplayName("额定扬程")]
[Display(Name = "额定扬程")]
public double? RatedH { get; set; }
///
/// 额定转速
///
[DisplayName("额定转速")]
[Display(Name = "额定转速")]
public double? RatedN { get; set; }
///
/// 流量扬程曲线
///
[DisplayName("流量扬程曲线")]
[Display(Name = "流量扬程曲线")]
public string CurveQH { get; set; }
///
/// 流量功率曲线
///
[DisplayName("流量功率曲线")]
[Display(Name = "流量功率曲线")]
public string CurveQP { get; set; }
///
/// 流量效率曲线
///
[DisplayName("流量效率曲线")]
[Display(Name = "流量效率曲线")]
public string CurveQE { get; set; }
///
/// 转速比
///
[DisplayName("转速比")]
[Display(Name = "转速比")]
public double? SpeedRatio { get; set; }
///
/// 转速比模式
///
[DisplayName("转速比模式")]
[Display(Name = "转速比模式")]
public string SpeedRatioPattern { get; set; }
///
/// 能耗价格
///
[DisplayName("能耗价格")]
[Display(Name = "能耗价格")]
public double? Price { get; set; }
///
/// 价格模式
///
[DisplayName("价格模式")]
[Display(Name = "价格模式")]
public string PricePattern { get; set; }
///
/// 标签
///
[DisplayName("标签")]
[Display(Name = "标签")]
public string FlagsString { get; set; }
///
/// 说明
///
[DisplayName("说明")]
[Display(Name = "说明")]
public string Description { get; set; }
///
///
///
public Yw.Model.HydroPumpInfo Vmo { get; set; }
}
}