From 54849757852f6ab40eb17afbd03d1d839b60a38d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 13 Nov 2023 17:09:15 +0800
Subject: [PATCH] 重复定时和连续执行

---
 src/types/enums.ts |   39 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/src/types/enums.ts b/src/types/enums.ts
index ea3601d..6b3cec1 100644
--- a/src/types/enums.ts
+++ b/src/types/enums.ts
@@ -23,7 +23,9 @@
     PILOT_HOME = 'pilot-home',
     PILOT_MEDIA = 'pilot-media',
     PILOT_LIVESHARE = 'pilot-liveshare',
-    PILOT_BIND = 'pilot-bind'
+    PILOT_BIND = 'pilot-bind',
+    IMPLEMENT = 'implement',
+    ROUTE_HISTORY = 'route-history',
 }
 
 export enum EStorageKey {
@@ -58,7 +60,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 +131,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