using MonitoringTechnology.Common; using MonitoringTechnology.DataAccess; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MonitoringTechnology.Models { public class MonitoringSensorModel : NotifyBase { /// /// 主键 /// public int _id; public int F_Id { get { return _id; } set { _id = value;this.DoNotify(); } } /// /// 序号 /// public int _SerialNo; public int F_SerialNo { get { return _SerialNo; } set { _SerialNo = value; this.DoNotify(); } } public DateTime? f_CreateDate; /// /// 创建时间 /// public DateTime? F_CreateDate { get { return f_CreateDate; } set { f_CreateDate = value; this.DoNotify(); } } /// /// 传感器数据上传时间 /// public DateTime? _datetime_Sensor; public DateTime? F_DatetimeSensor { get { return _datetime_Sensor; } set { _datetime_Sensor = value; this.DoNotify(); } } public List _datetime_List = new List(); public List Datetime_List { get { return _datetime_List; } set { _datetime_List = value; this.DoNotify(); } } public float? _Tem; /// /// 温度 /// public float? F_Tem { get { return _Tem; } set { _Tem = value; this.DoNotify(); } } public float? _Hum; /// /// 湿度 /// public float? F_Hum { get { return _Hum; } set { _Hum = value; this.DoNotify(); } } public float? _pressure; /// /// 气压 /// public float? F_Pressure { get { return _pressure; } set { _pressure = value;this.DoNotify(); } } public float? _acceleration_X; /// /// 加速度X /// public float? F_AccelerationX { get { return _acceleration_X; } set { _acceleration_X = value; this.DoNotify(); } } public float? _acceleration_Y; /// /// 加速度Y /// public float? F_AccelerationY { get { return _acceleration_Y; } set { _acceleration_Y = value; this.DoNotify(); } } public float? _acceleration_Z; /// /// 加速度Z /// public float? F_AccelerationZ { get { return _acceleration_Z; } set { _acceleration_Z = value; this.DoNotify(); } } public float? _angularVelocity_X; /// /// 角速度X /// public float? F_AngularVelocityX { get { return _angularVelocity_X; } set { _angularVelocity_X = value;this.DoNotify(); } } public float? _angularVelocity_Y; /// /// 角速度Y /// public float? F_AngularVelocityY { get { return _angularVelocity_Y; } set { _angularVelocity_Y = value;this.DoNotify(); } } public float? _angularVelocity_Z; /// /// 角速度Z /// public float? F_AngularVelocityZ { get { return _angularVelocity_Z; } set { _angularVelocity_Z = value;this.DoNotify(); } } public float? degrees_x ; /// /// X轴度数 /// public float? F_DegreesX { get { return degrees_x; } set { degrees_x = value; this.DoNotify(); } } public float? degrees_y; /// /// Y轴度数 /// public float? F_DegreesY { get { return degrees_y; } set { degrees_y = value; this.DoNotify(); } } public float? degrees_z; /// /// Z轴度数 /// public float? F_DegreesZ { get { return degrees_z; } set { degrees_z = value; this.DoNotify(); } } #region 未存数据库字段 public double x = 1.5; /// /// x轴方向倍数 /// public double Multiple_X { get { return x; } set { x = value; this.DoNotify(); } } public double y = 1.5; /// /// Y轴方向倍数 /// public double Multiple_Y { get { return y; } set { y = value; this.DoNotify(); } } public double z = 1.5; /// /// Z轴方向倍数 /// public double Multiple_Z { get { return z; } set { z = value; this.DoNotify(); } } /// /// 温度--主系统 /// public int tem; public int Tem { get { return tem; } set { tem = value; } } /// /// 湿度 --主系统 /// public int hum; public int Hum { get { return hum; } set { hum = value; } } /// /// 气压 --主系统 /// public int preeure; public int Pressure { get { return preeure; } set { preeure = value; } } /// /// 电压1 --主系统 /// public int voltage1; public int Voltage1 { get { return voltage1; } set { voltage1 = value; } } /// /// 电压2 --主系统 /// public int voltage2; public int Voltage2 { get { return voltage2; } set { voltage2 = value; } } /// /// 电压3 --主系统 /// public int voltage3; public int Voltage3 { get { return voltage3; } set { voltage3 = value; } } /// /// 电压4 --主系统 /// public int voltage4; public int Voltage4 { get { return voltage4; } set { voltage4 = value; } } /// /// 电压5 --主系统 /// public int voltage5; public int Voltage5 { get { return voltage5; } set { voltage5 = value; } } /// /// 电压6 --主系统 /// public int voltage6; public int Voltage6 { get { return voltage6; } set { voltage6 = value; } } /// /// 电压7 --主系统 /// public int voltage7; public int Voltage7 { get { return voltage7; } set { voltage7 = value; } } /// /// 电压8 --主系统 /// public int voltage8; public int Voltage8 { get { return voltage8; } set { voltage8 = value; } } /// /// 电压9 --主系统 /// public int voltage9; public int Voltage9 { get { return voltage9; } set { voltage9 = value; } } /// /// 电压10 --主系统 /// public int voltage10; public int Voltage10 { get { return voltage10; } set { voltage10 = value; } } /// /// 电流1 --主系统 /// public int current1; public int Current1 { get { return current1; } set { current1 = value; } } /// /// 电流2 --主系统 /// public int current2; public int Current2 { get { return current2; } set { current2 = value; } } /// /// 电流3 --主系统 /// public int current3; public int Current3 { get { return current3; } set { current3 = value; } } /// /// 电流4 --主系统 /// public int current4; public int Current4 { get { return current4; } set { current4 = value; } } /// /// 电流5 --主系统 /// public int current5; public int Current5 { get { return current5; } set { current5 = value; } } /// /// 电流6 --主系统 /// public int current6; public int Current6 { get { return current6; } set { current6 = value; } } /// /// 电流7 --主系统 /// public int current7; public int Current7 { get { return current7; } set { current7 = value; } } /// /// 电流8 --主系统 /// public int current8; public int Current8 { get { return current8; } set { current8 = value; } } /// /// 电流9 --主系统 /// public int current9; public int Current9 { get { return current9; } set { current9 = value; } } /// /// 电流10 --主系统 /// public int current10; public int Current10 { get { return current10; } set { current10 = value; } } #endregion } }