From 7d6881cf87ff0b51e65565a63c06117584613d00 Mon Sep 17 00:00:00 2001 From: whm <973418690@qq.com> Date: Mon, 15 Dec 2025 10:58:23 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=86=AC=E4=BC=91=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=EF=BC=8C14=E5=A4=A9=E7=9A=84=E8=A6=81=E5=8F=98?= =?UTF-8?q?=E6=88=9030=E8=80=8C=E4=B8=8D=E6=98=AF28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/construction_monitor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/utils/construction_monitor.py b/app/utils/construction_monitor.py index affcc09..ef83b2a 100644 --- a/app/utils/construction_monitor.py +++ b/app/utils/construction_monitor.py @@ -175,9 +175,11 @@ class ConstructionMonitorUtils: # 核心修改:冬休回溯场景下调整测量间隔(基准周期) original_period = self.compatible_periods[base_condition] if is_winter_break: - # 规则1:原周期为3天则改为7天;规则2:其他周期直接翻倍 + # 规则1:原周期为3天则改为7天;规则2:原周期为14天则改为30天;规则3:其他周期直接翻倍 if original_period == 3: adjusted_period = 7 + elif original_period == 14: + adjusted_period = 30 else: adjusted_period = original_period * 2 else: