Skip to content

Commit

Permalink
feat: add mockdate for balise, pfeiftafeln, levelcrossing and strasse…
Browse files Browse the repository at this point in the history
…nbahn (#224) (#480)
  • Loading branch information
Grodien authored Jan 10, 2025
1 parent 22cf9d3 commit 7358ab5
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 0 deletions.
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>T7</OperationalTrainNumber>
<StartDate>2022-01-04</StartDate>
</OTN_ID>
</TrainIdentification>
<SegmentProfileList SP_ID="T7_1" SP_VersionMajor="1" SP_VersionMinor="2" 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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
<?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="2" 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="602" levelCrossingGuarding="true" amountLevelCrossings="1"/>
<Balise location="604" levelCrossingGuarding="true" amountLevelCrossings="1"/>
<Balise location="606" levelCrossingGuarding="true" amountLevelCrossings="1"/>
<Balise location="608" levelCrossingGuarding="true" amountLevelCrossings="1"/>

<Balise location="611" levelCrossingGuarding="true" amountLevelCrossings="1"/>
<Balise location="613" levelCrossingGuarding="true" amountLevelCrossings="2"/>
<Balise location="616" levelCrossingGuarding="true" amountLevelCrossings="1"/>

<NetworkSpecificPoint location="610" 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="601" endLocation="601" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="603" endLocation="603" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="605" endLocation="605" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="607" endLocation="607" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="609" endLocation="609" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="612" endLocation="612" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="614" endLocation="614" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="615" endLocation="615" />
<LevelCrossingArea startEndQualifier="StartsEnds" startLocation="617" endLocation="617" />

<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.492"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="602">
<KM_Reference kmRef="41.190"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="603">
<KM_Reference kmRef="41.155"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="604">
<KM_Reference kmRef="40.777"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="605">
<KM_Reference kmRef="40.698"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="606">
<KM_Reference kmRef="40.401"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="607">
<KM_Reference kmRef="40.322"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="608">
<KM_Reference kmRef="39.989"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="609">
<KM_Reference kmRef="39.833"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="610">
<KM_Reference kmRef="39.600"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="611">
<KM_Reference kmRef="39.453"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="612">
<KM_Reference kmRef="39.361"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="613">
<KM_Reference kmRef="39.133"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="614">
<KM_Reference kmRef="39.122"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="615">
<KM_Reference kmRef="39.086"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="116">
<KM_Reference kmRef="38.736"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="117">
<KM_Reference kmRef="38.646"/>
</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>
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>

0 comments on commit 7358ab5

Please sign in to comment.