Merge remote-tracking branch 'origin/master'

This commit is contained in:
tiger_zhou 2024-03-15 16:04:30 +08:00
commit 29c7ca5906
2 changed files with 35 additions and 0 deletions

View File

@ -13,4 +13,6 @@ enum PictureType {
IBP = 3; IBP = 3;
/** 列车数据 */ /** 列车数据 */
TrainData = 4; TrainData = 4;
/** 列车驾驶台 */
TrainControlCab = 5;
} }

33
protos/tccGraphics.proto Normal file
View File

@ -0,0 +1,33 @@
syntax = "proto3";
import "stationLayoutGraphics.proto";
package tccGraphicData;
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message TccGraphicStorage {
graphicData.Canvas canvas = 1;
repeated TccButton tccButtons = 2;
repeated TccText tccTexts = 3;
}
enum TccElementColor {
green = 0;
red = 1;
}
/** TCC按钮 */
message TccButton {
graphicData.CommonInfo common = 1;
string code = 2;
TccElementColor buttonColor = 3;
bool isSelfReset = 4;
}
/** TCC文字 */
message TccText {
graphicData.CommonInfo common = 1;
string code = 2;
string content = 3;
string color = 4;
int32 fontSize = 5;
}