rts-sim-testing-service/dto/data_proto/pslGraphics.pb.go

641 lines
22 KiB
Go
Raw Permalink Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2024-01-16 17:53:54 +08:00
// protoc-gen-go v1.32.0
// protoc v4.23.1
// source: pslGraphics.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 PslElementColor int32
const (
PslElementColor_red PslElementColor = 0
PslElementColor_green PslElementColor = 1
PslElementColor_blue PslElementColor = 2
)
// Enum value maps for PslElementColor.
var (
PslElementColor_name = map[int32]string{
0: "red",
1: "green",
2: "blue",
}
PslElementColor_value = map[string]int32{
"red": 0,
"green": 1,
"blue": 2,
}
)
func (x PslElementColor) Enum() *PslElementColor {
p := new(PslElementColor)
*p = x
return p
}
func (x PslElementColor) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PslElementColor) Descriptor() protoreflect.EnumDescriptor {
return file_pslGraphics_proto_enumTypes[0].Descriptor()
}
func (PslElementColor) Type() protoreflect.EnumType {
return &file_pslGraphics_proto_enumTypes[0]
}
func (x PslElementColor) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use PslElementColor.Descriptor instead.
func (PslElementColor) EnumDescriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{0}
}
type PslGraphicStorage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-10-13 16:35:44 +08:00
Canvas *Canvas `protobuf:"bytes,1,opt,name=canvas,proto3" json:"canvas,omitempty"`
PslLights []*PslLight `protobuf:"bytes,2,rep,name=pslLights,proto3" json:"pslLights,omitempty"` // psl圆形灯
PslButtons []*PslButton `protobuf:"bytes,3,rep,name=pslButtons,proto3" json:"pslButtons,omitempty"`
PslKeys []*PslKey `protobuf:"bytes,4,rep,name=pslKeys,proto3" json:"pslKeys,omitempty"`
PslTexts []*PslText `protobuf:"bytes,5,rep,name=pslTexts,proto3" json:"pslTexts,omitempty"`
GatedRelateDeviceList []*DeviceCombinationtype `protobuf:"bytes,6,rep,name=gatedRelateDeviceList,proto3" json:"gatedRelateDeviceList,omitempty"`
}
func (x *PslGraphicStorage) Reset() {
*x = PslGraphicStorage{}
if protoimpl.UnsafeEnabled {
mi := &file_pslGraphics_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PslGraphicStorage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PslGraphicStorage) ProtoMessage() {}
func (x *PslGraphicStorage) ProtoReflect() protoreflect.Message {
mi := &file_pslGraphics_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 PslGraphicStorage.ProtoReflect.Descriptor instead.
func (*PslGraphicStorage) Descriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{0}
}
func (x *PslGraphicStorage) GetCanvas() *Canvas {
if x != nil {
return x.Canvas
}
return nil
}
func (x *PslGraphicStorage) GetPslLights() []*PslLight {
if x != nil {
return x.PslLights
}
return nil
}
func (x *PslGraphicStorage) GetPslButtons() []*PslButton {
if x != nil {
return x.PslButtons
}
return nil
}
func (x *PslGraphicStorage) GetPslKeys() []*PslKey {
if x != nil {
return x.PslKeys
}
return nil
}
2023-10-13 15:24:44 +08:00
func (x *PslGraphicStorage) GetPslTexts() []*PslText {
if x != nil {
return x.PslTexts
}
return nil
}
2023-10-13 16:35:44 +08:00
func (x *PslGraphicStorage) GetGatedRelateDeviceList() []*DeviceCombinationtype {
2023-10-13 15:24:44 +08:00
if x != nil {
return x.GatedRelateDeviceList
}
return nil
}
// PSL圆形灯
type PslLight struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-10-13 15:24:44 +08:00
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
// string topAnnotation = 3;
LightColor PslElementColor `protobuf:"varint,4,opt,name=lightColor,proto3,enum=pslGraphicData.PslElementColor" json:"lightColor,omitempty"`
}
func (x *PslLight) Reset() {
*x = PslLight{}
if protoimpl.UnsafeEnabled {
mi := &file_pslGraphics_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PslLight) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PslLight) ProtoMessage() {}
func (x *PslLight) ProtoReflect() protoreflect.Message {
mi := &file_pslGraphics_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 PslLight.ProtoReflect.Descriptor instead.
func (*PslLight) Descriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{1}
}
func (x *PslLight) GetCommon() *CommonInfo {
if x != nil {
return x.Common
}
return nil
}
func (x *PslLight) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
func (x *PslLight) GetLightColor() PslElementColor {
if x != nil {
return x.LightColor
}
return PslElementColor_red
}
// * PSL按钮
type PslButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-10-13 15:24:44 +08:00
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
// string topAnnotation = 3;
ButtonColor PslElementColor `protobuf:"varint,4,opt,name=buttonColor,proto3,enum=pslGraphicData.PslElementColor" json:"buttonColor,omitempty"`
IsSelfReset bool `protobuf:"varint,5,opt,name=isSelfReset,proto3" json:"isSelfReset,omitempty"`
}
func (x *PslButton) Reset() {
*x = PslButton{}
if protoimpl.UnsafeEnabled {
mi := &file_pslGraphics_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PslButton) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PslButton) ProtoMessage() {}
func (x *PslButton) ProtoReflect() protoreflect.Message {
mi := &file_pslGraphics_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 PslButton.ProtoReflect.Descriptor instead.
func (*PslButton) Descriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{2}
}
func (x *PslButton) GetCommon() *CommonInfo {
if x != nil {
return x.Common
}
return nil
}
func (x *PslButton) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
func (x *PslButton) GetButtonColor() PslElementColor {
if x != nil {
return x.ButtonColor
}
return PslElementColor_red
}
func (x *PslButton) GetIsSelfReset() bool {
if x != nil {
return x.IsSelfReset
}
return false
}
// * PSL钥匙
type PslKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-10-13 15:24:44 +08:00
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 *PslKey) Reset() {
*x = PslKey{}
if protoimpl.UnsafeEnabled {
mi := &file_pslGraphics_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PslKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PslKey) ProtoMessage() {}
func (x *PslKey) ProtoReflect() protoreflect.Message {
mi := &file_pslGraphics_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 PslKey.ProtoReflect.Descriptor instead.
func (*PslKey) Descriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{3}
}
func (x *PslKey) GetCommon() *CommonInfo {
if x != nil {
return x.Common
}
return nil
}
func (x *PslKey) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
2023-10-13 15:24:44 +08:00
// * psl文字
type PslText 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 *PslText) Reset() {
*x = PslText{}
if protoimpl.UnsafeEnabled {
mi := &file_pslGraphics_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PslText) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PslText) ProtoMessage() {}
func (x *PslText) ProtoReflect() protoreflect.Message {
mi := &file_pslGraphics_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 PslText.ProtoReflect.Descriptor instead.
func (*PslText) Descriptor() ([]byte, []int) {
return file_pslGraphics_proto_rawDescGZIP(), []int{4}
}
func (x *PslText) GetCommon() *CommonInfo {
if x != nil {
return x.Common
}
return nil
}
func (x *PslText) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
func (x *PslText) GetContent() string {
if x != nil {
2023-10-13 15:24:44 +08:00
return x.Content
}
return ""
}
2023-10-13 15:24:44 +08:00
func (x *PslText) GetColor() string {
if x != nil {
2023-10-13 15:24:44 +08:00
return x.Color
}
return ""
}
2023-10-13 15:24:44 +08:00
func (x *PslText) GetFontSize() int32 {
if x != nil {
return x.FontSize
}
return 0
}
var File_pslGraphics_proto protoreflect.FileDescriptor
var file_pslGraphics_proto_rawDesc = []byte{
0x0a, 0x11, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x73, 0x6c, 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,
2023-10-13 16:35:44 +08:00
0x22, 0xf4, 0x02, 0x0a, 0x11, 0x50, 0x73, 0x6c, 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, 0x36, 0x0a, 0x09, 0x70, 0x73, 0x6c, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70,
0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x73, 0x6c, 0x4c, 0x69, 0x67, 0x68, 0x74,
0x52, 0x09, 0x70, 0x73, 0x6c, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70,
0x73, 0x6c, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61,
0x2e, 0x50, 0x73, 0x6c, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x73, 0x6c, 0x42,
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x70, 0x73, 0x6c, 0x4b, 0x65, 0x79,
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61,
0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x73, 0x6c, 0x4b, 0x65, 0x79, 0x52,
2023-10-13 15:24:44 +08:00
0x07, 0x70, 0x73, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x73, 0x6c, 0x54,
0x65, 0x78, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x73, 0x6c,
0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x73, 0x6c, 0x54,
2023-10-13 16:35:44 +08:00
0x65, 0x78, 0x74, 0x52, 0x08, 0x70, 0x73, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x73, 0x12, 0x58, 0x0a,
2023-10-13 15:24:44 +08:00
0x15, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69,
2023-10-13 16:35:44 +08:00
0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67,
0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63,
0x65, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x79, 0x70, 0x65,
0x52, 0x15, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76,
0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x08, 0x50, 0x73, 0x6c, 0x4c,
0x69, 0x67, 0x68, 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, 0x3f, 0x0a, 0x0a, 0x6c, 0x69, 0x67,
0x68, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e,
0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50,
0x73, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x0a,
0x6c, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0xb5, 0x01, 0x0a, 0x09, 0x50,
2023-10-13 16:35:44 +08:00
0x73, 0x6c, 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, 0x41, 0x0a,
0x0b, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44,
0x61, 0x74, 0x61, 0x2e, 0x50, 0x73, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f,
0x6c, 0x6f, 0x72, 0x52, 0x0b, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x65, 0x74, 0x18,
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73,
0x65, 0x74, 0x22, 0x4d, 0x0a, 0x06, 0x50, 0x73, 0x6c, 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, 0x22, 0x9a, 0x01, 0x0a, 0x07, 0x50, 0x73, 0x6c, 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, 0x2a, 0x2f,
0x0a, 0x0f, 0x50, 0x73, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f,
0x72, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x67, 0x72,
0x65, 0x65, 0x6e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x10, 0x02, 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_pslGraphics_proto_rawDescOnce sync.Once
file_pslGraphics_proto_rawDescData = file_pslGraphics_proto_rawDesc
)
func file_pslGraphics_proto_rawDescGZIP() []byte {
file_pslGraphics_proto_rawDescOnce.Do(func() {
file_pslGraphics_proto_rawDescData = protoimpl.X.CompressGZIP(file_pslGraphics_proto_rawDescData)
})
return file_pslGraphics_proto_rawDescData
}
var file_pslGraphics_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
2023-10-13 16:35:44 +08:00
var file_pslGraphics_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_pslGraphics_proto_goTypes = []interface{}{
2023-10-13 15:24:44 +08:00
(PslElementColor)(0), // 0: pslGraphicData.PslElementColor
(*PslGraphicStorage)(nil), // 1: pslGraphicData.PslGraphicStorage
(*PslLight)(nil), // 2: pslGraphicData.PslLight
(*PslButton)(nil), // 3: pslGraphicData.PslButton
(*PslKey)(nil), // 4: pslGraphicData.PslKey
(*PslText)(nil), // 5: pslGraphicData.PslText
2023-10-13 16:35:44 +08:00
(*Canvas)(nil), // 6: graphicData.Canvas
(*DeviceCombinationtype)(nil), // 7: graphicData.DeviceCombinationtype
2023-10-13 15:24:44 +08:00
(*CommonInfo)(nil), // 8: graphicData.CommonInfo
}
var file_pslGraphics_proto_depIdxs = []int32{
2023-10-13 16:35:44 +08:00
6, // 0: pslGraphicData.PslGraphicStorage.canvas:type_name -> graphicData.Canvas
2023-10-13 15:24:44 +08:00
2, // 1: pslGraphicData.PslGraphicStorage.pslLights:type_name -> pslGraphicData.PslLight
3, // 2: pslGraphicData.PslGraphicStorage.pslButtons:type_name -> pslGraphicData.PslButton
4, // 3: pslGraphicData.PslGraphicStorage.pslKeys:type_name -> pslGraphicData.PslKey
5, // 4: pslGraphicData.PslGraphicStorage.pslTexts:type_name -> pslGraphicData.PslText
2023-10-13 16:35:44 +08:00
7, // 5: pslGraphicData.PslGraphicStorage.gatedRelateDeviceList:type_name -> graphicData.DeviceCombinationtype
2023-10-13 15:24:44 +08:00
8, // 6: pslGraphicData.PslLight.common:type_name -> graphicData.CommonInfo
0, // 7: pslGraphicData.PslLight.lightColor:type_name -> pslGraphicData.PslElementColor
8, // 8: pslGraphicData.PslButton.common:type_name -> graphicData.CommonInfo
0, // 9: pslGraphicData.PslButton.buttonColor:type_name -> pslGraphicData.PslElementColor
8, // 10: pslGraphicData.PslKey.common:type_name -> graphicData.CommonInfo
8, // 11: pslGraphicData.PslText.common:type_name -> graphicData.CommonInfo
2023-10-13 16:35:44 +08:00
12, // [12:12] is the sub-list for method output_type
12, // [12:12] is the sub-list for method input_type
12, // [12:12] is the sub-list for extension type_name
12, // [12:12] is the sub-list for extension extendee
0, // [0:12] is the sub-list for field type_name
}
func init() { file_pslGraphics_proto_init() }
func file_pslGraphics_proto_init() {
if File_pslGraphics_proto != nil {
return
}
file_stationLayoutGraphics_proto_init()
if !protoimpl.UnsafeEnabled {
file_pslGraphics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PslGraphicStorage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pslGraphics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PslLight); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pslGraphics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PslButton); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pslGraphics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PslKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-10-13 15:24:44 +08:00
file_pslGraphics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PslText); 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_pslGraphics_proto_rawDesc,
NumEnums: 1,
2023-10-13 16:35:44 +08:00
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_pslGraphics_proto_goTypes,
DependencyIndexes: file_pslGraphics_proto_depIdxs,
EnumInfos: file_pslGraphics_proto_enumTypes,
MessageInfos: file_pslGraphics_proto_msgTypes,
}.Build()
File_pslGraphics_proto = out.File
file_pslGraphics_proto_rawDesc = nil
file_pslGraphics_proto_goTypes = nil
file_pslGraphics_proto_depIdxs = nil
}