@@ -151,13 +151,15 @@ private static class Symbols
151151 [ Viewer . Catalog . GetString ( "Apply Quick" ) ] = Viewer . Catalog . GetString ( "ApplQ" ) ,
152152 [ Viewer . Catalog . GetString ( "Apply Slow" ) ] = Viewer . Catalog . GetString ( "ApplS" ) ,
153153 [ Viewer . Catalog . GetString ( "coal" ) ] = Viewer . Catalog . GetString ( "c" ) ,
154+ [ Viewer . Catalog . GetString ( "Cont. Service" ) ] = Viewer . Catalog . GetString ( "Serv" ) ,
154155 [ Viewer . Catalog . GetString ( "Emergency Braking Push Button" ) ] = Viewer . Catalog . GetString ( "EmerBPB" ) ,
155156 [ Viewer . Catalog . GetString ( "Lap Self" ) ] = Viewer . Catalog . GetString ( "LapS" ) ,
156157 [ Viewer . Catalog . GetString ( "Minimum Reduction" ) ] = Viewer . Catalog . GetString ( "MRedc" ) ,
157158 [ Viewer . Catalog . GetString ( "(safe range)" ) ] = Viewer . Catalog . GetString ( "(safe)" ) ,
158159 [ Viewer . Catalog . GetString ( "skid" ) ] = Viewer . Catalog . GetString ( "Skid" ) ,
159160 [ Viewer . Catalog . GetString ( "slip warning" ) ] = Viewer . Catalog . GetString ( "Warning" ) ,
160161 [ Viewer . Catalog . GetString ( "slip" ) ] = Viewer . Catalog . GetString ( "Slip" ) ,
162+ [ Viewer . Catalog . GetString ( "Vac. Cont. Service" ) ] = Viewer . Catalog . GetString ( "Vac.Serv" ) ,
161163 [ Viewer . Catalog . GetString ( "water" ) ] = Viewer . Catalog . GetString ( "w" )
162164 } ;
163165
@@ -798,16 +800,24 @@ void AddSeparator() => AddLabel(new ListLabel
798800 } ) ;
799801
800802 index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "EQ" ) ) ;
801- brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) - index ) . TrimEnd ( ) ;
803+ if ( trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) > 0 )
804+ brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) - index ) . TrimEnd ( ) ;
805+ else
806+ brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) - index ) . TrimEnd ( ) ;
802807
803808 AddLabel ( new ListLabel
804809 {
805810 LastCol = brakeInfoValue ,
806811 } ) ;
812+
807813 if ( trainBrakeStatus . Contains ( Viewer . Catalog . GetString ( "EOT" ) ) )
808814 {
809- int indexOffset = Viewer . Catalog . GetString ( "EOT" ) . Length + 1 ;
810- 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+
811821 brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "EOT" ) ) - index ) . TrimEnd ( ) ;
812822 AddLabel ( new ListLabel
813823 {
@@ -822,8 +832,13 @@ void AddSeparator() => AddLabel(new ListLabel
822832 }
823833 else
824834 {
825- index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) ;
835+ if ( trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) > 0 )
836+ index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "V" ) , index ) ;
837+ else
838+ index = trainBrakeStatus . IndexOf ( Viewer . Catalog . GetString ( "BC" ) ) ;
839+
826840 brakeInfoValue = trainBrakeStatus . Substring ( index , trainBrakeStatus . Length - index ) . TrimEnd ( ) ;
841+ brakeInfoValue = brakeInfoValue . StartsWith ( Viewer . Catalog . GetString ( "V" ) ) ? brakeInfoValue . Replace ( Viewer . Catalog . GetString ( "V" ) , Viewer . Catalog . GetString ( "V" ) + " " ) : brakeInfoValue ;
827842 AddLabel ( new ListLabel
828843 {
829844 LastCol = brakeInfoValue ,
0 commit comments