using DevExpress.Xpo.Helpers;
|
|
namespace HStation.WinFrmUI
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class SimulationPrintLossCurveElevViewModel
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SimulationPrintLossCurveElevViewModel() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SimulationPrintLossCurveElevViewModel(List<SimulationPrintLossCurveItemViewModel> allItemList)
|
{
|
if (allItemList == null || allItemList.Count < 1)
|
{
|
return;
|
}
|
this.Items = allItemList?.Select(x => new SimulationPrintLossCurveElevItemViewModel(x.Code, x.Name, x.Distance, x.Elev)).ToList();
|
}
|
|
/// <summary>
|
/// 子级集合
|
/// </summary>
|
public List<SimulationPrintLossCurveElevItemViewModel> Items { get; set; }
|
|
}
|
}
|