public void reLoadProps() { txtBlock.Text = "X: " + ext.TheCar.Left.Round() + "\nY: " + ext.TheCar.Top.Round() + "\nRotation Angle: " + ext.TheCar.RotationAngle.Round() + "\nRezultanta Forte: " + ext.TheCar.RezultantaForte.Round() + "\nMoment Rotatie: " + ext.TheCar.MomentRotatie.Round() + "\nMax Engine Power: " + (ext.TheCar.MaxEngineForce * 100).Round() + "%" + "\nLeftEngines: Sens: " + (ext.TheCar.LeftEnginesSense > 0 ? "F" : "B") + " Power: " + (ext.TheCar.LeftEnginesForce * 100).Round() + "%" + "\nRightEngines: Sens: " + (ext.TheCar.RightEnginesSense > 0 ? "F" : "B") + " Power: " + (ext.TheCar.RightEnginesForce * 100).Round() + "%" + "\nDistance: " + ext.TheCar.DistantaParcursa.Round().ToString() + "\nRightParalel: " + RealMeta.isRightParalel().ToString(); // + "\nSensor Offset: " + funcs.wpfPixelsToCMs((ext.TheCar.ActualWidth * 3 / 4)).Round().ToString(); }
private void Button_Click_1(object sender, RoutedEventArgs e) { RealMeta.initParcareLaterala(); }
private void paralaleCheckBtn_Click(object sender, RoutedEventArgs e) { int x = (int)RealMeta.isLeftParalel(); funcs.Log("isRP=" + x.ToString()); }
private void executeCode1Btn_Click(object sender, RoutedEventArgs e) { RealMeta.executeCode1ButtonPressed(); }