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
812
812
813
813
if ( trainBrakeStatus . Contains ( Viewer . Catalog . GetString ( "EOT" ) ) )
814
814
{
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
+
817
821
brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "EOT" ) ) - index ) . TrimEnd ( ) ;
818
822
AddLabel ( new ListLabel
819
823
{
You can’t perform that action at this time.
0 commit comments