From e15d326bf99045464912aad08d18faa0c667cdb5 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期三, 22 五月 2024 09:27:34 +0800 Subject: [PATCH] 调度算法 修改 调度逻辑 修改 调度接口 web新增 --- Schedule/IStation.Client/Form1.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Schedule/IStation.Client/Form1.cs b/Schedule/IStation.Client/Form1.cs index c3aea03..cf7fa95 100644 --- a/Schedule/IStation.Client/Form1.cs +++ b/Schedule/IStation.Client/Form1.cs @@ -1,3 +1,5 @@ +using System.IO; + namespace IStation.Client { public partial class Form1 : Form @@ -176,7 +178,7 @@ flags_part2 = new List<int>() { 21, 27 }; } - var helper = new Algorithm.SchedulingHelper(); + var helper = new Algorithm.DispatchHelper(); var info = helper.Ana(pumps, flags_part1, flags_part2, targetFlow, targetHead, current_open_pump_list, must_open_pump_list, must_not_open_pump_list); this.txtInfo.Text = info; -- Gitblit v1.9.3