From 53bcb7e5dffa071d2c6593f5db7f0b6e4e2f8dfe Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 18 Oct 2023 16:17:02 +0800
Subject: [PATCH] 隐藏重复定时和连续执行
---
src/types/enums.ts | 38 ++++++++++++++++++++++++++++++++++++--
1 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/src/types/enums.ts b/src/types/enums.ts
index ea3601d..73bd0a9 100644
--- a/src/types/enums.ts
+++ b/src/types/enums.ts
@@ -23,7 +23,8 @@
PILOT_HOME = 'pilot-home',
PILOT_MEDIA = 'pilot-media',
PILOT_LIVESHARE = 'pilot-liveshare',
- PILOT_BIND = 'pilot-bind'
+ PILOT_BIND = 'pilot-bind',
+ IMPLEMENT = 'implement',
}
export enum EStorageKey {
@@ -58,7 +59,7 @@
export enum ELocalStorageKey {
Username = 'username',
WorkspaceId = 'workspace_id',
- Token = 'Authorization',
+ Token = 'x-auth-token',
PlatformName = 'platform_name',
WorkspaceName = 'workspace_name',
WorkspaceDesc = 'workspace_desc',
@@ -129,6 +130,39 @@
DrcStatusNotify = 'drc_status_notify', // 飞行控制模式状态
}
+export const EBizCodeMessage = {
+ [EBizCode.DeviceOnline]: '设备在线',
+ [EBizCode.DeviceOffline]: '设备离线',
+
+ [EBizCode.DeviceOsd]: '设备osd',
+ [EBizCode.GatewayOsd]: '网关osd',
+ [EBizCode.DockOsd]: '机场osd',
+
+ [EBizCode.MapElementCreate]: '地图元素创建',
+ [EBizCode.MapElementUpdate]: '地图元素更新',
+ [EBizCode.MapElementDelete]: '地图元素删除',
+
+ [EBizCode.FlightTaskProgress]: '机场任务执行进度',
+
+ [EBizCode.DeviceHms]: '设备hms',
+ [EBizCode.DeviceReboot]: '设备重启',
+ [EBizCode.DroneOpen]: '机场打开',
+ [EBizCode.DroneClose]: '机场关闭',
+
+ [EBizCode.PutterOpen]: '推杆展开',
+ [EBizCode.PutterClose]: '推杆闭合',
+
+ [EBizCode.ChargeOpen]: '打开充电',
+ [EBizCode.ChargeClose]: '关闭充电',
+
+ [EBizCode.ControlSourceChange]: '控制权更新',
+ [EBizCode.FlyToPointProgress]: '飞向目标点',
+ [EBizCode.TakeoffToPointProgress]: '一键起飞',
+ [EBizCode.DrcStatusNotify]: '飞行控制模式状态',
+ [EBizCode.JoystickInvalidNotify]: '设备端退出drc模式',
+
+}
+
export enum EDeviceTypeName {
Aircraft = 0,
Gateway = 2,
--
Gitblit v1.9.3