This commit is contained in:
xin
2026-06-17 17:23:09 +08:00
parent d732580c3e
commit b49a223b78
5 changed files with 41 additions and 24 deletions

34
src-tauri/Cargo.lock generated
View File

@ -1403,23 +1403,6 @@ dependencies = [
"syn 2.0.118", "syn 2.0.118",
] ]
[[package]]
name = "happa-mission-plan"
version = "0.1.0"
dependencies = [
"byteorder",
"chrono",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-opener",
"thiserror 1.0.69",
"uuid",
]
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.12.3" version = "0.12.3"
@ -3195,6 +3178,23 @@ dependencies = [
"system-deps", "system-deps",
] ]
[[package]]
name = "spectral-insight-mission-plan"
version = "0.0.1"
dependencies = [
"byteorder",
"chrono",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-opener",
"thiserror 1.0.69",
"uuid",
]
[[package]] [[package]]
name = "stable_deref_trait" name = "stable_deref_trait"
version = "1.2.1" version = "1.2.1"

View File

@ -1,7 +1,7 @@
[package] [package]
name = "happa-mission-plan" name = "spectral-insight-mission-plan"
version = "0.1.0" version = "0.0.1"
description = "A Tauri App" description = "Spectral Insight Mission Plan"
authors = ["you"] authors = ["you"]
edition = "2021" edition = "2021"

View File

@ -12,7 +12,7 @@ pub fn run() {
tauri::Builder::default() tauri::Builder::default()
.setup(move |app| { .setup(move |app| {
if let Some(w) = app.get_webview_window("main") { if let Some(w) = app.get_webview_window("main") {
w.set_title(&format!("Happa Mission Plan v{}", version)).ok(); w.set_title(&format!("Spectral Insight Mission Plan v{}", version)).ok();
} }
Ok(()) Ok(())
}) })

View File

@ -1,8 +1,8 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "happa-mission-plan", "productName": "Spectral Insight Mission Plan",
"version": "0.0.1", "version": "0.0.1",
"identifier": "com.xin.happa-mission-plan", "identifier": "com.spectral-insight.mission-plan",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420", "devUrl": "http://localhost:1420",
@ -12,7 +12,7 @@
"app": { "app": {
"windows": [ "windows": [
{ {
"title": "Happa Mission Plan", "title": "Spectral Insight Mission Plan",
"width": 1400, "width": 1400,
"height": 900, "height": 900,
"minWidth": 1024, "minWidth": 1024,
@ -37,6 +37,9 @@
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico" "icons/icon.ico"
], ],
"resources": [
"../update.md"
],
"windows": { "windows": {
"nsis": { "nsis": {
"installMode": "perMachine", "installMode": "perMachine",

14
update.md Normal file
View File

@ -0,0 +1,14 @@
# Spectral Insight Mission Plan - 更新日志
## v0.0.1
- 初始版本
- 任务规划管理(增删改、复制)
- 子任务管理按设备类型Pika L / Pika NIR / 单反 / 深度相机)
- 扫描区域配置(多矩形框 + 背景图参考)
- 路径规划与航线生成Zigzag / OneWay 两种模式)
- 设备默认 FOVPika L 17.6° / Pika NIR 21.7° / 单反 74° / 深度 90°
- .RecordLine3 二进制路径文件读写
- 时序计算卤素灯预热、DSLR 唤醒延迟 135s
- 约束校验(顺序、必填字段、高光谱必选等 7 条规则)
- 默认值持久化scan_defaults.json / planner_defaults.json