private void loadHermesNP() { if (radio != null) { radio.Stop(); } var hermes = new FakeHermesNewProtocol(); hermes.port = 1024; hermes.start(); radio = hermes; DataContext = hermes; }
private void loadHermesLite() { if (radio != null) { radio.Stop(); } var hermes = new FakeHermes(); hermes.boardID = 6; hermes.port = 1024; hermes.start(); radio = hermes; DataContext = hermes; }