From b4a6461f94623b0071a19b4c2a77c34e3fc87ba4 Mon Sep 17 00:00:00 2001 From: Petr Kundrata Date: Thu, 14 Nov 2024 11:49:58 +0100 Subject: [PATCH] cross RS4S tlc configuration --- config/cross_rs4s.yaml | 96 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 config/cross_rs4s.yaml diff --git a/config/cross_rs4s.yaml b/config/cross_rs4s.yaml new file mode 100644 index 00000000..fe3af749 --- /dev/null +++ b/config/cross_rs4s.yaml @@ -0,0 +1,96 @@ +# Config for testing a site running on localhost (e.g. from the rsmp gem) +# The settings are used for starting a local supervisor listening for the site tested +# see https://rsmp-nordic.github.io/rsmp_validator/config/ +type: tlc +sxl: tlc # Traffic Light Controller. We are testing a site, not a server. +port: 12111 +ips: all +rsmp_versions: all + +intervals: + timer: 1 + watchdog: 60 +# timer: 0.1 +# watchdog: 0.1 +timeouts: + watchdog: 65 + acknowledgement: 1 + connect: 30 + ready: 1 + status_response: 3 + status_update: 5 + subscribe: 1 + command: 300 + command_response: 30 + alarm: 3 + disconnect: 20 # RSMP_WATCHDOG_TIMEOUT_MSEC + RSMP_WATCHDOG_PERIOD_MSEC + startup_sequence: 45 + functional_position: 60 + priority_completion: 5 + yellow_flash: 2 +secrets: + security_codes: + 1: '1111' #spec/site/tlc/invalid_command_spec.rb has hardcoded security code 1111 + 2: 'r;PwL7%U?SN2E.5' +components: + main: + CZ+76000=101TC001: + ntsOId: CZ+76000=101TC001 + signal_group: + CZ+76000=101SG001: + CZ+76000=101SG002: + CZ+76000=101SG003: + CZ+76000=101SG004: + CZ+76000=101SG005: + CZ+76000=101SG006: + CZ+76000=101SG007: + CZ+76000=101SG008: + CZ+76000=101SG009: + CZ+76000=101SG010: + CZ+76000=101SG011: + CZ+76000=101SG012: + CZ+76000=101SG013: + CZ+76000=101SG014: + CZ+76000=101SG015: + CZ+76000=101SG016: + CZ+76000=101SG017: + CZ+76000=101SG018: + CZ+76000=101SG019: + CZ+76000=101SG020: + CZ+76000=101SG021: + CZ+76000=101SG022: + detector_logic: + CZ+76000=101DL001: + CZ+76000=101DL002: + CZ+76000=101DL003: + CZ+76000=101DL004: + CZ+76000=101DL005: + CZ+76000=101DL006: + CZ+76000=101DL007: + CZ+76000=101DL008: + CZ+76000=101DL009: + CZ+76000=101DL010: +items: + plans: [1,2,3,4,5] + + traffic_situations: [] +# emergency_routes: [1,2,3,4,5,6] + emergency_routes: [1] #no support for multiple simultaneous emergency routes + + inputs: [1,3,8] + force_input: 5 + outputs: [1,3,8] +startup_sequence: 'efg' +#alarm_activation: # how to trigger alarms by forcing inputs +# A0303: # alarm A0302 +# input: 7 # can be triggered by forcing input 8 +# component: DL1 # and will active on component DL1 +alarms: + A0302: + activation_input: 1 + component: CZ+76000=101DL001 +restrict_testing: + sxl_version: 1.2.1 +log: + watchdogs: false + acknowledgements: false