TrainRBCSim
ADR-029 Train (EVC) simulator — dual-homed TCP client speaking the RBC wire protocol
Loading...
Searching...
No Matches
site_data.py File Reference

Go to the source code of this file.

Namespaces

namespace  train
namespace  train.site_data

Functions

 train.site_data.balise_names (railml_path=None)

Variables

str train.site_data._RAILML_NS = "https://www.railml.org/schemas/3.3"
str train.site_data._SAPI_NS = "https://safeapirbc2oo2.example/schemas/sapi-ext/1"
dict train.site_data._NS = {"r": _RAILML_NS, "sapi": _SAPI_NS}
 train.site_data._WORKSPACE_ROOT = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "..", ".."))
 train.site_data.DEFAULT_RAILML_PATH = os.path.join(_WORKSPACE_ROOT, "safeAPIRBC2oo2SA", "etc", "site", "ab_site.railml.xml")
dict train.site_data._FALLBACK_BALISE_NAMES