예제 #1
0
 /*
  * Constructor.
  */
 public SliderModel(SimulatorConnectorModel simulatorConnectorModel)
 {
     _filesUpload             = (Application.Current as App)._filesUpload;
     _simulatorConnectorModel = simulatorConnectorModel;
     _dashBoardModel          = (Application.Current as App)._dashBoardModel;
     _joystickModel           = (Application.Current as App)._joystickModel;
     _joystickDashBoardModel  = (Application.Current as App)._joystickDashBoardModel;
     _graphsModel             = (Application.Current as App)._graphModel;
     time = TimeSpan.FromSeconds(_timer);
 }
예제 #2
0
 /* Constructor JoystickDashBoardModel */
 public JoystickDashBoardModel()
 {
     _filesUpload = (Application.Current as App)._filesUpload;
 }
 /*
  * Constructor.
  */
 public JoystickModel()
 {
     _simulatorConnectorModel = (Application.Current as App)._simultorConnectorModel;
     _filesUpload             = (Application.Current as App)._filesUpload;
     _location = new Thickness(0, 0, 0, 0);
 }