Implement the train model failure state gui

The train model failure state GUI was implemented, including engine
failure, signal failure, brake failure