From 3518f4d570b19a8bd21195a576d7361ad6434730 Mon Sep 17 00:00:00 2001 From: xu Date: Wed, 26 Feb 2020 01:46:07 +0800 Subject: [PATCH] =?UTF-8?q?d=E5=BF=98=E4=BA=86=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Copters/ICopterVirtualId.cs | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PlaneGcsSdk.Contract_Shared/Copters/ICopterVirtualId.cs diff --git a/PlaneGcsSdk.Contract_Shared/Copters/ICopterVirtualId.cs b/PlaneGcsSdk.Contract_Shared/Copters/ICopterVirtualId.cs new file mode 100644 index 0000000..a8253ae --- /dev/null +++ b/PlaneGcsSdk.Contract_Shared/Copters/ICopterVirtualId.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Plane.Copters +{ + /// + /// 定义用于获取飞行器虚拟ID(主要用于无序摆放飞机,自动按位置计算当前飞机ID) + /// + public interface ICopterVirtualId + { + /// + /// 获取自动排序生成的虚拟ID + /// + int VirtualId { get; set; } + + + /// + /// 是否展示虚拟ID: true:显示虚拟ID;false:显示Name + /// + bool DisplayVirtualId { get; set; } + + /// + /// 是否展示ID: true:显示ID;false:显示Name + /// + bool DisplayID { get; set; } + } + +}