Beispiel #1
0
        public MainWindowViewModel()
        {
            TargetCommunicationLogic = new TargetCommunicationLogic();
            ComPorts     = TargetCommunicationLogic.GetPorts();
            BaudRates    = TargetCommunicationLogic.GetBaudRates();
            BootCommands = TargetCommunicationLogic.GetCommand();

            #region Delegate Commands
            TestConnectCommand = new DelegateCommand(TestConnectCommandExecute, TestConnectCommandCanExecute);

            #endregion
        }
Beispiel #2
0
 private void TestConnectCommandExecute()
 {
     TargetCommunicationLogic.TestConnection(SelectedComPort, SelectedBaudRate);
 }