20211010_CZPM_upperpc/垂直剖面动态观测系统/Model/Para_Model.cs
2023-07-27 11:01:29 +08:00

72 lines
1.7 KiB
C#

using LiveCharts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using .Common;
namespace .Model
{
public class Para_Model : NotifyBase
{
private List<string> _dateTime = new List<string>();
public List<string> DateTime
{
get { return _dateTime; }
set
{
_dateTime = value;
this.DoNotify();
}
}
private List<float> _para = new List<float>();
public List<float> Para
{
get { return _para; }
set
{
_para = value;
this.DoNotify();
}
}
private ChartValues<float> _para_LC = new ChartValues<float>();
public ChartValues<float> Para_LC
{
get { return _para_LC; }
set { _para_LC = value; this.DoNotify(); }
}
//开始时间
private DateTime _startTime = System.DateTime.Now;
public DateTime StartTime
{
get { return _startTime; }
set { _startTime = value; this.DoNotify(); }
}
//结束时间
private DateTime _endTime = System.DateTime.Now;
public DateTime EndTime
{
get { return _endTime; }
set { _endTime = value; this.DoNotify(); }
}
//参数名称
private string _paraName = "湿度/%";
public string ParaName
{
get { return _paraName; }
set { _paraName = value; this.DoNotify(); this.DoNotify(); }
}
}
}