using HStation.BLL;
|
|
namespace HStation.WinFrmUI
|
{
|
/// <summary>
|
/// 创建方案 view model
|
/// </summary>
|
public class CreateXhsSchemeViewModel
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public CreateXhsSchemeViewModel() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public CreateXhsSchemeViewModel
|
(
|
XhsProjectVmo project,
|
XhsProjectSiteVmo projectSite,
|
Yw.Model.HydroModelInfo hydroInfo,
|
List<XhsSchemeVmo> allSchemeList
|
)
|
{
|
this.Project = project;
|
this.ProjectSite = projectSite;
|
this.HydroInfo = hydroInfo;
|
this.AllSchemeList = allSchemeList;
|
}
|
|
|
#region 初始化
|
|
/// <summary>
|
/// 项目
|
/// </summary>
|
public XhsProjectVmo Project { get; set; }
|
|
/// <summary>
|
/// 项目站
|
/// </summary>
|
public XhsProjectSiteVmo ProjectSite { get; set; }
|
|
/// <summary>
|
/// 水力信息
|
/// </summary>
|
public Yw.Model.HydroModelInfo HydroInfo { get; set; }
|
|
/// <summary>
|
/// 所有方案列表
|
/// </summary>
|
public List<XhsSchemeVmo> AllSchemeList { get; set; }
|
|
#endregion
|
|
#region 基本信息
|
|
public XhsSchemeVmo Scheme { get; set; }
|
|
/// <summary>
|
/// 变更记录字典列表
|
/// </summary>
|
public List<CreateXhsSchemeChangeRecordViewModel> ChangeRecordList { get; set; } = new();
|
|
#endregion
|
|
|
|
|
|
}
|
}
|