コード例 #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.
  */
 public JoystickModel()
 {
     _simulatorConnectorModel = (Application.Current as App)._simultorConnectorModel;
     _filesUpload             = (Application.Current as App)._filesUpload;
     _location = new Thickness(0, 0, 0, 0);
 }
コード例 #3
0
 public SimulatorModel(SimulatorConnectorModel simulatorConnector)
 {
     _simulatorConnector = simulatorConnector;
 }