From 54db9ac0b405b36e8364784c46e0cb0eea8a0231 Mon Sep 17 00:00:00 2001 From: hsc Date: Wed, 22 Jul 2026 16:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8Fbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CANModule/ViewModels/CollectCANSingalSettingViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CANModule/ViewModels/CollectCANSingalSettingViewModel.cs b/CANModule/ViewModels/CollectCANSingalSettingViewModel.cs index 5fc9ae3..80cf9f7 100644 --- a/CANModule/ViewModels/CollectCANSingalSettingViewModel.cs +++ b/CANModule/ViewModels/CollectCANSingalSettingViewModel.cs @@ -164,6 +164,7 @@ namespace CANModule.ViewModels char lastChar = title[title.Length - 1]; // 3. "TestCellX"转int MessageChannel = int.Parse(lastChar.ToString())-1; + if (MessageChannel >= 4) MessageChannel -= 4; RaisePropertyChanged(nameof(ConfigurationList)); } #endregion