feat: 完善机巢模拟调试与素材交付交互
增加禁飞期间的设备指令拦截及本地模拟拍摄流程;适配订单素材库和景区空境库,完善素材筛选、预览与下载;订单交付入口改为方式选择弹窗并复用云端上传。补充单元测试、接口记录和模拟器截图。
This commit is contained in:
@@ -6,6 +6,12 @@ import UIKit
|
||||
enum DroneDockPreview {
|
||||
/// 启动参数存在时返回预览导航,正常冷启动继续使用原业务根页面。
|
||||
static func navigationController(arguments: [String]) -> UINavigationController? {
|
||||
if let materials = DroneDockMaterialsSimulation.makeController(arguments: arguments) {
|
||||
return UINavigationController(rootViewController: materials)
|
||||
}
|
||||
if let simulation = DroneDockStartShootSimulation.makeController(arguments: arguments) {
|
||||
return UINavigationController(rootViewController: simulation)
|
||||
}
|
||||
// 仅打开已存在任务进行只读联调;不经过创建或召唤流程。
|
||||
if let taskArgument = arguments.first(where: { $0.hasPrefix("--dock-task-live=") }),
|
||||
let taskID = Int(taskArgument.dropFirst("--dock-task-live=".count)), taskID > 0,
|
||||
|
||||
Reference in New Issue
Block a user