270 lines
7.3 KiB
C#
270 lines
7.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace _20230724_MBJC_upperpc.Models
|
|
{
|
|
public class BeaconModel : NotifyBase
|
|
{
|
|
private int id;
|
|
/// <summary>
|
|
/// 信标ID
|
|
/// </summary>
|
|
public int ID
|
|
{
|
|
get { return id; }
|
|
set { id = value; this.DoNotify(); }
|
|
}
|
|
|
|
private DateTime datetime;
|
|
/// <summary>
|
|
/// 获取时间
|
|
/// </summary>
|
|
public DateTime Datetime
|
|
{
|
|
get { return datetime; }
|
|
set { datetime = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
#region 信标相对基站的数据
|
|
private float relative_Heading_Angle;
|
|
/// <summary>
|
|
/// 信标相对基阵的航向角
|
|
/// </summary>
|
|
public float Ralative_Heading_Angle
|
|
{
|
|
get { return relative_Heading_Angle; }
|
|
set { relative_Heading_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float relative_Pitch_Angle;
|
|
/// <summary>
|
|
/// 信标相对基阵的俯仰角
|
|
/// </summary>
|
|
public float Ralative_Pitch_Angle
|
|
{
|
|
get { return relative_Pitch_Angle; }
|
|
set { relative_Pitch_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float position_Distance;
|
|
/// <summary>
|
|
/// 信标水声定位的距离(相对基站)
|
|
/// </summary>
|
|
public float Position_Distance
|
|
{
|
|
get { return position_Distance; }
|
|
set { position_Distance = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float propagationtime;
|
|
/// <summary>
|
|
/// 基站的传播时间
|
|
/// </summary>
|
|
public float Propagationtime
|
|
{
|
|
get { return propagationtime; }
|
|
set { propagationtime = value; this.DoNotify(); }
|
|
}
|
|
#endregion
|
|
|
|
#region 基站的参数
|
|
private float basicSite_JD;
|
|
/// <summary>
|
|
/// 基站经度
|
|
/// </summary>
|
|
public float BasicSite_JD
|
|
{
|
|
get { return basicSite_JD; }
|
|
set { basicSite_JD = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_WD;
|
|
/// <summary>
|
|
/// 基站纬度
|
|
/// </summary>
|
|
public float BasicSite_WD
|
|
{
|
|
get { return basicSite_WD; }
|
|
set { basicSite_WD = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Depth;
|
|
/// <summary>
|
|
/// 基站深度
|
|
/// </summary>
|
|
public float BasicSite_Depth
|
|
{
|
|
get { return basicSite_Depth; }
|
|
set { basicSite_Depth = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Heading_Angle;
|
|
/// <summary>
|
|
/// 基站航向角
|
|
/// </summary>
|
|
public float BasicSite_Heading_Angle
|
|
{
|
|
get { return basicSite_Heading_Angle; }
|
|
set { basicSite_Heading_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Pitch_Angle;
|
|
/// <summary>
|
|
/// 基阵俯仰角
|
|
/// </summary>
|
|
public float BasicSite_Pitch_Angle
|
|
{
|
|
get { return basicSite_Pitch_Angle; }
|
|
set { basicSite_Pitch_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Roll_Angle;
|
|
/// <summary>
|
|
/// 基阵的横滚角
|
|
/// </summary>
|
|
public float BasicSite_Roll_Angle
|
|
{
|
|
get { return basicSite_Roll_Angle; }
|
|
set { basicSite_Roll_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Heading_Speed;
|
|
/// <summary>
|
|
/// 基站航向角速度
|
|
/// </summary>
|
|
public float BasicSite_Heading_Speed
|
|
{
|
|
get { return basicSite_Heading_Speed; }
|
|
set { basicSite_Heading_Speed = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Pitch_Speed;
|
|
/// <summary>
|
|
/// 基阵俯仰角速度
|
|
/// </summary>
|
|
public float BasicSite_Pitch_Speed
|
|
{
|
|
get { return basicSite_Pitch_Speed; }
|
|
set { basicSite_Pitch_Speed = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Roll_Speed;
|
|
/// <summary>
|
|
/// 基阵的横滚角速度
|
|
/// </summary>
|
|
public float BasicSite_Roll_Speed
|
|
{
|
|
get { return basicSite_Roll_Speed; }
|
|
set { basicSite_Roll_Speed = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Forword_A;
|
|
/// <summary>
|
|
/// 基阵前向加速度
|
|
/// </summary>
|
|
public float BasicSite_Forword_A
|
|
{
|
|
get { return basicSite_Forword_A; }
|
|
set { basicSite_Forword_A = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Right_A;
|
|
/// <summary>
|
|
/// 基阵右向加速度
|
|
/// </summary>
|
|
public float BasicSite_Right_A
|
|
{
|
|
get { return basicSite_Right_A; }
|
|
set { basicSite_Right_A = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float basicSite_Sky_A;
|
|
/// <summary>
|
|
/// 基阵天向加速度
|
|
/// </summary>
|
|
public float BasicSite_Sky_A
|
|
{
|
|
get { return basicSite_Sky_A; }
|
|
set { basicSite_Sky_A = value; this.DoNotify(); }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 信标的参数
|
|
private float beacon_JD;
|
|
/// <summary>
|
|
/// 信标经度
|
|
/// </summary>
|
|
public float Beacon_JD
|
|
{
|
|
get { return beacon_JD; }
|
|
set { beacon_JD = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float beacon_WD;
|
|
/// <summary>
|
|
/// 信标纬度
|
|
/// </summary>
|
|
public float Beacon_WD
|
|
{
|
|
get { return beacon_WD; }
|
|
set { beacon_WD = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float beacon_Depth;
|
|
/// <summary>
|
|
/// 信标深度
|
|
/// </summary>
|
|
public float Beacon_Depth
|
|
{
|
|
get { return beacon_Depth; }
|
|
set { beacon_Depth = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float beacon_Roll_Angle;
|
|
/// <summary>
|
|
/// 信标横滚角
|
|
/// </summary>
|
|
public float Beacon_Roll_Angle
|
|
{
|
|
get { return beacon_Roll_Angle; }
|
|
set { beacon_Roll_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float beacon_Pitch_Angle;
|
|
/// <summary>
|
|
/// 信标俯仰角
|
|
/// </summary>
|
|
public float Beacon_Pitch_Angle
|
|
{
|
|
get { return beacon_Pitch_Angle; }
|
|
set { beacon_Pitch_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float beacon_Heading_Angle;
|
|
/// <summary>
|
|
/// 信标的航向角
|
|
/// </summary>
|
|
public float Beacon_Heading_Angle
|
|
{
|
|
get { return beacon_Heading_Angle; }
|
|
set { beacon_Heading_Angle = value; this.DoNotify(); }
|
|
}
|
|
|
|
private float temp;
|
|
/// <summary>
|
|
/// 信标的温度
|
|
/// </summary>
|
|
public float Temp
|
|
{
|
|
get { return temp; }
|
|
set { temp = value; this.DoNotify(); }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|