Computer-based controls for a modern electronic interlocking