20230724_MBJC_upperpc/Models/AlarmInfoModel.cs

143 lines
3.3 KiB
C#
Raw Permalink Normal View History

2024-02-26 15:49:04 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20230724_MBJC_upperpc.Models
{
public class AlarmInfoModel : NotifyBase
{
private float pY_JL;
/// <summary>
/// 锚点相对原始位置偏移的距离
/// </summary>
public float PY_JL
{
get { return pY_JL; }
set { pY_JL = value; this.DoNotify(); }
}
private float pYPercent_JL;
/// <summary>
/// 锚点相对原始位置偏移的百分比
/// </summary>
public float PYPercent_JL
{
get { return pYPercent_JL; }
set { pYPercent_JL = value; this.DoNotify(); }
}
private float pY_HG;
/// <summary>
/// 横滚角偏移度数
/// </summary>
public float PY_HG
{
get { return pY_HG; }
set { pY_HG = value; this.DoNotify(); }
}
private float pYPercent_HG;
/// <summary>
/// 横滚角偏移百分比
/// </summary>
public float PYPercent_HG
{
get { return pYPercent_HG; }
set { pYPercent_HG = value; this.DoNotify(); }
}
private float pY_FY;
/// <summary>
/// 俯仰角度偏移度数
/// </summary>
public float PY_FY
{
get { return pY_FY; }
set { pY_FY = value; this.DoNotify(); }
}
private float pYPercent_FY;
/// <summary>
/// 俯仰角偏移百分比
/// </summary>
public float PYPercent_FY
{
get { return pYPercent_FY; }
set
{
pYPercent_FY = value; this.DoNotify();
}
}
private float pY_PH;
/// <summary>
/// 航向角偏移度数
/// </summary>
public float PY_PH
{
get { return pY_PH; }
set { pY_PH = value; this.DoNotify(); }
}
private float pYPercent_PH;
/// <summary>
/// 偏航角偏移百分比
/// </summary>
public float PYPercent_PH
{
get { return pYPercent_PH; }
set { pYPercent_PH = value; this.DoNotify(); }
}
}
2024-03-06 09:46:55 +00:00
public class AlarmInfo : NotifyBase
{
private int stationId;
/// <summary>
/// 站点ID
/// </summary>
public int StationID
{
get { return stationId; }
2024-03-13 07:02:46 +00:00
set { stationId = value; this.DoNotify(); }
2024-03-06 09:46:55 +00:00
}
private DateTime recordTime;
/// <summary>
/// 数据记录时间
/// </summary>
public DateTime RecordTime
{
get { return recordTime; }
2024-03-13 07:02:46 +00:00
set { recordTime = value; this.DoNotify(); }
2024-03-06 09:46:55 +00:00
}
private string paraName;
/// <summary>
/// 故障参数名称
/// </summary>
public string ParaName
{
get { return paraName; }
2024-03-13 07:02:46 +00:00
set { paraName = value; this.DoNotify(); }
2024-03-06 09:46:55 +00:00
}
private string paraState;
/// <summary>
/// 故障事件全称
/// </summary>
public string ParaState
{
get { return paraState; }
2024-03-13 07:02:46 +00:00
set { paraState = value; this.DoNotify(); }
2024-03-06 09:46:55 +00:00
}
}
2024-02-26 15:49:04 +00:00
}