From 7a603abe5915c6aeb04e703aa68e6bbebf32a960 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:44:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=AE=9A=E6=97=B6=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs index e00cb79f66..35bc8f125b 100644 --- a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs @@ -421,7 +421,7 @@ namespace MaaWpfGui.ViewModels.UI }); } - private static (bool timeToStart, bool timeToChangeConfig, int configIndex) CheckTimers(DateTime currentTime) + private static (bool _timeToStart, bool _timeToChangeConfig, int _configIndex) CheckTimers(DateTime currentTime) { bool timeToStart = false; bool timeToChangeConfig = false; @@ -479,12 +479,14 @@ namespace MaaWpfGui.ViewModels.UI if (timeToChangeConfig) { + _logger.Information($"Scheduled configuration change: Timer Index: {configIndex}"); HandleConfigChange(configIndex); return; } if (timeToStart) { + _logger.Information($"Scheduled start: Timer Index: {configIndex}"); await HandleScheduledStart(configIndex); } }