From 2c2bc8614c8ea0ce386369eb4924da1e6aa052d1 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Wed, 27 Sep 2023 09:35:57 +0800
Subject: [PATCH] 添加环境配置区分

---
 src/types/enums.ts |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/types/enums.ts b/src/types/enums.ts
index 49b5962..5d5fac1 100644
--- a/src/types/enums.ts
+++ b/src/types/enums.ts
@@ -1,6 +1,10 @@
 export enum ERouterName {
     ELEMENT = 'element',
+    LOGIN = 'login',
     PROJECT = 'project',
+    ADD_PROJECT = 'add_project',
+    EDIT_PROJECT = 'edit_project',
+    PROJECT_LIST='project_list',
     HOME = 'home',
     TSA = 'tsa',
     LAYER = 'layer',
@@ -15,12 +19,12 @@
     CREATE_PLAN = 'create-plan',
     SELECT_PLAN = 'select-plan',
     FIRMWARES = 'firmwares',
-
     PILOT = 'pilot-login',
     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 {
@@ -63,6 +67,7 @@
     UserId = 'user_id',
     Device = 'device',
     GatewayOnline = 'gateway_online',
+    UserInfo = 'user_info',
 }
 
 export enum EPhotoType {
@@ -115,13 +120,20 @@
     DeviceUpgrade = 'ota_progress', // 设备升级
 
     // 设备日志
-    DeviceLogUploadProgress = 'fileupload_progress' // 设备日志上传上传
+    DeviceLogUploadProgress = 'fileupload_progress', // 设备日志上传
+
+    // 飞行指令消息
+    ControlSourceChange = 'control_source_change', // 控制权更新
+    FlyToPointProgress = 'fly_to_point_progress', // 飞向目标点
+    TakeoffToPointProgress = 'takeoff_to_point_progress', // 一键起飞
+    JoystickInvalidNotify = 'joystick_invalid_notify', // 设备端退出drc模式
+    DrcStatusNotify = 'drc_status_notify', // 飞行控制模式状态
 }
 
 export enum EDeviceTypeName {
-    Aircraft = 'sub-device',
-    Gateway = 'gateway',
-    Dock = 'dock',
+    Aircraft = 0,
+    Gateway = 2,
+    Dock = 3,
 }
 
 export enum EHmsLevel {

--
Gitblit v1.9.3