Poprawki błędów (1.3.5)

This commit is contained in:
2020-12-29 01:48:10 +01:00
parent ff17b791f0
commit 709eacc980
33 changed files with 7037 additions and 7039 deletions
+18 -18
View File
@@ -1,19 +1,19 @@
import TrainStop from "./TrainStop";
export default interface ScheduledTrain {
trainNo: number;
driverName: string;
driverId: number;
currentStationName: string;
currentStationHash: string;
category: string;
stopInfo: TrainStop;
terminatesAt: string;
beginsAt: string;
nearestStop: string;
stopLabel: string;
stopStatus: string;
stopStatusID: number;
import TrainStop from "./TrainStop";
export default interface ScheduledTrain {
trainNo: number;
driverName: string;
driverId: number;
currentStationName: string;
currentStationHash: string;
category: string;
stopInfo: TrainStop;
terminatesAt: string;
beginsAt: string;
nearestStop: string;
stopLabel: string;
stopStatus: string;
stopStatusID: number;
}
+16 -16
View File
@@ -1,16 +1,16 @@
export default interface Timetable {
trainNo: number;
driverName: string;
category: string;
stopName: string;
stopType: string;
arrivalTime: number;
arrivalDelay: number;
departureTime: number;
departureDelay: number;
confirmed: boolean;
stopped: boolean;
stopTime: number;
beginsHere: boolean;
terminatesHere: boolean;
}
export default interface Timetable {
trainNo: number;
driverName: string;
category: string;
stopName: string;
stopType: string;
arrivalTime: number;
arrivalDelay: number;
departureTime: number;
departureDelay: number;
confirmed: boolean;
stopped: boolean;
stopTime: number;
beginsHere: boolean;
terminatesHere: boolean;
}
+31 -31
View File
@@ -1,31 +1,31 @@
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;
timetableData?: {
timetableId: number;
category: string;
route: string;
followingStops: TrainStop[];
TWR: boolean;
SKR: boolean;
routeDistance: number;
};
stopStatus: string;
stopLabel: string;
}
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;
timetableData?: {
timetableId: number;
category: string;
route: string;
followingStops: TrainStop[];
TWR: boolean;
SKR: boolean;
routeDistance: number;
};
stopStatus: string;
stopLabel: string;
}
+28 -28
View File
@@ -1,28 +1,28 @@
export default interface TrainStop {
stopName: string;
stopNameRAW: string;
stopType: string;
mainStop: boolean;
arrivalLine: string;
arrivalTimeString: string;
arrivalTimestamp: number;
arrivalRealTimeString: string;
arrivalRealTimestamp: number;
arrivalDelay: number;
departureLine: string;
departureTimeString: string;
departureTimestamp: number;
departureRealTimeString: string;
departureRealTimestamp: number;
departureDelay: number;
comments?: any;
beginsHere: boolean;
terminatesHere: boolean;
confirmed: boolean;
stopped: boolean;
stopTime: number;
}
export default interface TrainStop {
stopName: string;
stopNameRAW: string;
stopType: string;
mainStop: boolean;
arrivalLine: string;
arrivalTimeString: string;
arrivalTimestamp: number;
arrivalRealTimeString: string;
arrivalRealTimestamp: number;
arrivalDelay: number;
departureLine: string;
departureTimeString: string;
departureTimestamp: number;
departureRealTimeString: string;
departureRealTimestamp: number;
departureDelay: number;
comments?: any;
beginsHere: boolean;
terminatesHere: boolean;
confirmed: boolean;
stopped: boolean;
stopTime: number;
}