修改README

This commit is contained in:
Tian jianyong 2024-10-16 11:12:51 +08:00
parent 9a91544519
commit 354f80440b

View File

@ -26,6 +26,7 @@ ActiveProtect 是一个复杂的军事仿真系统,旨在模拟导弹和坦克
## 使用方法
1. 配置仿真参数:
```csharp
var config = new SimulationConfig
{
@ -34,12 +35,14 @@ ActiveProtect 是一个复杂的军事仿真系统,旨在模拟导弹和坦克
```
2. 创建并运行仿真:
```csharp
var simulationManager = new SimulationManager(config);
simulationManager.RunSimulation();
```
3. 分析结果:
```csharp
var evaluationResult = simulationManager.EvaluateSimulation();
var report = ReportGenerator.GenerateReport(evaluationResult);
@ -79,11 +82,11 @@ graph TD
L --> M[结束]
```
# 反坦克导弹仿真系统
## 反坦克导弹仿真系统
本项目旨在模拟反坦克导弹的飞行过程和攻击效果。
## 反坦克导弹飞行阶段
### 反坦克导弹飞行阶段
反坦克导弹的飞行过程通常可以分为以下几个主要阶段:
@ -115,7 +118,7 @@ graph TD
## 项目结构
```
```csharp
ActiveProtect/
├── Program.cs # 主程序入口
├── SimulationEnvironment/ # 仿真环境相关类
@ -134,11 +137,14 @@ ActiveProtect/
1. 确保你的系统已安装 .NET 8.0 或更高版本。
2. 在终端中导航到项目根目录。
3. 运行以下命令来构建项目:
```
```shell
dotnet build
```
4. 运行以下命令来启动仿真:
```
```shell
dotnet run
```