mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
34 lines
670 B
TypeScript
34 lines
670 B
TypeScript
import TrainStop from "@/scripts/interfaces/TrainStop";
|
|
|
|
export default interface Train {
|
|
mass: number;
|
|
length: number;
|
|
speed: number;
|
|
signal: string;
|
|
distance: number;
|
|
connectedTrack: string;
|
|
driverId: number;
|
|
trainNo: number;
|
|
driverName: string;
|
|
currentStationName: string;
|
|
currentStationHash: string;
|
|
locoURL: string;
|
|
locoType: string;
|
|
online: boolean;
|
|
|
|
cars: string[];
|
|
|
|
timetableData?: {
|
|
timetableId: number;
|
|
category: string;
|
|
route: string;
|
|
followingStops: TrainStop[];
|
|
TWR: boolean;
|
|
SKR: boolean;
|
|
routeDistance: number;
|
|
};
|
|
|
|
stopStatus: string;
|
|
stopLabel: string;
|
|
}
|