608 lines
20 KiB
Go
608 lines
20 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.32.0
|
||
|
// protoc v4.23.1
|
||
|
// source: tccGraphics.proto
|
||
|
|
||
|
package data_proto
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type TccKeyType int32
|
||
|
|
||
|
const (
|
||
|
TccKeyType_driverControllerActivationClint TccKeyType = 0 //司控器激活端
|
||
|
TccKeyType_frontAndRearDirectionalControl TccKeyType = 1 //前后方向控制
|
||
|
)
|
||
|
|
||
|
// Enum value maps for TccKeyType.
|
||
|
var (
|
||
|
TccKeyType_name = map[int32]string{
|
||
|
0: "driverControllerActivationClint",
|
||
|
1: "frontAndRearDirectionalControl",
|
||
|
}
|
||
|
TccKeyType_value = map[string]int32{
|
||
|
"driverControllerActivationClint": 0,
|
||
|
"frontAndRearDirectionalControl": 1,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x TccKeyType) Enum() *TccKeyType {
|
||
|
p := new(TccKeyType)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x TccKeyType) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (TccKeyType) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_tccGraphics_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (TccKeyType) Type() protoreflect.EnumType {
|
||
|
return &file_tccGraphics_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x TccKeyType) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccKeyType.Descriptor instead.
|
||
|
func (TccKeyType) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type TccGraphicStorage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Canvas *Canvas `protobuf:"bytes,1,opt,name=canvas,proto3" json:"canvas,omitempty"`
|
||
|
TccButtons []*TccButton `protobuf:"bytes,2,rep,name=tccButtons,proto3" json:"tccButtons,omitempty"`
|
||
|
TccTexts []*TccText `protobuf:"bytes,3,rep,name=tccTexts,proto3" json:"tccTexts,omitempty"`
|
||
|
TccKeys []*TccKey `protobuf:"bytes,4,rep,name=tccKeys,proto3" json:"tccKeys,omitempty"`
|
||
|
TccHandles []*TccHandle `protobuf:"bytes,5,rep,name=tccHandles,proto3" json:"tccHandles,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) Reset() {
|
||
|
*x = TccGraphicStorage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TccGraphicStorage) ProtoMessage() {}
|
||
|
|
||
|
func (x *TccGraphicStorage) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccGraphicStorage.ProtoReflect.Descriptor instead.
|
||
|
func (*TccGraphicStorage) Descriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) GetCanvas() *Canvas {
|
||
|
if x != nil {
|
||
|
return x.Canvas
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) GetTccButtons() []*TccButton {
|
||
|
if x != nil {
|
||
|
return x.TccButtons
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) GetTccTexts() []*TccText {
|
||
|
if x != nil {
|
||
|
return x.TccTexts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) GetTccKeys() []*TccKey {
|
||
|
if x != nil {
|
||
|
return x.TccKeys
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccGraphicStorage) GetTccHandles() []*TccHandle {
|
||
|
if x != nil {
|
||
|
return x.TccHandles
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// * TCC按钮
|
||
|
type TccButton struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
||
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
IsSelfReset bool `protobuf:"varint,3,opt,name=isSelfReset,proto3" json:"isSelfReset,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TccButton) Reset() {
|
||
|
*x = TccButton{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TccButton) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TccButton) ProtoMessage() {}
|
||
|
|
||
|
func (x *TccButton) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccButton.ProtoReflect.Descriptor instead.
|
||
|
func (*TccButton) Descriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *TccButton) GetCommon() *CommonInfo {
|
||
|
if x != nil {
|
||
|
return x.Common
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccButton) GetCode() string {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TccButton) GetIsSelfReset() bool {
|
||
|
if x != nil {
|
||
|
return x.IsSelfReset
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// * TCC文字
|
||
|
type TccText struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
||
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
|
||
|
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
||
|
FontSize int32 `protobuf:"varint,5,opt,name=fontSize,proto3" json:"fontSize,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TccText) Reset() {
|
||
|
*x = TccText{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TccText) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TccText) ProtoMessage() {}
|
||
|
|
||
|
func (x *TccText) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccText.ProtoReflect.Descriptor instead.
|
||
|
func (*TccText) Descriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *TccText) GetCommon() *CommonInfo {
|
||
|
if x != nil {
|
||
|
return x.Common
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccText) GetCode() string {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TccText) GetContent() string {
|
||
|
if x != nil {
|
||
|
return x.Content
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TccText) GetColor() string {
|
||
|
if x != nil {
|
||
|
return x.Color
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TccText) GetFontSize() int32 {
|
||
|
if x != nil {
|
||
|
return x.FontSize
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
// * TCC钥匙
|
||
|
type TccKey struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
||
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
Type TccKeyType `protobuf:"varint,3,opt,name=type,proto3,enum=tccGraphicData.TccKeyType" json:"type,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TccKey) Reset() {
|
||
|
*x = TccKey{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TccKey) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TccKey) ProtoMessage() {}
|
||
|
|
||
|
func (x *TccKey) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccKey.ProtoReflect.Descriptor instead.
|
||
|
func (*TccKey) Descriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *TccKey) GetCommon() *CommonInfo {
|
||
|
if x != nil {
|
||
|
return x.Common
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccKey) GetCode() string {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TccKey) GetType() TccKeyType {
|
||
|
if x != nil {
|
||
|
return x.Type
|
||
|
}
|
||
|
return TccKeyType_driverControllerActivationClint
|
||
|
}
|
||
|
|
||
|
// * TCC手柄
|
||
|
type TccHandle struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
||
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TccHandle) Reset() {
|
||
|
*x = TccHandle{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TccHandle) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TccHandle) ProtoMessage() {}
|
||
|
|
||
|
func (x *TccHandle) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_tccGraphics_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TccHandle.ProtoReflect.Descriptor instead.
|
||
|
func (*TccHandle) Descriptor() ([]byte, []int) {
|
||
|
return file_tccGraphics_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *TccHandle) GetCommon() *CommonInfo {
|
||
|
if x != nil {
|
||
|
return x.Common
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TccHandle) GetCode() string {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
var File_tccGraphics_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_tccGraphics_proto_rawDesc = []byte{
|
||
|
0x0a, 0x11, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44,
|
||
|
0x61, 0x74, 0x61, 0x1a, 0x1b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x79, 0x6f,
|
||
|
0x75, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x22, 0x9d, 0x02, 0x0a, 0x11, 0x54, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x53,
|
||
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63,
|
||
|
0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x52, 0x06, 0x63, 0x61, 0x6e,
|
||
|
0x76, 0x61, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x74, 0x63, 0x63, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e,
|
||
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61,
|
||
|
0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x63, 0x63, 0x42, 0x75, 0x74, 0x74,
|
||
|
0x6f, 0x6e, 0x52, 0x0a, 0x74, 0x63, 0x63, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x12, 0x33,
|
||
|
0x0a, 0x08, 0x74, 0x63, 0x63, 0x54, 0x65, 0x78, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
||
|
0x32, 0x17, 0x2e, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74,
|
||
|
0x61, 0x2e, 0x54, 0x63, 0x63, 0x54, 0x65, 0x78, 0x74, 0x52, 0x08, 0x74, 0x63, 0x63, 0x54, 0x65,
|
||
|
0x78, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x74, 0x63, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x04,
|
||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69,
|
||
|
0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x63, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x74, 0x63,
|
||
|
0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x74, 0x63, 0x63, 0x48, 0x61, 0x6e, 0x64,
|
||
|
0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x63, 0x63, 0x47,
|
||
|
0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x63, 0x63, 0x48, 0x61,
|
||
|
0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0a, 0x74, 0x63, 0x63, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x73,
|
||
|
0x22, 0x72, 0x0a, 0x09, 0x54, 0x63, 0x63, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x2f, 0x0a,
|
||
|
0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||
|
0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
||
|
0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12,
|
||
|
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f,
|
||
|
0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x65,
|
||
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52,
|
||
|
0x65, 0x73, 0x65, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x07, 0x54, 0x63, 0x63, 0x54, 0x65, 0x78, 0x74,
|
||
|
0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||
|
0x32, 0x17, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43,
|
||
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
||
|
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
|
||
|
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||
|
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a,
|
||
|
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a,
|
||
|
0x65, 0x22, 0x7d, 0x0a, 0x06, 0x54, 0x63, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x06, 0x63,
|
||
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72,
|
||
|
0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
||
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
|
||
|
0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
||
|
0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a,
|
||
|
0x2e, 0x74, 0x63, 0x63, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e,
|
||
|
0x54, 0x63, 0x63, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||
|
0x22, 0x50, 0x0a, 0x09, 0x54, 0x63, 0x63, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x2f, 0x0a,
|
||
|
0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||
|
0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
||
|
0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12,
|
||
|
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f,
|
||
|
0x64, 0x65, 0x2a, 0x55, 0x0a, 0x0a, 0x54, 0x63, 0x63, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65,
|
||
|
0x12, 0x23, 0x0a, 0x1f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
|
||
|
0x6c, 0x6c, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c,
|
||
|
0x69, 0x6e, 0x74, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x41, 0x6e,
|
||
|
0x64, 0x52, 0x65, 0x61, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
|
||
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x10, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 0x6a, 0x6f, 0x79,
|
||
|
0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x63, 0x6c, 0x75, 0x62, 0x2f, 0x62, 0x6a, 0x2d, 0x72, 0x74, 0x73,
|
||
|
0x74, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x64, 0x61,
|
||
|
0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_tccGraphics_proto_rawDescOnce sync.Once
|
||
|
file_tccGraphics_proto_rawDescData = file_tccGraphics_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_tccGraphics_proto_rawDescGZIP() []byte {
|
||
|
file_tccGraphics_proto_rawDescOnce.Do(func() {
|
||
|
file_tccGraphics_proto_rawDescData = protoimpl.X.CompressGZIP(file_tccGraphics_proto_rawDescData)
|
||
|
})
|
||
|
return file_tccGraphics_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_tccGraphics_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_tccGraphics_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||
|
var file_tccGraphics_proto_goTypes = []interface{}{
|
||
|
(TccKeyType)(0), // 0: tccGraphicData.TccKeyType
|
||
|
(*TccGraphicStorage)(nil), // 1: tccGraphicData.TccGraphicStorage
|
||
|
(*TccButton)(nil), // 2: tccGraphicData.TccButton
|
||
|
(*TccText)(nil), // 3: tccGraphicData.TccText
|
||
|
(*TccKey)(nil), // 4: tccGraphicData.TccKey
|
||
|
(*TccHandle)(nil), // 5: tccGraphicData.TccHandle
|
||
|
(*Canvas)(nil), // 6: graphicData.Canvas
|
||
|
(*CommonInfo)(nil), // 7: graphicData.CommonInfo
|
||
|
}
|
||
|
var file_tccGraphics_proto_depIdxs = []int32{
|
||
|
6, // 0: tccGraphicData.TccGraphicStorage.canvas:type_name -> graphicData.Canvas
|
||
|
2, // 1: tccGraphicData.TccGraphicStorage.tccButtons:type_name -> tccGraphicData.TccButton
|
||
|
3, // 2: tccGraphicData.TccGraphicStorage.tccTexts:type_name -> tccGraphicData.TccText
|
||
|
4, // 3: tccGraphicData.TccGraphicStorage.tccKeys:type_name -> tccGraphicData.TccKey
|
||
|
5, // 4: tccGraphicData.TccGraphicStorage.tccHandles:type_name -> tccGraphicData.TccHandle
|
||
|
7, // 5: tccGraphicData.TccButton.common:type_name -> graphicData.CommonInfo
|
||
|
7, // 6: tccGraphicData.TccText.common:type_name -> graphicData.CommonInfo
|
||
|
7, // 7: tccGraphicData.TccKey.common:type_name -> graphicData.CommonInfo
|
||
|
0, // 8: tccGraphicData.TccKey.type:type_name -> tccGraphicData.TccKeyType
|
||
|
7, // 9: tccGraphicData.TccHandle.common:type_name -> graphicData.CommonInfo
|
||
|
10, // [10:10] is the sub-list for method output_type
|
||
|
10, // [10:10] is the sub-list for method input_type
|
||
|
10, // [10:10] is the sub-list for extension type_name
|
||
|
10, // [10:10] is the sub-list for extension extendee
|
||
|
0, // [0:10] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_tccGraphics_proto_init() }
|
||
|
func file_tccGraphics_proto_init() {
|
||
|
if File_tccGraphics_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
file_stationLayoutGraphics_proto_init()
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_tccGraphics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TccGraphicStorage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_tccGraphics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TccButton); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_tccGraphics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TccText); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_tccGraphics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TccKey); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_tccGraphics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TccHandle); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_tccGraphics_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 5,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_tccGraphics_proto_goTypes,
|
||
|
DependencyIndexes: file_tccGraphics_proto_depIdxs,
|
||
|
EnumInfos: file_tccGraphics_proto_enumTypes,
|
||
|
MessageInfos: file_tccGraphics_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_tccGraphics_proto = out.File
|
||
|
file_tccGraphics_proto_rawDesc = nil
|
||
|
file_tccGraphics_proto_goTypes = nil
|
||
|
file_tccGraphics_proto_depIdxs = nil
|
||
|
}
|