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