胡思旗
2023-08-29 b80ee8c883f279e843071e6b53ab9cddec3f88a0
src/types/enums.ts
@@ -1,6 +1,8 @@
export enum ERouterName {
    ELEMENT = 'element',
    LOGIN = 'login',
    PROJECT = 'project',
    PROJECT_LIST='project_list',
    HOME = 'home',
    TSA = 'tsa',
    LAYER = 'layer',
@@ -15,7 +17,6 @@
    CREATE_PLAN = 'create-plan',
    SELECT_PLAN = 'select-plan',
    FIRMWARES = 'firmwares',
    PILOT = 'pilot-login',
    PILOT_HOME = 'pilot-home',
    PILOT_MEDIA = 'pilot-media',
@@ -63,6 +64,7 @@
    UserId = 'user_id',
    Device = 'device',
    GatewayOnline = 'gateway_online',
    UserInfo = 'user_info',
}
export enum EPhotoType {
@@ -115,13 +117,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 {