From 3372040097ad2c01aeb6fd6485e89f19bf81b316 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 18 三月 2026 17:02:34 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java b/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
index bfc066c..f49863d 100644
--- a/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
+++ b/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
@@ -24,6 +24,11 @@
private Double s2RunBlockWeight = 10.0d;
private Double s2LoopLoadWeight = 12.0d;
+ private Double stationPathLenWeightPercent = 50.0d;
+ private Double stationPathCongWeightPercent = 50.0d;
+ private Double stationPathPassOtherOutStationWeightPercent = 100.0d;
+ private Boolean stationPathPassOtherOutStationForceSkip = false;
+
public static StationPathProfileConfig defaultConfig() {
return new StationPathProfileConfig();
}
@@ -45,5 +50,9 @@
if (source.s2BusyWeight != null) this.s2BusyWeight = source.s2BusyWeight;
if (source.s2RunBlockWeight != null) this.s2RunBlockWeight = source.s2RunBlockWeight;
if (source.s2LoopLoadWeight != null) this.s2LoopLoadWeight = source.s2LoopLoadWeight;
+ if (source.stationPathLenWeightPercent != null) this.stationPathLenWeightPercent = source.stationPathLenWeightPercent;
+ if (source.stationPathCongWeightPercent != null) this.stationPathCongWeightPercent = source.stationPathCongWeightPercent;
+ if (source.stationPathPassOtherOutStationWeightPercent != null) this.stationPathPassOtherOutStationWeightPercent = source.stationPathPassOtherOutStationWeightPercent;
+ if (source.stationPathPassOtherOutStationForceSkip != null) this.stationPathPassOtherOutStationForceSkip = source.stationPathPassOtherOutStationForceSkip;
}
}
--
Gitblit v1.9.1