public MainWindow()
 {
     InitializeComponent();
     Dash.DataContext     = new DashBoardViewModel(_model);
     Joystick.DataContext = new JoystickViewModel(_model);
     _model.Start();
 }
Esempio n. 2
0
 public void StartConnection()
 {
     _model.Connect();
     if (VM_Connected)
     {
         _model.Start();
     }
 }