小bug修复

This commit is contained in:
hsc
2026-07-22 16:47:57 +08:00
parent ab7936c4ed
commit 54db9ac0b4

View File

@@ -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