Esempio n. 1
0
 public BikeSimulator()
 {
     InitializeComponent();
     ValuePower         = 10;
     ValueSpeed         = 10;
     ValueHeartRate     = 50;
     StartButtonClicked = false;
     random             = new Random();
     BikeData           = new BikeData(ValueSpeed, ValueHeartRate, ValuePower, 10);
 }
Esempio n. 2
0
 public BikeSimulator()
 {
     InitializeComponent();
     ValuePower        = 10;
     ValueSpeed        = 10;
     ValueHeartRate    = 50;
     IsVirtualRunning  = false;
     IsFysicalRunning  = false;
     Random            = new Random();
     BikeData          = new BikeData(ValueSpeed, ValueHeartRate, ValuePower, 10);
     AlreadySubscribed = false;
 }