CAN 变化更改和物性的更改

This commit is contained in:
2025-10-13 21:30:42 +08:00
parent 3cb4747002
commit 7a2eca6f2f
8 changed files with 35 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
using CapMachine.Wpf.Dtos;
using CapMachine.Wpf.Dtos;
namespace CapMachine.Wpf.CanDrive
{
@@ -41,7 +41,10 @@ namespace CapMachine.Wpf.CanDrive
if (_SignalCmdValue != value)
{
_SignalCmdValue = value;
CanCmdDataChangedHandler!.BeginInvoke(this, MsgName!, null, null);
if (CanCmdDataChangedHandler != null)
{
CanCmdDataChangedHandler!.Invoke(this, MsgName!);
}
}
}