Преглед на файлове

revise wago simulator bug

chenzk преди 1 месец
родител
ревизия
1b896bc2bc
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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);
             AISelectionChangedCommand = new DelegateCommand<object>(AISelectionChangedAction);
             
             
             SetDOCommand = new DelegateCommand<object>(SetDOAction);
             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);
             SetAOCommand = new DelegateCommand<object>(SetAOAction);
+            SetAICommand = new DelegateCommand<object>(SetAIAction);
             
             
             int.TryParse(str, out int port);
             int.TryParse(str, out int port);
             _sim = new WagoSocketSimulator(port);
             _sim = new WagoSocketSimulator(port);