restruct: divide logic and layout into components

This commit is contained in:
2025-01-27 18:25:05 +01:00
parent 5c6910df63
commit 8c7ffc7913
10 changed files with 554 additions and 502 deletions
+25
View File
@@ -121,3 +121,28 @@ export interface SceneryRoute {
hidden?: boolean;
realLineNo?: number;
}
export interface StopRow {
pointName: string;
pointKm: string;
isMain: boolean;
stopTime: number;
stopType: string;
scheduledArrivalDate: Date | null;
scheduledDepartureDate: Date | null;
realLine: string;
driveTime: number;
controlAbbrevs: string[];
additionalAbbrevs: string[];
sceneryName: string;
arrivalKm: string;
arrivalSpeed: number;
arrivalTracks: number;
departureKm: string;
departureSpeed: number;
departureTracks: number;
headLocos: string[];
stockVmax: number;
stockLength: number;
stockMass: number;
}