Skip to content

Commit

Permalink
Fix commented out PdiVersionCheckMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
rs22 committed Mar 13, 2024
1 parent e4e3621 commit 670a06b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Messages/Baseline4R2/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static Message FromBytes(byte[] message) {
0x0014 => AdjacentInterlockingSystemRouteReleaseInhibitionStatusMessage.FromBytes(message),
0x0016 => AdjacentInterlockingSystemAbortRouteCancellationRequestCommand.FromBytes(message),
0x0024 => AdjacentInterlockingSystemPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => AdjacentInterlockingSystemPdiVersionCheckMessage.FromBytes(message),
0x0025 => AdjacentInterlockingSystemPdiVersionCheckMessage.FromBytes(message),
0x0021 => AdjacentInterlockingSystemInitialisationRequestCommand.FromBytes(message),
0x0022 => AdjacentInterlockingSystemStartInitialisationMessage.FromBytes(message),
0x0026 => AdjacentInterlockingSystemStatusReportCompletedMessage.FromBytes(message),
Expand All @@ -54,7 +54,7 @@ public static Message FromBytes(byte[] message) {
0x0011 => TrainDetectionSystemTvpsFcPAFailedMessage.FromBytes(message),
0x000B => TrainDetectionSystemTdpStatusMessage.FromBytes(message),
0x0024 => TrainDetectionSystemPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => TrainDetectionSystemPdiVersionCheckMessage.FromBytes(message),
0x0025 => TrainDetectionSystemPdiVersionCheckMessage.FromBytes(message),
0x0021 => TrainDetectionSystemInitialisationRequestCommand.FromBytes(message),
0x0022 => TrainDetectionSystemStartInitialisationMessage.FromBytes(message),
0x0026 => TrainDetectionSystemStatusReportCompletedMessage.FromBytes(message),
Expand All @@ -70,7 +70,7 @@ public static Message FromBytes(byte[] message) {
0x0002 => LightSignalSetLuminosityCommand.FromBytes(message),
0x0004 => LightSignalSetLuminosityMessage.FromBytes(message),
0x0024 => LightSignalPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => LightSignalPdiVersionCheckMessage.FromBytes(message),
0x0025 => LightSignalPdiVersionCheckMessage.FromBytes(message),
0x0021 => LightSignalInitialisationRequestCommand.FromBytes(message),
0x0022 => LightSignalStartInitialisationMessage.FromBytes(message),
0x0026 => LightSignalStatusReportCompletedMessage.FromBytes(message),
Expand Down Expand Up @@ -102,7 +102,7 @@ public static Message FromBytes(byte[] message) {
},
ProtocolType.RadioBlockCenter => messageType switch {
0x0024 => RadioBlockCenterPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => RadioBlockCenterPdiVersionCheckMessage.FromBytes(message),
0x0025 => RadioBlockCenterPdiVersionCheckMessage.FromBytes(message),
0x0021 => RadioBlockCenterInitialisationRequestCommand.FromBytes(message),
0x0022 => RadioBlockCenterStartInitialisationMessage.FromBytes(message),
0x0026 => RadioBlockCenterStatusReportCompletedMessage.FromBytes(message),
Expand All @@ -117,7 +117,7 @@ public static Message FromBytes(byte[] message) {
ProtocolType.LevelCrossing => messageType switch {
0x0002 => LevelCrossingDeactivationCommand.FromBytes(message),
0x0024 => LevelCrossingPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => LevelCrossingPdiVersionCheckMessage.FromBytes(message),
0x0025 => LevelCrossingPdiVersionCheckMessage.FromBytes(message),
0x0021 => LevelCrossingInitialisationRequestCommand.FromBytes(message),
0x0022 => LevelCrossingStartInitialisationMessage.FromBytes(message),
0x0026 => LevelCrossingStatusReportCompletedMessage.FromBytes(message),
Expand All @@ -131,7 +131,7 @@ public static Message FromBytes(byte[] message) {
},
ProtocolType.CC => messageType switch {
0x0024 => CCPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => CCPdiVersionCheckMessage.FromBytes(message),
0x0025 => CCPdiVersionCheckMessage.FromBytes(message),
0x0021 => CCInitialisationRequestCommand.FromBytes(message),
0x0022 => CCStartInitialisationMessage.FromBytes(message),
0x0026 => CCStatusReportCompletedMessage.FromBytes(message),
Expand Down Expand Up @@ -163,7 +163,7 @@ public static Message FromBytes(byte[] message) {
ProtocolType.ExternalLevelCrossingSystem => messageType switch {
0x0007 => ExternalLevelCrossingSystemCrossingClearCommand.FromBytes(message),
0x0024 => ExternalLevelCrossingSystemPdiVersionCheckCommand.FromBytes(message),
// 0x0025 => ExternalLevelCrossingSystemPdiVersionCheckMessage.FromBytes(message),
0x0025 => ExternalLevelCrossingSystemPdiVersionCheckMessage.FromBytes(message),
0x0021 => ExternalLevelCrossingSystemInitialisationRequestCommand.FromBytes(message),
0x0022 => ExternalLevelCrossingSystemStartInitialisationMessage.FromBytes(message),
0x0026 => ExternalLevelCrossingSystemStatusReportCompletedMessage.FromBytes(message),
Expand Down

0 comments on commit 670a06b

Please sign in to comment.