lixiaojun
2025-02-17 f4a5f0c3fc24136294eec0153ec0605529243388
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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; }
 
    }
}