列车控制室相关

This commit is contained in:
joylink_zhaoerwei 2024-03-15 16:40:26 +08:00
parent 29c7ca5906
commit 6dff8221d5

View File

@ -8,19 +8,15 @@ message TccGraphicStorage {
graphicData.Canvas canvas = 1;
repeated TccButton tccButtons = 2;
repeated TccText tccTexts = 3;
}
enum TccElementColor {
green = 0;
red = 1;
repeated TccKey tccKeys = 4;
repeated TccHandle tccHandles = 5;
}
/** TCC按钮 */
message TccButton {
graphicData.CommonInfo common = 1;
string code = 2;
TccElementColor buttonColor = 3;
bool isSelfReset = 4;
bool isSelfReset = 3;
}
/** TCC文字 */
@ -31,3 +27,21 @@ message TccText {
string color = 4;
int32 fontSize = 5;
}
/** TCC钥匙 */
message TccKey {
enum TccKeyType {
driverControllerActivationClint = 0; //
frontAndRearDirectionalControl = 1;//
}
graphicData.CommonInfo common = 1;
string code = 2;
TccKeyType type = 3;
}
/** TCC手柄 */
message TccHandle {
graphicData.CommonInfo common = 1;
string code = 2;
}