292 lines
8.0 KiB
C#
292 lines
8.0 KiB
C#
using Chen.Controls;
|
|
using LiveCharts;
|
|
using LiveCharts.Defaults;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using 垂直剖面动态观测系统.Common;
|
|
|
|
namespace 垂直剖面动态观测系统.Model
|
|
{
|
|
public class Enviroment_Model : NotifyBase
|
|
{
|
|
private DateTime _datetime;
|
|
|
|
public DateTime Datetime
|
|
{
|
|
get { return _datetime; }
|
|
set { _datetime = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private List<string> _datetime_List = new List<string>();
|
|
|
|
public List<string> Datetime_List
|
|
{
|
|
get { return _datetime_List; }
|
|
set { _datetime_List = value; this.DoNotify(); }
|
|
}
|
|
|
|
//浮标温度
|
|
private float _fB_Tem;
|
|
|
|
public float FB_Tem
|
|
{
|
|
get { return _fB_Tem; }
|
|
set { _fB_Tem = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Tem_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Tem_List
|
|
{
|
|
get { return _fB_Tem_List; }
|
|
set { _fB_Tem_List = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
//浮标湿度
|
|
private float _fB_Hum;
|
|
|
|
public float FB_Hum
|
|
{
|
|
get { return _fB_Hum; }
|
|
set { _fB_Hum = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Hum_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Hum_List
|
|
{
|
|
get { return _fB_Hum_List; }
|
|
set { _fB_Hum_List = value;this.DoNotify(); }
|
|
}
|
|
|
|
//24V电池输入电压
|
|
private float _fB_Vol_24_in;
|
|
|
|
public float FB_Vol_24_in
|
|
{
|
|
get { return _fB_Vol_24_in; }
|
|
set { _fB_Vol_24_in = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Vol_24_in_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Vol_24_in_List
|
|
{
|
|
get { return _fB_Vol_24_in_List; }
|
|
set { _fB_Vol_24_in_List = value; this.DoNotify(); }
|
|
}
|
|
|
|
//24V电池输入电流
|
|
private float _fB_Cur_24_in;
|
|
|
|
public float FB_Cur_24_in
|
|
{
|
|
get { return _fB_Cur_24_in; }
|
|
set { _fB_Cur_24_in = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Cur_24_in_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Cur_24_in_List
|
|
{
|
|
get { return _fB_Cur_24_in_List; }
|
|
set { _fB_Cur_24_in_List = value; this.DoNotify(); }
|
|
}
|
|
//48V输出电压
|
|
private float _fB_Vol_48_out;
|
|
|
|
public float FB_Vol_48_out
|
|
{
|
|
get { return _fB_Vol_48_out; }
|
|
set { _fB_Vol_48_out = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Vol_48_out_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Vol_48_out_List
|
|
{
|
|
get { return _fB_Vol_48_out_List; }
|
|
set { _fB_Vol_48_out_List = value; this.DoNotify(); }
|
|
}
|
|
//95V输出电压
|
|
private float _fB_Vol_95_out;
|
|
|
|
public float FB_Vol_95_out
|
|
{
|
|
get { return _fB_Vol_95_out; }
|
|
set { _fB_Vol_95_out = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _fB_Vol_95_out_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> FB_Vol_95_out_List
|
|
{
|
|
get { return _fB_Vol_95_out_List; }
|
|
set { _fB_Vol_95_out_List = value; this.DoNotify(); }
|
|
}
|
|
//潜标温度1
|
|
private float _qB_Tem1;
|
|
|
|
public float QB_Tem1
|
|
{
|
|
get { return _qB_Tem1; }
|
|
set { _qB_Tem1 = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _qB_Tem1_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> QB_Tem1_List
|
|
{
|
|
get { return _qB_Tem1_List; }
|
|
set { _qB_Tem1_List = value; this.DoNotify(); }
|
|
}
|
|
//潜标温度2
|
|
private float _qB_Tem2;
|
|
|
|
public float QB_Tem2
|
|
{
|
|
get { return _qB_Tem2; }
|
|
set { _qB_Tem2 = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _qB_Tem2_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> QB_Tem2_List
|
|
{
|
|
get { return _qB_Tem2_List; }
|
|
set { _qB_Tem2_List = value; this.DoNotify(); }
|
|
}
|
|
//潜标湿度
|
|
private float _qB_Hum;
|
|
|
|
public float QB_Hum
|
|
{
|
|
get { return _qB_Hum; }
|
|
set { _qB_Hum = value; this.DoNotify(); }
|
|
}
|
|
private ChartValues<float> _qB_Hum_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> QB_Hum_List
|
|
{
|
|
get { return _qB_Hum_List; }
|
|
set { _qB_Hum_List = value; this.DoNotify(); }
|
|
}
|
|
//潜标漏水
|
|
private float _qB_Leak;
|
|
|
|
public float QB_Leak
|
|
{
|
|
get { return _qB_Leak; }
|
|
set { _qB_Leak = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _qB_Leak_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> QB_Leak_List
|
|
{
|
|
get { return _qB_Leak_List; }
|
|
set { _qB_Leak_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒温度1
|
|
private float _jBH_Tem1;
|
|
|
|
public float JBH_Tem1
|
|
{
|
|
get { return _jBH_Tem1; }
|
|
set { _jBH_Tem1 = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _jBH_Tem1_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Tem1_List
|
|
{
|
|
get { return _jBH_Tem1_List; }
|
|
set { _jBH_Tem1_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒温度2
|
|
private float _jBH_Tem2;
|
|
|
|
public float JBH_Tem2
|
|
{
|
|
get { return _jBH_Tem2; }
|
|
set { _jBH_Tem2 = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _jBH_Tem2_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Tem2_List
|
|
{
|
|
get { return _jBH_Tem2_List; }
|
|
set { _jBH_Tem2_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒湿度
|
|
private float _jBH_Hum;
|
|
|
|
public float JBH_Hum
|
|
{
|
|
get { return _jBH_Hum; }
|
|
set { _jBH_Hum = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _jBH_Hum_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Hum_List
|
|
{
|
|
get { return _jBH_Hum_List; }
|
|
set { _jBH_Hum_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒漏水
|
|
private float _jBH_Leak;
|
|
|
|
public float JBH_Leak
|
|
{
|
|
get { return _jBH_Leak; }
|
|
set { _jBH_Leak = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _jBH_Leak_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Leak_List
|
|
{
|
|
get { return _jBH_Leak_List; }
|
|
set { _jBH_Leak_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒24V 1
|
|
private float _jBH_Vol_24V_out;
|
|
|
|
public float JBH_Vol_24V_out
|
|
{
|
|
get { return _jBH_Vol_24V_out; }
|
|
set { _jBH_Vol_24V_out = value; this.DoNotify(); }
|
|
}
|
|
private ChartValues<float> _jBH_Vol_24V_out_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Vol_24V_out_List
|
|
{
|
|
get { return _jBH_Vol_24V_out_List; }
|
|
set { _jBH_Vol_24V_out_List = value; this.DoNotify(); }
|
|
}
|
|
//接驳盒24V 2
|
|
private float _jBH_Cur_24V_out;
|
|
|
|
public float JBH_Cur_24V_out
|
|
{
|
|
get { return _jBH_Cur_24V_out; }
|
|
set { _jBH_Cur_24V_out = value; this.DoNotify(); }
|
|
}
|
|
|
|
private ChartValues<float> _jBH_Cur_24V_out_List = new ChartValues<float>();
|
|
|
|
public ChartValues<float> JBH_Cur_24V_out_List
|
|
{
|
|
get { return _jBH_Cur_24V_out_List; }
|
|
set { _jBH_Cur_24V_out_List = value; this.DoNotify(); }
|
|
}
|
|
}
|
|
}
|