Skip to content

Commit 279e244

Browse files
committed
Code clean up.
1 parent da8978d commit 279e244

File tree

1 file changed

+0
-23
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions

1 file changed

+0
-23
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions/Axle.cs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -972,29 +972,6 @@ public virtual void Update(float timeSpan)
972972
TrainSpeedMpS = 10 / 3.6f;
973973
Polach.Update();
974974
axleStaticForceN = AxleWeightN * SlipCharacteristics(0);
975-
976-
/*
977-
double[] spd = new double[50];
978-
double[] adh = new double[50];
979-
for (int i = 0; i < spd.Length; i++)
980-
{
981-
spd[i] = i / (float)spd.Length;
982-
adh[i] = SlipCharacteristics(spd[i]);
983-
}
984-
for (int i = 0; i < spd.Length; i++)
985-
{
986-
Console.Write(spd[i]);
987-
Console.Write(" ");
988-
}
989-
Console.WriteLine("");
990-
Console.WriteLine("");
991-
for (int i = 0; i < spd.Length; i++)
992-
{
993-
Console.Write(adh[i]);
994-
Console.Write(" ");
995-
}
996-
Console.WriteLine("");
997-
*/
998975
}
999976

1000977
motor?.Update(timeSpan);

0 commit comments

Comments
 (0)