Exemplo n.º 1
0
 public CalculationCManager(SimProvider.Bike bike, double timestepSize)
 {
     _bike = bike;
     _timestepSEC = timestepSize;
     _amountOfCounts = 0;
     _infCalculation = true;
 }
Exemplo n.º 2
0
 private void Calculation(SimProvider.Bike bike)
 {
     Save.Manager.CalculationCManager manager = new Save.Manager.CalculationCManager(bike, 0.0001);
     MainChartWindow m= new MainChartWindow(manager);
     if (checkBox1.Checked)
     {
         m._simulate = true;
     }
     m.Show();
     m._mode = "CalculationManager";
     this.Close();
 }
Exemplo n.º 3
0
 public void newBike(Graphics.Scene scene,SimProvider.Bike bike)
 {
     _scene = scene;
     _bike = bike;
        // throw new NotImplementedException();
 }
Exemplo n.º 4
0
 private void Simulation(SimProvider.Bike bike)
 {
     //VirtualSimulation vs = new VirtualSimulation();
     //vs.Show();
     Save.Manager.SimulationCManager manager = new Save.Manager.SimulationCManager();
     manager._bike = bike;
     MainChartWindow m = new MainChartWindow(manager);
     m._mode = "SimulationManager";
     //Graphics.Scene s = new Graphics.Scene(800, 600);
     m.Show();
     this.Close();
 }
Exemplo n.º 5
0
 public CalculationCManager(SimProvider.Bike bike, double timestepSize, double calculationTime)
 {
     _bike = bike;
     _timestepSEC = timestepSize;
     _amountOfCounts = (int)timestepSize * (int)calculationTime;
 }