From 5a7ba8ec054183a49b494a60184e890e7e7312d5 Mon Sep 17 00:00:00 2001 From: u221711 Date: Thu, 9 Jan 2025 09:33:39 +0100 Subject: [PATCH 1/3] feat: add mockdate for balise, pfeiftafeln, levelcrossing and strassenbahn --- .../SFERA_JP_T7.xml | 40 ++++ .../SFERA_SP_T7_1.xml | 186 ++++++++++++++++++ .../SFERA_TC_T7_1.xml | 8 + 3 files changed, 234 insertions(+) create mode 100644 sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml create mode 100644 sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml create mode 100644 sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml new file mode 100644 index 00000000..fb31bc32 --- /dev/null +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml @@ -0,0 +1,40 @@ + + + + + 1085 + T5 + 2022-01-04 + + + + + 0085 + + + + + + + + + + + + + + + + + + + + + + + 1185 + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml new file mode 100644 index 00000000..b09b0462 --- /dev/null +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml @@ -0,0 +1,186 @@ + + + + 0085 + + + + + + CH + 3002 + + + + + + + CH + 3003 + + + + + + + CH + 3004 + + + + + + + CH + 3005 + + + + + + + + + + + + + + + + + + + + + + CH + 3002 + + + + + + + CH + 3003 + + + + + + + CH + 3004 + + + + + + + CH + 3005 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml new file mode 100644 index 00000000..f01ae73d --- /dev/null +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml @@ -0,0 +1,8 @@ + + + 1185 + + + From 4711b8e4aa023ec8f63f87b7b12707d9453ced49 Mon Sep 17 00:00:00 2001 From: u221711 Date: Thu, 9 Jan 2025 14:06:22 +0100 Subject: [PATCH 2/3] review changes --- .../SFERA_JP_T7.xml | 2 +- .../SFERA_SP_T7_1.xml | 0 .../SFERA_TC_T7_1.xml | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename sfera-mock/src/main/resources/static_sfera_resources/{T7_Balise_Pfeif_Strassenbahn => T7_Balise_Whistle_TramArea}/SFERA_JP_T7.xml (96%) rename sfera-mock/src/main/resources/static_sfera_resources/{T7_Balise_Pfeif_Strassenbahn => T7_Balise_Whistle_TramArea}/SFERA_SP_T7_1.xml (100%) rename sfera-mock/src/main/resources/static_sfera_resources/{T7_Balise_Pfeif_Strassenbahn => T7_Balise_Whistle_TramArea}/SFERA_TC_T7_1.xml (100%) diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml similarity index 96% rename from sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml rename to sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml index fb31bc32..aa1fa0e0 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_JP_T7.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml @@ -5,7 +5,7 @@ 1085 - T5 + T7 2022-01-04 diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml similarity index 100% rename from sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_SP_T7_1.xml rename to sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_TC_T7_1.xml similarity index 100% rename from sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Pfeif_Strassenbahn/SFERA_TC_T7_1.xml rename to sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_TC_T7_1.xml From 04ebc14c3fc64e9380526d5ab98d60f12641f143 Mon Sep 17 00:00:00 2001 From: u221711 Date: Thu, 9 Jan 2025 14:18:50 +0100 Subject: [PATCH 3/3] add additional level crossings --- .../SFERA_JP_T7.xml | 2 +- .../SFERA_SP_T7_1.xml | 74 +++++++++++++++---- 2 files changed, 61 insertions(+), 15 deletions(-) diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml index aa1fa0e0..328dcad3 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_JP_T7.xml @@ -9,7 +9,7 @@ 2022-01-04 - + 0085 diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml index b09b0462..ce795229 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T7_Balise_Whistle_TramArea/SFERA_SP_T7_1.xml @@ -1,7 +1,7 @@ + SP_ID="T7_1" SP_VersionMajor="1" SP_VersionMinor="2" SP_Length="2000" SP_Status="Valid"> 0085 @@ -39,16 +39,16 @@ - - - - + + + + - + @@ -101,6 +101,16 @@ + + + + + + + + + + @@ -114,35 +124,71 @@ - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +