File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -812,8 +812,12 @@ void AddSeparator() => AddLabel(new ListLabel
812812
813813 if ( trainBrakeStatus . Contains ( Viewer . Catalog . GetString ( "EOT" ) ) )
814814 {
815- int indexOffset = Viewer . Catalog . GetString ( "EOT" ) . Length + 1 ;
816- index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) ;
815+ int indexOffset = Viewer . Catalog . GetString ( "EOT" ) . Length + 1 ;
816+ if ( trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) > 0 )
817+ index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) ;
818+ else
819+ index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) ;
820+
817821 brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "EOT" ) ) - index ) . TrimEnd ( ) ;
818822 AddLabel ( new ListLabel
819823 {
You can’t perform that action at this time.
0 commit comments