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

394 lines
11 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 Buoy_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(); }
}
//气象_温度
private float _air_Tem;
public float Air_Tem
{
get { return _air_Tem; }
set { _air_Tem = value; this.DoNotify(); }
}
private ChartValues<float> _air_Tem_List = new ChartValues<float>();
public ChartValues<float> Air_Tem_List
{
get { return _air_Tem_List; }
set { _air_Tem_List = value; this.DoNotify(); }
}
//气象_湿度
private float _air_Hum;
public float Air_Hum
{
get { return _air_Hum; }
set { _air_Hum = value; this.DoNotify(); }
}
private ChartValues<float> _air_Hum_List = new ChartValues<float>();
public ChartValues<float> Air_Hum_List
{
get { return _air_Hum_List; }
set { _air_Hum_List = value; this.DoNotify(); }
}
//气象_大气压
private float _air_Pre;
public float Air_Pre
{
get { return _air_Pre; }
set { _air_Pre = value; this.DoNotify(); }
}
private ChartValues<float> _air_Pre_List = new ChartValues<float>();
public ChartValues<float> Air_Pre_List
{
get { return _air_Pre_List; }
set { _air_Pre_List = value; this.DoNotify(); }
}
//气象_风向
private float _wind_Dir;
public float Wind_Dir
{
get { return _wind_Dir; }
set { _wind_Dir = value; this.DoNotify(); }
}
private ChartValues<float> _wind_Dir_List = new ChartValues<float>();
public ChartValues<float> Wind_Dir_List
{
get { return _wind_Dir_List; }
set { _wind_Dir_List = value; this.DoNotify(); }
}
//气象_风速/m/s
private float _wind_Speed;
public float Wind_Speed
{
get { return _wind_Speed; }
set { _wind_Speed = value; this.DoNotify(); }
}
private ChartValues<float> _wind_Speed_List = new ChartValues<float>();
public ChartValues<float> Wind_Speed_List
{
get { return _wind_Speed_List; }
set { _wind_Speed_List = value; this.DoNotify(); }
}
//气象_最大风速/m/s
private float _wind_Speed_Max;
public float Wind_Speed_Max
{
get { return _wind_Speed_Max; }
set { _wind_Speed_Max = value; this.DoNotify(); }
}
private ChartValues<float> _wind_Speed_Max_List = new ChartValues<float>();
public ChartValues<float> Wind_Speed_Max_List
{
get { return _wind_Speed_Max_List; }
set { _wind_Speed_Max_List = value; this.DoNotify(); }
}
//气象_辐照度
private float _fzd;
public float Fzd
{
get { return _fzd; }
set { _fzd = value; this.DoNotify(); }
}
private ChartValues<float> _fzd_List = new ChartValues<float>();
public ChartValues<float> Fzd_List
{
get { return _fzd_List; }
set { _fzd_List = value; this.DoNotify(); }
}
//气象_雨量/inches
private float _rainFall;
public float RainFall
{
get { return _rainFall; }
set { _rainFall = value; this.DoNotify(); }
}
private ChartValues<float> _rainFall_List = new ChartValues<float>();
public ChartValues<float> RainFall_List
{
get { return _rainFall_List; }
set { _rainFall_List = value; this.DoNotify(); }
}
//走航甲烷ch4_dry / ppm
private float _go_sailing_CH4_Dry;
public float Go_sailing_CH4_Dry
{
get { return _go_sailing_CH4_Dry; }
set { _go_sailing_CH4_Dry = value; this.DoNotify(); }
}
private ChartValues<float> _go_sailing_CH4_Dry_List = new ChartValues<float>();
public ChartValues<float> Go_sailing_CH4_Dry_List
{
get { return _go_sailing_CH4_Dry_List; }
set { _go_sailing_CH4_Dry_List = value; this.DoNotify(); }
}
//走航甲烷h2o / ppm
private float _go_sailing_CH4_H2O;
public float Go_sailing_CH4_H2O
{
get { return _go_sailing_CH4_H2O; }
set { _go_sailing_CH4_H2O = value; this.DoNotify(); }
}
private ChartValues<float> _go_sailing_CH4_H2O_List = new ChartValues<float>();
public ChartValues<float> Go_sailing_CH4_H2O_List
{
get { return _go_sailing_CH4_H2O_List; }
set { _go_sailing_CH4_H2O_List = value; this.DoNotify(); }
}
//走航甲烷 C2H6 /ppb
private float _go_sailing_CH4_C2H6;
public float Go_sailing_CH4_C2H6
{
get { return _go_sailing_CH4_C2H6; }
set { _go_sailing_CH4_C2H6 = value; this.DoNotify(); }
}
private ChartValues<float> _go_sailing_CH4_C2H6_List = new ChartValues<float>();
public ChartValues<float> Go_sailing_CH4_C2H6_List
{
get { return _go_sailing_CH4_C2H6_List; }
set { _go_sailing_CH4_C2H6_List = value; this.DoNotify(); }
}
//温度(value/1000* 100)
private float _tem;
public float Tem
{
get { return _tem; }
set { _tem = value; this.DoNotify(); }
}
private ChartValues<float> _tem_List = new ChartValues<float>();
public ChartValues<float> Tem_List
{
get { return _tem_List; }
set { _tem_List = value; this.DoNotify(); }
}
//湿度value/1000* 100/3
private float _hum;
public float Hum
{
get { return _hum; }
set { _hum = value; this.DoNotify(); }
}
private ChartValues<float> _hum_List = new ChartValues<float>();
public ChartValues<float> Hum_List
{
get { return _hum_List; }
set { _hum_List = value; this.DoNotify(); }
}
//24V电池输入电压
private float _vol_24_in;
public float Vol_24_in
{
get { return _vol_24_in; }
set { _vol_24_in = value; this.DoNotify(); }
}
private ChartValues<float> _vol_24_in_List = new ChartValues<float>();
public ChartValues<float> Vol_24_in_List
{
get { return _vol_24_in_List; }
set { _vol_24_in_List = value; this.DoNotify(); }
}
//24V电池输入电流
private float _cur_24_in;
public float Cur_24_in
{
get { return _cur_24_in; }
set { _cur_24_in = value; this.DoNotify(); }
}
private ChartValues<float> _cur_24_in_List = new ChartValues<float>();
public ChartValues<float> Cur_24_in_List
{
get { return _cur_24_in_List; }
set { _cur_24_in_List = value; this.DoNotify(); }
}
//48V输出电压
private float _vol_48_out;
public float Vol_48_out
{
get { return _vol_48_out; }
set { _vol_48_out = value; this.DoNotify(); }
}
private ChartValues<float> _vol_48_out_List = new ChartValues<float>();
public ChartValues<float> Vol_48_out_List
{
get { return _vol_48_out_List; }
set { _vol_48_out_List = value; this.DoNotify(); }
}
//95V输出电压
private float _vol_95_out;
public float Vol_95_out
{
get { return _vol_95_out; }
set { _vol_95_out = value; this.DoNotify(); }
}
private ChartValues<float> _vol_95_out_List = new ChartValues<float>();
public ChartValues<float> Vol_95_out_List
{
get { return _vol_95_out_List; }
set { _vol_95_out_List = value; this.DoNotify(); }
}
}
}