Merge pull request #7 from thefeli73/we-fix-broken-git
We fix broken git
This commit is contained in:
commit
c7517f185c
@ -1,24 +1,11 @@
|
|||||||
/*
|
|
||||||
Denna klass är en modell för störningar.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Disruption {
|
class Disruption {
|
||||||
constructor(startTime, locations, departures) {
|
constructor(situationNumber, severity, title, affectedStopPoints) {
|
||||||
this.startTime = startTime;
|
this.situationNumber = situationNumber;
|
||||||
this.affectedLines = affectedLines;
|
this.severity = severity;
|
||||||
this.departures = departures;
|
this.title = title;
|
||||||
|
this.affectedStopPoints = affectedStopPoints;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Från västtrafiks api ett element i listan av hållplatser ser ut som följande
|
|
||||||
"id": "string",
|
|
||||||
"lon": "string",
|
|
||||||
"idx": "string",
|
|
||||||
"weight": "string",
|
|
||||||
"name": "string",
|
|
||||||
"track": "string",
|
|
||||||
"lat": "string"
|
|
||||||
*/
|
|
||||||
|
|
||||||
export default Disruption;
|
export default Disruption;
|
@ -1,11 +0,0 @@
|
|||||||
|
|
||||||
class Disruption {
|
|
||||||
constructor(situationNumber, severity, title, affectedStopPoints) {
|
|
||||||
this.situationNumber = situationNumber;
|
|
||||||
this.severity = severity;
|
|
||||||
this.title = title;
|
|
||||||
this.affectedStopPoints = affectedStopPoints;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Disruption;
|
|
Loading…
Reference in New Issue
Block a user