private SimulatorModel() { stop = false; settingsModel = ApplicationSettingsModel.Instance; getter = new InfoGetter(settingsModel); sender = new CommandsSender(settingsModel); }
// create a new connection with the flight simulator public void ConnectCmd() { getter.Stop(); settingsModel.ReloadSettings(); getter = new InfoGetter(settingsModel); getter.InitServer(); sender = new CommandsSender(settingsModel); }