1 地震仪告警记录中故障次数隐藏;电力载波机和光电交换机的供电状态隐藏; 2 除漏水和保护板事件的数据按照浮点数解析,别的按照整数解析; 3 解决TCP Server和Client存在的问题,包括无法监测到客户端连接,无法监测到服务端断开等问题;
99 lines
2.0 KiB
C#
99 lines
2.0 KiB
C#
using JiangsuEarthquake.Common;
|
|
using LiveCharts;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Media;
|
|
|
|
namespace JiangsuEarthquake.Models
|
|
{
|
|
public class BaseStationEnvirModel : ParameterModel
|
|
{
|
|
private float temperature;
|
|
|
|
/// <summary>
|
|
/// 接驳盒温度
|
|
/// </summary>
|
|
public float Temperature
|
|
{
|
|
get { return temperature; }
|
|
set { temperature = value; }
|
|
}
|
|
|
|
|
|
private float humidity;
|
|
|
|
/// <summary>
|
|
/// 接驳盒湿度
|
|
/// </summary>
|
|
public float Humidity
|
|
{
|
|
get { return humidity; }
|
|
set { humidity = value; }
|
|
}
|
|
|
|
|
|
private ImageSource leakage;
|
|
|
|
/// <summary>
|
|
/// 接驳盒漏水
|
|
/// </summary>
|
|
public ImageSource Leakage
|
|
{
|
|
get { return leakage; }
|
|
set { leakage = value; }
|
|
}
|
|
|
|
|
|
private ImageSource hatch_State;
|
|
|
|
/// <summary>
|
|
/// 舱门状态
|
|
/// </summary>
|
|
public ImageSource Hatch_State
|
|
{
|
|
get { return hatch_State; }
|
|
set { hatch_State = value; }
|
|
}
|
|
|
|
|
|
private float attitudeX;
|
|
|
|
/// <summary>
|
|
/// 接驳盒姿态x轴
|
|
/// </summary>
|
|
public float AttitudeX
|
|
{
|
|
get { return attitudeX; }
|
|
set { attitudeX = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private float attitudeY;
|
|
|
|
/// <summary>
|
|
/// 接驳盒姿态y轴
|
|
/// </summary>
|
|
public float AttitudeY
|
|
{
|
|
get { return attitudeY; }
|
|
set { attitudeY = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private float attitudeZ;
|
|
|
|
/// <summary>
|
|
/// 接驳盒姿态z轴
|
|
/// </summary>
|
|
public float AttitudeZ
|
|
{
|
|
get { return attitudeZ; }
|
|
set { attitudeZ = value; this.DoNotify(); }
|
|
}
|
|
|
|
}
|
|
}
|