Explorar el Código

revise wago simulator bug

chenzk hace 5 meses
padre
commit
1b896bc2bc
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);