-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add mockdate for balise, pfeiftafeln, levelcrossing and strassenbahn (#224) #480
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
...ck/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0"?> | ||
<JourneyProfile JP_Status="Valid" JP_Version="1" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"> | ||
<TrainIdentification> | ||
<OTN_ID> | ||
<Company>1085</Company> | ||
<OperationalTrainNumber>T5</OperationalTrainNumber> | ||
<StartDate>2022-01-04</StartDate> | ||
</OTN_ID> | ||
</TrainIdentification> | ||
<SegmentProfileList SP_ID="T7_1" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal"> | ||
<SP_Zone> | ||
<IM_ID>0085</IM_ID> | ||
</SP_Zone> | ||
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None"> | ||
<TimingPointReference> | ||
<TP_ID_Reference TP_ID="Lenzburg"/> | ||
</TimingPointReference> | ||
</TimingPointConstraints> | ||
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None"> | ||
<TimingPointReference> | ||
<TP_ID_Reference TP_ID="SeonNord"/> | ||
</TimingPointReference> | ||
</TimingPointConstraints> | ||
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None"> | ||
<TimingPointReference> | ||
<TP_ID_Reference TP_ID="WANZ"/> | ||
</TimingPointReference> | ||
</TimingPointConstraints> | ||
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None"> | ||
<TimingPointReference> | ||
<TP_ID_Reference TP_ID="Rothrist"/> | ||
</TimingPointReference> | ||
</TimingPointConstraints> | ||
<TrainCharacteristicsRef TC_ID="T7_1" TC_VersionMajor="1" TC_VersionMinor="1" location="0"> | ||
<TC_RU_ID>1185</TC_RU_ID> | ||
</TrainCharacteristicsRef> | ||
</SegmentProfileList> | ||
</JourneyProfile> |
186 changes: 186 additions & 0 deletions
186
.../src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
<?xml version="1.0"?> | ||
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd" | ||
SP_ID="T7_1" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="2000" SP_Status="Valid"> | ||
<SP_Zone> | ||
<IM_ID>0085</IM_ID> | ||
</SP_Zone> | ||
<SP_Points> | ||
<TimingPoint TP_ID="Lenzburg" location="500"> | ||
<TP_Name name="Lenzburg"/> | ||
<TAF_TAP_LocationReference> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3002</LocationPrimaryCode> | ||
</TAF_TAP_LocationReference> | ||
</TimingPoint> | ||
|
||
<TimingPoint TP_ID="SeonNord" location="1000"> | ||
<TP_Name name="Seon Nord"/> | ||
<TAF_TAP_LocationReference> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3003</LocationPrimaryCode> | ||
</TAF_TAP_LocationReference> | ||
</TimingPoint> | ||
|
||
<TimingPoint TP_ID="WANZ" location="1500"> | ||
<TP_Name name="WANZ"/> | ||
<TAF_TAP_LocationReference> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3004</LocationPrimaryCode> | ||
</TAF_TAP_LocationReference> | ||
</TimingPoint> | ||
|
||
<TimingPoint TP_ID="Rothrist" location="2000"> | ||
<TP_Name name="Rothrist"/> | ||
<TAF_TAP_LocationReference> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3005</LocationPrimaryCode> | ||
</TAF_TAP_LocationReference> | ||
</TimingPoint> | ||
|
||
<Balise location="600" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="601" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="602" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="603" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="604" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
|
||
<Balise location="606" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="607" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
<Balise location="608" levelCrossingGuarding="true" amountLevelCrossings="1"/> | ||
|
||
<NetworkSpecificPoint location="605" name="whistle"> | ||
<NetworkSpecificParameter name="amount" value="1"/> | ||
</NetworkSpecificPoint> | ||
|
||
</SP_Points> | ||
<SP_Areas> | ||
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="LENZ" | ||
TAF_TAP_location_type="station"> | ||
<TAF_TAP_LocationIdent> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3002</LocationPrimaryCode> | ||
</TAF_TAP_LocationIdent> | ||
<TAF_TAP_LocationName language="de" messageString="Lenzburg"/> | ||
</TAF_TAP_Location> | ||
|
||
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="SENO" | ||
TAF_TAP_location_type="station"> | ||
<TAF_TAP_LocationIdent> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3003</LocationPrimaryCode> | ||
</TAF_TAP_LocationIdent> | ||
<TAF_TAP_LocationName language="de" messageString="Seon Nord"/> | ||
</TAF_TAP_Location> | ||
|
||
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="WANZ" | ||
TAF_TAP_location_type="station"> | ||
<TAF_TAP_LocationIdent> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3004</LocationPrimaryCode> | ||
</TAF_TAP_LocationIdent> | ||
<TAF_TAP_LocationName language="de" messageString="WANZ"/> | ||
</TAF_TAP_Location> | ||
|
||
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="RO" | ||
TAF_TAP_location_type="station"> | ||
<TAF_TAP_LocationIdent> | ||
<CountryCodeISO>CH</CountryCodeISO> | ||
<LocationPrimaryCode>3005</LocationPrimaryCode> | ||
</TAF_TAP_LocationIdent> | ||
<TAF_TAP_LocationName language="de" messageString="Rothrist"/> | ||
</TAF_TAP_Location> | ||
|
||
<NetworkSpecificArea startEndQualifier="Starts" startLocation="1450" name="nonStandardTrackEquipment"> | ||
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-convSpeedReversingImpossible"/> | ||
</NetworkSpecificArea> | ||
|
||
<NetworkSpecificArea startEndQualifier="StartsEnds" name="tramArea" startLocation="900" endLocation="1400"> | ||
<NetworkSpecificParameter name="amountTramSignals" value="6"/> | ||
</NetworkSpecificArea> | ||
|
||
</SP_Areas> | ||
|
||
<SP_ContextInformation> | ||
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="1600" endLocation="1600" /> | ||
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="1601" endLocation="1601" /> | ||
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="1602" endLocation="1602" /> | ||
|
||
<KilometreReferencePoint location="500"> | ||
<KM_Reference kmRef="42.2"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="600"> | ||
<KM_Reference kmRef="41.552"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="601"> | ||
<KM_Reference kmRef="41.155"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="602"> | ||
<KM_Reference kmRef="40.777"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="603"> | ||
<KM_Reference kmRef="40.401"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="604"> | ||
<KM_Reference kmRef="39.989"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="605"> | ||
<KM_Reference kmRef="39.600"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="606"> | ||
<KM_Reference kmRef="39.453"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="607"> | ||
<KM_Reference kmRef="38.736"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="608"> | ||
<KM_Reference kmRef="37.957"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="900"> | ||
<KM_Reference kmRef="37.8"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1000"> | ||
<KM_Reference kmRef="37.6"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1400"> | ||
<KM_Reference kmRef="36.8"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1450"> | ||
<KM_Reference kmRef="36.6"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1500"> | ||
<KM_Reference kmRef="36.4"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1500"> | ||
<KM_Reference kmRef="68.5"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="1600"> | ||
<KM_Reference kmRef="74.7"/> | ||
</KilometreReferencePoint> | ||
<KilometreReferencePoint location="1601"> | ||
<KM_Reference kmRef="75.9"/> | ||
</KilometreReferencePoint> | ||
<KilometreReferencePoint location="1602"> | ||
<KM_Reference kmRef="77.3"/> | ||
</KilometreReferencePoint> | ||
|
||
<KilometreReferencePoint location="2000"> | ||
<KM_Reference kmRef="80.8"/> | ||
</KilometreReferencePoint> | ||
</SP_ContextInformation> | ||
</SegmentProfile> |
8 changes: 8 additions & 0 deletions
8
.../src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<TrainCharacteristics xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd" | ||
TC_ID="T7_1" TC_VersionMajor="1" TC_VersionMinor="1"> | ||
<TC_RU_ID>1185</TC_RU_ID> | ||
<TC_Features trainCategoryCode="R" brakedWeightPercentage="115"> | ||
</TC_Features> | ||
</TrainCharacteristics> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Müsste T7 sein