using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HStation.WinFrmUI
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class SimulationPrintLossCurveStartItemViewModel
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SimulationPrintLossCurveStartItemViewModel(string code, string name, double x, double y)
|
{
|
this.Code = code;
|
this.Name = name;
|
this.X = Math.Round(x, 2);
|
this.Y = Math.Round(y, 2);
|
}
|
|
/// <summary>
|
/// 编码
|
/// </summary>
|
public string Code { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// X
|
/// </summary>
|
public double X { get; set; }
|
|
/// <summary>
|
/// Y
|
/// </summary>
|
public double Y { get; set; }
|
}
|
}
|