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; /// /// 锚点相对原始位置偏移的距离 /// public float PY_JL { get { return pY_JL; } set { pY_JL = value; this.DoNotify(); } } private float pYPercent_JL; /// /// 锚点相对原始位置偏移的百分比 /// public float PYPercent_JL { get { return pYPercent_JL; } set { pYPercent_JL = value; this.DoNotify(); } } private float pY_HG; /// /// 横滚角偏移度数 /// public float PY_HG { get { return pY_HG; } set { pY_HG = value; this.DoNotify(); } } private float pYPercent_HG; /// /// 横滚角偏移百分比 /// public float PYPercent_HG { get { return pYPercent_HG; } set { pYPercent_HG = value; this.DoNotify(); } } private float pY_FY; /// /// 俯仰角度偏移度数 /// public float PY_FY { get { return pY_FY; } set { pY_FY = value; this.DoNotify(); } } private float pYPercent_FY; /// /// 俯仰角偏移百分比 /// public float PYPercent_FY { get { return pYPercent_FY; } set { pYPercent_FY = value; this.DoNotify(); } } private float pY_PH; /// /// 航向角偏移度数 /// public float PY_PH { get { return pY_PH; } set { pY_PH = value; this.DoNotify(); } } private float pYPercent_PH; /// /// 偏航角偏移百分比 /// public float PYPercent_PH { get { return pYPercent_PH; } set { pYPercent_PH = value; this.DoNotify(); } } } public class AlarmInfo : NotifyBase { private int stationId; /// /// 站点ID /// public int StationID { get { return stationId; } set { stationId = value; this.DoNotify(); } } private DateTime recordTime; /// /// 数据记录时间 /// public DateTime RecordTime { get { return recordTime; } set { recordTime = value; this.DoNotify(); } } private string paraName; /// /// 故障参数名称 /// public string ParaName { get { return paraName; } set { paraName = value; this.DoNotify(); } } private string paraState; /// /// 故障事件全称 /// public string ParaState { get { return paraState; } set { paraState = value; this.DoNotify(); } } } }