20240301_JSEQ_upperpc/JiangsuEarthquake_test/JiangsuEarthquake/Models/EarthQuakeParaSetModel.cs
XuMin 748090f317 修改部分:
1 地震仪告警记录中故障次数隐藏;电力载波机和光电交换机的供电状态隐藏;
2 除漏水和保护板事件的数据按照浮点数解析,别的按照整数解析;
3 解决TCP Server和Client存在的问题,包括无法监测到客户端连接,无法监测到服务端断开等问题;
2024-08-13 14:35:33 +08:00

155 lines
3.2 KiB
C#

using JiangsuEarthquake.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiangsuEarthquake.Models
{
public class EarthQuakeParaSetModel : ParameterModel
{
private int seisID;
/// <summary>
/// 地震仪编号
/// </summary>
public int SeisID
{
get { return seisID; }
set { seisID = value; this.DoNotify(); }
}
private int sationNo;
/// <summary>
/// 台站号
/// </summary>
public int StationNo
{
get { return sationNo; }
set { sationNo = value; this.DoNotify(); }
}
private string stationName;
/// <summary>
/// 台站名称
/// </summary>
public string StationName
{
get { return stationName; }
set { stationName = value; this.DoNotify(); }
}
private string stationShortName;
/// <summary>
/// 台站缩写
/// </summary>
public string StationShortName
{
get { return stationShortName; }
set { stationShortName = value; this.DoNotify(); }
}
private int earthQuakeCount;
/// <summary>
/// 地震计总数
/// </summary>
public int EarthQuakeCount
{
get { return earthQuakeCount; }
set { earthQuakeCount = value; this.DoNotify(); }
}
private int channelsNo;
/// <summary>
/// 总通道数
/// </summary>
public int ChannelsNo
{
get { return channelsNo; }
set { channelsNo = value; this.DoNotify(); }
}
private float wd;
/// <summary>
/// 纬度
/// </summary>
public float WD
{
get { return wd; }
set { wd = value; this.DoNotify(); }
}
private float jd;
/// <summary>
/// 经度
/// </summary>
public float JD
{
get { return jd; }
set { jd = value; this.DoNotify(); }
}
private int gaoCheng;
/// <summary>
/// 高程
/// </summary>
public int GaoCheng
{
get { return gaoCheng; }
set { gaoCheng = value; this.DoNotify(); }
}
private string startTime;
/// <summary>
/// 启动日期
/// </summary>
public string StartTime
{
get { return startTime; }
set { startTime = value; this.DoNotify(); }
}
private string stationid;
/// <summary>
/// 台网标示
/// </summary>
public string Station_Id
{
get { return stationid; }
set { stationid = value; this.DoNotify(); }
}
private string software_version;
/// <summary>
/// 软件版本
/// </summary>
public string Software_Version
{
get { return software_version; }
set { software_version = value; this.DoNotify(); }
}
}
}