Strengthen the adaptability of the ERTMS implementation