internal static void InitializeCarSection(Train Train, int CarIndex, int SectionIndex)
{
int c = CarIndex;
int s = SectionIndex;
for (int j = 0; j < Train.Cars[c].CarSections[s].Elements.Length; j++)
{
for (int k = 0; k < Train.Cars[c].CarSections[s].Elements[j].States.Length; k++)
{
InitializeCarSectionElement(Train, c, s, j, k);
}
}
}