ncc协议x

This commit is contained in:
xzb 2023-06-09 11:07:27 +08:00
parent 1d1190bba0
commit 824b50bf3b

View File

@ -9,6 +9,8 @@ message Rtu{
bool ipRtuStusInLocalCtrl = 2; bool ipRtuStusInLocalCtrl = 2;
bool ipRtuStusInCentralCtrl = 3; bool ipRtuStusInCentralCtrl = 3;
bool ipRtuStusInEmergencyCtrl = 4; bool ipRtuStusInEmergencyCtrl = 4;
//
string id = 6;
} }
message Station{ message Station{
@ -36,6 +38,8 @@ message Station{
bool ipStaStusExpectCycle4 = 22; bool ipStaStusExpectCycle4 = 22;
bool ipStaStusExpectCycle5 = 23; bool ipStaStusExpectCycle5 = 23;
bool ipStaStusExpectCycle6 = 24; bool ipStaStusExpectCycle6 = 24;
//
string id = 25;
} }
message Signal{ message Signal{
@ -62,12 +66,16 @@ message Signal{
bool yellowGreen = 21; bool yellowGreen = 21;
bool blocked = 22; bool blocked = 22;
bool lampFailure = 23; bool lampFailure = 23;
//
string id = 24;
} }
message Entry{ message Entry{
bool dirLeft = 1; bool dirLeft = 1;
bool dirRight = 2; bool dirRight = 2;
bool dirLocked = 3; bool dirLocked = 3;
//
string id = 4;
} }
message Switch{ message Switch{
@ -98,6 +106,8 @@ message Switch{
bool ipSingleSwitchStusTsrBmReverse = 25; bool ipSingleSwitchStusTsrBmReverse = 25;
bool ipSingleSwitchStusBlocked2 = 26; bool ipSingleSwitchStusBlocked2 = 26;
bool ipSingleSwitchStusLostIndication = 27; bool ipSingleSwitchStusLostIndication = 27;
//
string id = 28;
} }
message Track{ message Track{
@ -112,6 +122,8 @@ message Track{
bool atcInvalid = 9; bool atcInvalid = 9;
bool overlap = 10; bool overlap = 10;
bool blocked = 11; bool blocked = 11;
//
string id = 12;
} }
message Platform{ message Platform{
@ -128,12 +140,16 @@ message Platform{
bool downSkipstop = 11; bool downSkipstop = 11;
bool upTrainSkipstop = 12; bool upTrainSkipstop = 12;
bool downTrainSkipstop = 13; bool downTrainSkipstop = 13;
//
string id = 14;
} }
message Scada{ message Scada{
bool scadaOn = 1; bool scadaOn = 1;
bool scadaSinglePower = 2; bool scadaSinglePower = 2;
bool scadaUnkown = 3; bool scadaUnkown = 3;
//
string id = 4;
} }
message WaterProofDoor{ message WaterProofDoor{
@ -142,14 +158,20 @@ message WaterProofDoor{
bool doorAgreeClosed = 3; bool doorAgreeClosed = 3;
bool doorClosing = 4; bool doorClosing = 4;
bool doorOpenLock = 5; bool doorOpenLock = 5;
//
string id = 6;
} }
message WorkArea{ message WorkArea{
bool ipStusWorkAreaEnable = 1; bool ipStusWorkAreaEnable = 1;
//
string id = 2;
} }
message Gama{ message Gama{
bool ipStusGamaDisable = 1; bool ipStusGamaDisable = 1;
//
string id = 2;
} }
message TrainMode{ message TrainMode{
@ -187,4 +209,6 @@ message TrainMode{
bool ipModeTrainDriveBlockCm = 32; bool ipModeTrainDriveBlockCm = 32;
bool ipModeTrainDriveModeRmr = 33; bool ipModeTrainDriveModeRmr = 33;
bool ipModeTrainDriveModeWash = 34; bool ipModeTrainDriveModeWash = 34;
//
string id = 35;
} }