Browse Source

revise wago simulator bug

chenzk 1 month ago
parent
commit
1b896bc2bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CyberX8_Simulator/Views/WagoView.xaml.cs

+ 2 - 2
CyberX8_Simulator/Views/WagoView.xaml.cs

@@ -237,9 +237,9 @@ namespace CyberX8_Simulator.Views
             AISelectionChangedCommand = new DelegateCommand<object>(AISelectionChangedAction);
             
             SetDOCommand = new DelegateCommand<object>(SetDOAction);
-            SetAICommand = new DelegateCommand<object>(SetAIAction);
-            SetAOCommand = new DelegateCommand<object>(SetAOAction);
+            SetDICommand = new DelegateCommand<object>(SetDIAction);
             SetAOCommand = new DelegateCommand<object>(SetAOAction);
+            SetAICommand = new DelegateCommand<object>(SetAIAction);
             
             int.TryParse(str, out int port);
             _sim = new WagoSocketSimulator(port);