270 lines
7.5 KiB
C#
270 lines
7.5 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 Conbox_sensor_othModel : NotifyBase
|
|||
|
|
{
|
|||
|
|
//下位机时间
|
|||
|
|
private DateTime _datetime_Sensor;
|
|||
|
|
public DateTime datetime_Sensor
|
|||
|
|
{
|
|||
|
|
get { return _datetime_Sensor; }
|
|||
|
|
set { _datetime_Sensor = 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(); }
|
|||
|
|
}
|
|||
|
|
//CH4_压力值 / μatm
|
|||
|
|
private float _cH4_Pre;
|
|||
|
|
|
|||
|
|
public float CH4_Pre
|
|||
|
|
{
|
|||
|
|
get { return _cH4_Pre; }
|
|||
|
|
set { _cH4_Pre = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cH4_Pre_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CH4_Pre_List
|
|||
|
|
{
|
|||
|
|
get { return _cH4_Pre_List; }
|
|||
|
|
set { _cH4_Pre_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CH4_甲烷浓度 / ppm
|
|||
|
|
private float _cH4_Con;
|
|||
|
|
|
|||
|
|
public float CH4_Con
|
|||
|
|
{
|
|||
|
|
get { return _cH4_Con; }
|
|||
|
|
set { _cH4_Con = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cH4_Con_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CH4_Con_List
|
|||
|
|
{
|
|||
|
|
get { return _cH4_Con_List; }
|
|||
|
|
set { _cH4_Con_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CO2_压力值 / μatm
|
|||
|
|
private float _cO2_Pre;
|
|||
|
|
|
|||
|
|
public float CO2_Pre
|
|||
|
|
{
|
|||
|
|
get { return _cO2_Pre; }
|
|||
|
|
set { _cO2_Pre = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cO2_Pre_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CO2_Pre_List
|
|||
|
|
{
|
|||
|
|
get { return _cO2_Pre_List; }
|
|||
|
|
set { _cO2_Pre_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CO2_甲烷浓度 / ppm
|
|||
|
|
private float _cO2_Con;
|
|||
|
|
|
|||
|
|
public float CO2_Con
|
|||
|
|
{
|
|||
|
|
get { return _cO2_Con; }
|
|||
|
|
set { _cO2_Con = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cO2_Con_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CO2_Con_List
|
|||
|
|
{
|
|||
|
|
get { return _cO2_Con_List; }
|
|||
|
|
set { _cO2_Con_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//METS_Methane / μatm
|
|||
|
|
private float _mETS_Meth;
|
|||
|
|
|
|||
|
|
public float METS_Meth
|
|||
|
|
{
|
|||
|
|
get { return _mETS_Meth; }
|
|||
|
|
set { _mETS_Meth = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _mETS_Meth_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> METS_Meth_List
|
|||
|
|
{
|
|||
|
|
get { return _mETS_Meth_List; }
|
|||
|
|
set { _mETS_Meth_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//METS_温度 / ℃
|
|||
|
|
private float _mETS_Tem;
|
|||
|
|
|
|||
|
|
public float METS_Tem
|
|||
|
|
{
|
|||
|
|
get { return _mETS_Tem; }
|
|||
|
|
set { _mETS_Tem = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _mETS_Tem_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> METS_Tem_List
|
|||
|
|
{
|
|||
|
|
get { return _mETS_Tem_List; }
|
|||
|
|
set { _mETS_Tem_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD_温度 / ℃
|
|||
|
|
private float _cTD_Tem;
|
|||
|
|
|
|||
|
|
public float CTD_Tem
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Tem; }
|
|||
|
|
set { _cTD_Tem = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_Tem_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_Tem_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Tem_List; }
|
|||
|
|
set { _cTD_Tem_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD_电导率 /(s/m)
|
|||
|
|
private float _cTD_Con;
|
|||
|
|
|
|||
|
|
public float CTD_Con
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Con; }
|
|||
|
|
set { _cTD_Con = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_Con_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_Con_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Con_List; }
|
|||
|
|
set { _cTD_Con_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD_压力 / (dbar)
|
|||
|
|
private float _cTD_Pre;
|
|||
|
|
|
|||
|
|
public float CTD_Pre
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Pre; }
|
|||
|
|
set { _cTD_Pre = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_Pre_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_Pre_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Pre_List; }
|
|||
|
|
set { _cTD_Pre_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//倾角传感器x方向
|
|||
|
|
private float _angle_sensor_x;
|
|||
|
|
|
|||
|
|
public float Angle_sensor_x
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_x; }
|
|||
|
|
set { _angle_sensor_x = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _angle_sensor_x_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> Angle_sensor_x_List
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_x_List; }
|
|||
|
|
set { _angle_sensor_x_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//倾角传感器y方向
|
|||
|
|
private float _angle_sensor_y;
|
|||
|
|
|
|||
|
|
public float Angle_sensor_y
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_y; }
|
|||
|
|
set { _angle_sensor_y = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _angle_sensor_y_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> Angle_sensor_y_List
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_y_List; }
|
|||
|
|
set { _angle_sensor_y_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//倾角传感器z方向
|
|||
|
|
private float _angle_sensor_z;
|
|||
|
|
|
|||
|
|
public float Angle_sensor_z
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_z; }
|
|||
|
|
set { _angle_sensor_z = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _angle_sensor_z_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> Angle_sensor_z_List
|
|||
|
|
{
|
|||
|
|
get { return _angle_sensor_z_List; }
|
|||
|
|
set { _angle_sensor_z_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD叶绿素
|
|||
|
|
private float _cTD_YLS;
|
|||
|
|
|
|||
|
|
public float CTD_YLS
|
|||
|
|
{
|
|||
|
|
get { return _cTD_YLS; }
|
|||
|
|
set { _cTD_YLS = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_YLS_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_YLS_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_YLS_List; }
|
|||
|
|
set { _cTD_YLS_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD浊度
|
|||
|
|
private float _cTD_ZD;
|
|||
|
|
|
|||
|
|
public float CTD_ZD
|
|||
|
|
{
|
|||
|
|
get { return _cTD_ZD; }
|
|||
|
|
set { _cTD_ZD = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_ZD_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_ZD_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_ZD_List; }
|
|||
|
|
set { _cTD_ZD_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
//CTD_溶解氧
|
|||
|
|
private float _cTD_Rjy;
|
|||
|
|
|
|||
|
|
public float CTD_Rjy
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Rjy; }
|
|||
|
|
set { _cTD_Rjy = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private ChartValues<float> _cTD_Rjy_List = new ChartValues<float>();
|
|||
|
|
|
|||
|
|
public ChartValues<float> CTD_Rjy_List
|
|||
|
|
{
|
|||
|
|
get { return _cTD_Rjy_List; }
|
|||
|
|
set { _cTD_Rjy_List = value; this.DoNotify(); }
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|