ソースを参照

revise wago simulator bug

chenzk 5 ヶ月 前
コミット
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);
             
             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);