增加列车驾驶台图
This commit is contained in:
parent
225f92b91c
commit
c92814fcf2
@ -13,4 +13,6 @@ enum PictureType {
|
||||
IBP = 3;
|
||||
/** 列车数据 */
|
||||
TrainData = 4;
|
||||
/** 列车驾驶台 */
|
||||
TrainControlCab = 5;
|
||||
}
|
||||
|
33
protos/tccGraphics.proto
Normal file
33
protos/tccGraphics.proto
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user