Added in message directly to train controller for the transit light status. Keegans code should be working, he will need to change his setState({authority: payload.Authority}) to
this.state.authority = payload.Authortity; inside of his subscribe message function. Also note for accessing signals sent from the track model:
Signal type will be 'trackModelStatus'
look at the TrackModel.jsx file for specific attributes being sent in sendMessages() function (control f).
~names will be easy to mess up, reference my code in TrackModel.jsx so not to get it messed up
Access an attribute with payload.AttributeName like any object
Added in message directly to train controller for the transit light status. Keegans code should be working, he will need to change his setState({authority: payload.Authority}) to this.state.authority = payload.Authortity; inside of his subscribe message function. Also note for accessing signals sent from the track model:
Signal type will be 'trackModelStatus'
look at the TrackModel.jsx file for specific attributes being sent in sendMessages() function (control f). ~names will be easy to mess up, reference my code in TrackModel.jsx so not to get it messed up
Access an attribute with payload.AttributeName like any object