From 354f80440b970b4975970b137fc1330bd6059aeb Mon Sep 17 00:00:00 2001 From: Tian jianyong <11429339@qq.com> Date: Wed, 16 Oct 2024 11:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c866420..e2949c5 100644 --- a/README.md +++ b/README.md @@ -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 ```