48 lines
980 B
Protocol Buffer
48 lines
980 B
Protocol Buffer
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;
|
|
repeated TccKey tccKeys = 4;
|
|
repeated TccHandle tccHandles = 5;
|
|
}
|
|
|
|
/** TCC按钮 */
|
|
message TccButton {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
bool isSelfReset = 3;
|
|
}
|
|
|
|
/** TCC文字 */
|
|
message TccText {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
string content = 3;
|
|
string color = 4;
|
|
int32 fontSize = 5;
|
|
}
|
|
|
|
/** TCC钥匙 */
|
|
message TccKey {
|
|
|
|
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
TccKeyType type = 3;
|
|
}
|
|
enum TccKeyType {
|
|
driverControllerActivationClint = 0; //司控器激活端
|
|
frontAndRearDirectionalControl = 1;//前后方向控制
|
|
}
|
|
/** TCC手柄 */
|
|
message TccHandle {
|
|
graphicData.CommonInfo common = 1;
|
|
string code = 2;
|
|
}
|