예제 #1
0
 public BikeSimulator()
 {
     InitializeComponent();
     ValuePower         = 10;
     ValueSpeed         = 10;
     ValueHeartRate     = 50;
     StartButtonClicked = false;
     random             = new Random();
     BikeData           = new BikeData(ValueSpeed, ValueHeartRate, ValuePower, 10);
 }
예제 #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;
 }