@transportme/load-ptv-gtfs 1.4.18 → 1.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import { TRANSIT_MODES } from '../constants.mjs'
|
|
|
2
2
|
import GTFSCalendar from './GTFSCalendar.mjs'
|
|
3
3
|
|
|
4
4
|
export default class GTFSTrip {
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
#routeGTFSID
|
|
7
7
|
#calendarName
|
|
8
8
|
#operationDays
|
|
@@ -11,6 +11,7 @@ export default class GTFSTrip {
|
|
|
11
11
|
#headsign
|
|
12
12
|
#direction
|
|
13
13
|
#block
|
|
14
|
+
#stopData
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -102,6 +103,14 @@ export default class GTFSTrip {
|
|
|
102
103
|
getGTFSDirection() {
|
|
103
104
|
return parseInt(this.#direction)
|
|
104
105
|
}
|
|
106
|
+
|
|
107
|
+
setStopData(stopData) {
|
|
108
|
+
this.#stopData = stopData
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
getStopData() {
|
|
112
|
+
return this.#stopData
|
|
113
|
+
}
|
|
105
114
|
}
|
|
106
115
|
|
|
107
116
|
/**
|