1 地震仪告警记录中故障次数隐藏;电力载波机和光电交换机的供电状态隐藏; 2 除漏水和保护板事件的数据按照浮点数解析,别的按照整数解析; 3 解决TCP Server和Client存在的问题,包括无法监测到客户端连接,无法监测到服务端断开等问题;
61 lines
1.2 KiB
C#
61 lines
1.2 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 BoosterStationStateDataModel : ParameterModel
|
|
{
|
|
private float in_Vol;
|
|
/// <summary>
|
|
/// 升压站输入电压
|
|
/// </summary>
|
|
public float In_Vol
|
|
{
|
|
get { return in_Vol; }
|
|
set { in_Vol = value; }
|
|
}
|
|
|
|
|
|
private float in_Cur;
|
|
|
|
/// <summary>
|
|
/// 升压站输入电流
|
|
/// </summary>
|
|
public float In_Cur
|
|
{
|
|
get { return in_Cur; }
|
|
set { in_Cur = value; }
|
|
}
|
|
|
|
|
|
private float power;
|
|
|
|
/// <summary>
|
|
/// 功率
|
|
/// </summary>
|
|
public float Power
|
|
{
|
|
get { return power; }
|
|
set { power = value; }
|
|
}
|
|
|
|
|
|
private ImageSource relayStatus;
|
|
|
|
/// <summary>
|
|
/// 继电器状态
|
|
/// </summary>
|
|
public ImageSource RelayStatus
|
|
{
|
|
get { return relayStatus; }
|
|
set { relayStatus = value; }
|
|
}
|
|
}
|
|
}
|