更改了PTC PW2在CAN和CAN FD的设置

This commit is contained in:
2025-08-15 19:24:49 +08:00
parent f4a4078660
commit 1dd632f767
3 changed files with 47 additions and 2 deletions

View File

@@ -3482,10 +3482,10 @@ namespace CapMachine.Wpf.Services
switch (ConfigService.CanLinRunStateModel.CurSysSelectedCanLin)
{
case CanLinEnum.Can:
CanDriveService.UpdateCapPTCPwCmdData(Valuve!);
CanDriveService.UpdateCapPTCPw2CmdData(Valuve!);
break;
case CanLinEnum.CANFD:
CanFdDriveService.UpdateCapPTCPwCmdData(Valuve!);
CanFdDriveService.UpdateCapPTCPw2CmdData(Valuve!);
break;
case CanLinEnum.Lin:
//LinDriveService.UpdateCapPTCPwCmdData((bool)ProRunChannelData.SV!);