示例#1
0
 private SimulatorModel()
 {
     stop          = false;
     settingsModel = ApplicationSettingsModel.Instance;
     getter        = new InfoGetter(settingsModel);
     sender        = new CommandsSender(settingsModel);
 }
示例#2
0
 // 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);
 }