File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,14 @@ public override void PrepareFrame(ElapsedTime elapsedTime, bool updateFull)
215215 }
216216 else if ( signalObj != null )
217217 {
218+ var aspects = string . Join ( " / " , signalObj . Signal . SignalHeads . Select (
219+ head => $ "{ head . state } " + ( head . TextSignalAspect . Length > 0 ? $ " ({ head . TextSignalAspect } )" : string . Empty )
220+ ) ) ;
218221 primitives . Add ( new DispatcherLabel ( currentPosition . WorldLocation ,
219222 GetAspect ( signalObj . Signal ) == DebugWindowSignalAspect . Stop ? Color . Red :
220223 GetAspect ( signalObj . Signal ) == DebugWindowSignalAspect . Warning ? Color . Yellow :
221224 Color . Green ,
222- String . Format ( "Signal ({0})" , signalObj . Signal . this_sig_lr ( MstsSignalFunction . NORMAL ) ) ,
225+ $ "Signal { signalObj . Signal . thisRef } ( { aspects } )" ,
223226 Owner . TextFontDefaultOutlined ) ) ;
224227 }
225228
You can’t perform that action at this time.
0 commit comments