2024-03-14 17:59:49 +08:00
|
|
|
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;
|
2024-03-15 16:40:26 +08:00
|
|
|
repeated TccKey tccKeys = 4;
|
|
|
|
repeated TccHandle tccHandles = 5;
|
2024-03-14 17:59:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/** TCC按钮 */
|
|
|
|
message TccButton {
|
|
|
|
graphicData.CommonInfo common = 1;
|
|
|
|
string code = 2;
|
2024-03-15 16:40:26 +08:00
|
|
|
bool isSelfReset = 3;
|
2024-03-14 17:59:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/** TCC文字 */
|
|
|
|
message TccText {
|
|
|
|
graphicData.CommonInfo common = 1;
|
|
|
|
string code = 2;
|
|
|
|
string content = 3;
|
|
|
|
string color = 4;
|
|
|
|
int32 fontSize = 5;
|
|
|
|
}
|
2024-03-15 16:40:26 +08:00
|
|
|
|
|
|
|
/** TCC钥匙 */
|
|
|
|
message TccKey {
|
2024-03-19 14:19:44 +08:00
|
|
|
enum TccKeyType {
|
|
|
|
driverControllerActivationClint = 0; //司控器激活端
|
|
|
|
frontAndRearDirectionalControl = 1;//前后方向控制
|
|
|
|
}
|
2024-03-15 16:40:26 +08:00
|
|
|
graphicData.CommonInfo common = 1;
|
|
|
|
string code = 2;
|
|
|
|
TccKeyType type = 3;
|
|
|
|
}
|
2024-03-19 14:19:44 +08:00
|
|
|
|
2024-03-15 16:40:26 +08:00
|
|
|
/** TCC手柄 */
|
|
|
|
message TccHandle {
|
|
|
|
graphicData.CommonInfo common = 1;
|
|
|
|
string code = 2;
|
|
|
|
}
|