Plane.Sdk3/PlaneGcsSdk.Contract_Shared/Copters/IFakeCopter.cs

28 lines
1005 B
C#
Raw Permalink Normal View History

2017-02-27 02:02:19 +08:00
using System;
namespace Plane.Copters
{
/// <summary>
/// 包含 <see cref="ICopter"/> 的所有功能,并提供用于模拟和调试的额外方法。
/// </summary>
public interface IFakeCopter : ICopter
{
void SetProperties(
string id = null, //"Junqing's Drone",
double? latitude = null, //23.14973333,
double? longitude = null, //113.40974166,
float? altitude = null, //0,
string name = null, //"林俊清的飞行器",
byte? batteryPer = null, //10,
short? heading = null, //33,
bool? isConnected = null, //true,
float? pitch = null, //-70,
float? roll = null, //28,
byte? satCount = null, //6,
float? groundSpeed = null, //3.333,
double? flightDistance = null, //100.388,
double? flightDistance2D = null, // 100.88,
TimeSpan? flightTimeSpan = null);
}
}