CTCRBCSim
ADR-029 CTC simulator — receive-only observer of train-connected/MA indications
Loading...
Searching...
No Matches
ctc_sim.py File Reference

Go to the source code of this file.

Namespaces

namespace  ctc
namespace  ctc.ctc_sim

Functions

 ctc.ctc_sim._is_keepalive (data)
 ctc.ctc_sim.main ()

Variables

 ctc.ctc_sim.CATALOG = MessageCatalog(os.path.join(os.path.dirname(os.path.abspath(__file__)), "message_catalog.json"))
int ctc.ctc_sim._RELAY_KEEPALIVE_KIND = 9
dict ctc.ctc_sim._ALARM_SEVERITY_LOG = {0: logging.INFO, 1: logging.WARNING, 2: logging.ERROR}
dict ctc.ctc_sim._ALARM_SEVERITY_NAME = {0: "INFO", 1: "WARNING", 2: "ERROR"}