namespace HStation.WinFrmUI
{
public class TankSingleMatchingViewModel
{
public TankSingleMatchingViewModel(Vmo.AssetsTankMainVmo rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.Description = rhs.Description;
this.SortCode = rhs.SortCode;
this.Name = rhs.Name;
this.Description = rhs.Description;
this.SeriesID = rhs.SeriesID;
this.SortCode = rhs.SortCode;
this.KeyWord = string.Join(",", rhs.KeyWord);
}
[DisplayName("ID")]
[Browsable(false)]
public long ID { get; set; }
///
/// 系列ID
///
[DisplayName("系列ID")]
[Browsable(false)]
public long SeriesID { get; set; }
///
/// 最低水位
///
[DisplayName("最低水位")]
[Browsable(true)]
public double MinLevel { get; set; }
///
/// 最高水位
///
[DisplayName("最高水位")]
[Browsable(true)]
public double MaxLevel { get; set; }
///
/// 公称直径
///
[DisplayName("公称直径")]
[Browsable(true)]
public double DN { get; set; }
///
/// 最小容积
///
[DisplayName("最小容积")]
[Browsable(true)]
public double MinVol { get; set; }
///
/// 是否允许溢流
///
[DisplayName("是否溢流")]
[Browsable(true)]
public bool OverFlow { get; set; }
///
/// 损失系数
///
[DisplayName("损失系数")]
[Browsable(true)]
public double Coefficient { get; set; }
///
/// 说明
///
[DisplayName("说明")]
[Browsable(true)]
public string Description { get; set; }
///
/// 排序码
///
[DisplayName("排序码")]
[Browsable(true)]
public int SortCode { get; set; }
///
/// 名称
///
[DisplayName("名称")]
[Browsable(true)]
public string Name { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
[Browsable(false)]
public string CreateName { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
[Browsable(false)]
public string CreateTime { get; set; }
///
/// 识别关键字
///
[DisplayName("关键字")]
[Browsable(true)]
public string KeyWord { get; set; }
///
/// 阀门设置
///
[DisplayName("阀门设置")]
[Browsable(true)]
public string TankSetting { get; set; }
}
}