77 lines
1.8 KiB
C#
77 lines
1.8 KiB
C#
using MonitoringTechnology.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MonitoringTechnology.ViewModels
|
|
{
|
|
/// <summary>
|
|
/// 姿态显示
|
|
/// </summary>
|
|
public class AttitudeDisplayViewModel : NotifyBase
|
|
{
|
|
private double x = 1.5;
|
|
/// <summary>
|
|
/// x轴方向倍数
|
|
/// </summary>
|
|
public double Multiple_X
|
|
{
|
|
get { return x; }
|
|
set { x = value; this.DoNotify(); }
|
|
}
|
|
|
|
private double y = 1.5;
|
|
/// <summary>
|
|
/// Y轴方向倍数
|
|
/// </summary>
|
|
public double Multiple_Y
|
|
{
|
|
get { return y; }
|
|
set { y = value; this.DoNotify(); }
|
|
}
|
|
|
|
private double z = 1.5;
|
|
/// <summary>
|
|
/// Z轴方向倍数
|
|
/// </summary>
|
|
public double Multiple_Z
|
|
{
|
|
get { return z; }
|
|
set { z = value; this.DoNotify(); }
|
|
}
|
|
|
|
private double degrees_x = -95;
|
|
/// <summary>
|
|
/// X轴度数
|
|
/// </summary>
|
|
public double Degrees_X
|
|
{
|
|
get { return degrees_x; }
|
|
set { degrees_x = value;this.DoNotify(); }
|
|
}
|
|
|
|
private double degrees_y = -55;
|
|
/// <summary>
|
|
/// Y轴度数
|
|
/// </summary>
|
|
public double Degrees_Y
|
|
{
|
|
get { return degrees_y; }
|
|
set { degrees_y = value;this.DoNotify(); }
|
|
}
|
|
|
|
private double degrees_z = 20;
|
|
/// <summary>
|
|
/// Z轴度数
|
|
/// </summary>
|
|
public double Degrees_Z
|
|
{
|
|
get { return degrees_z; }
|
|
set { degrees_z = value; this.DoNotify(); }
|
|
}
|
|
|
|
}
|
|
}
|