presentation/README.md

42 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# OCPM — 作战指挥计划管理系统
## 概述
OCPM (Operation Command Planning Manager) 是一个面向现代战争的作战指挥计划管理系统,支持从计划制定、优化、分发到执行监控的全流程闭环管理。本工程为其核心 C++ 后端原型。
## 功能模块
| 模块 | 说明 |
|------|------|
| 计划管理 (PlanManager) | 集中式计划 CRUD、排序、对比、重构、HITL |
| 分布式计划 (DistributedPlanManager) | 分布式计划拓扑管理与节点重构 |
| 指令分发与执行监控 (DispatchManager) | 计划分发、资产状态监控、仪表盘/流程图/告警 |
| 综合可视化 (Dashboard) | 全局态势总览 |
## 数据结构
- **Plan_Info**作战计划核心实体plan_id, plan_name, status, priority, plan_type 等)
- **AssetStatus**:资产状态枚举(就绪/忙碌/故障/离线)
- 各类 JSON 接口数据模型已在 `include/app.hpp` 中定义
## 编译与运行
```bash
# 配置
cmake -B build
# 构建
cmake --build build
# 运行主程序
./build/ocpm
# 运行测试
./build/basic_test
```
## 环境要求
- C++17 编译器GCC 8+, Clang 10+, MSVC 2019+
- CMake ≥ 3.14