2023-10-13 15:57:09 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-10-19 17:53:08 +08:00
|
|
|
// protoc-gen-go v1.31.0
|
2023-10-13 15:57:09 +08:00
|
|
|
// protoc v4.23.1
|
|
|
|
// source: ibpGraphics.proto
|
|
|
|
|
|
|
|
package graphicData
|
|
|
|
|
|
|
|
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 IBPButton_IbpButtonColor int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
IBPButton_gray IBPButton_IbpButtonColor = 0
|
|
|
|
IBPButton_red IBPButton_IbpButtonColor = 1
|
|
|
|
IBPButton_green IBPButton_IbpButtonColor = 2
|
|
|
|
IBPButton_blue IBPButton_IbpButtonColor = 3
|
|
|
|
IBPButton_yellow IBPButton_IbpButtonColor = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for IBPButton_IbpButtonColor.
|
|
|
|
var (
|
|
|
|
IBPButton_IbpButtonColor_name = map[int32]string{
|
|
|
|
0: "gray",
|
|
|
|
1: "red",
|
|
|
|
2: "green",
|
|
|
|
3: "blue",
|
|
|
|
4: "yellow",
|
|
|
|
}
|
|
|
|
IBPButton_IbpButtonColor_value = map[string]int32{
|
|
|
|
"gray": 0,
|
|
|
|
"red": 1,
|
|
|
|
"green": 2,
|
|
|
|
"blue": 3,
|
|
|
|
"yellow": 4,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x IBPButton_IbpButtonColor) Enum() *IBPButton_IbpButtonColor {
|
|
|
|
p := new(IBPButton_IbpButtonColor)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x IBPButton_IbpButtonColor) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (IBPButton_IbpButtonColor) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_ibpGraphics_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (IBPButton_IbpButtonColor) Type() protoreflect.EnumType {
|
|
|
|
return &file_ibpGraphics_proto_enumTypes[0]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x IBPButton_IbpButtonColor) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use IBPButton_IbpButtonColor.Descriptor instead.
|
|
|
|
func (IBPButton_IbpButtonColor) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{1, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpLight_IbpLightColor int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
IbpLight_white IbpLight_IbpLightColor = 0
|
|
|
|
IbpLight_red IbpLight_IbpLightColor = 1
|
|
|
|
IbpLight_green IbpLight_IbpLightColor = 2
|
|
|
|
IbpLight_blue IbpLight_IbpLightColor = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for IbpLight_IbpLightColor.
|
|
|
|
var (
|
|
|
|
IbpLight_IbpLightColor_name = map[int32]string{
|
|
|
|
0: "white",
|
|
|
|
1: "red",
|
|
|
|
2: "green",
|
|
|
|
3: "blue",
|
|
|
|
}
|
|
|
|
IbpLight_IbpLightColor_value = map[string]int32{
|
|
|
|
"white": 0,
|
|
|
|
"red": 1,
|
|
|
|
"green": 2,
|
|
|
|
"blue": 3,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x IbpLight_IbpLightColor) Enum() *IbpLight_IbpLightColor {
|
|
|
|
p := new(IbpLight_IbpLightColor)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x IbpLight_IbpLightColor) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (IbpLight_IbpLightColor) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_ibpGraphics_proto_enumTypes[1].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (IbpLight_IbpLightColor) Type() protoreflect.EnumType {
|
|
|
|
return &file_ibpGraphics_proto_enumTypes[1]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x IbpLight_IbpLightColor) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use IbpLight_IbpLightColor.Descriptor instead.
|
|
|
|
func (IbpLight_IbpLightColor) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{6, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
type IBPGraphicStorage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Canvas *Canvas `protobuf:"bytes,1,opt,name=canvas,proto3" json:"canvas,omitempty"`
|
|
|
|
IbpButtons []*IBPButton `protobuf:"bytes,2,rep,name=ibpButtons,proto3" json:"ibpButtons,omitempty"`
|
|
|
|
IbpAlarms []*IbpAlarm `protobuf:"bytes,3,rep,name=ibpAlarms,proto3" json:"ibpAlarms,omitempty"`
|
|
|
|
IbpKeys []*IbpKey `protobuf:"bytes,4,rep,name=ibpKeys,proto3" json:"ibpKeys,omitempty"`
|
|
|
|
IbpArrows []*IbpArrow `protobuf:"bytes,5,rep,name=ibpArrows,proto3" json:"ibpArrows,omitempty"`
|
|
|
|
IBPTexts []*IBPText `protobuf:"bytes,6,rep,name=IBPTexts,proto3" json:"IBPTexts,omitempty"`
|
|
|
|
// UniqueIdType UniqueIdPrefix = 7;
|
|
|
|
IbpRelatedDevices []*IbpRelatedDevice `protobuf:"bytes,8,rep,name=ibpRelatedDevices,proto3" json:"ibpRelatedDevices,omitempty"`
|
|
|
|
IbpLights []*IbpLight `protobuf:"bytes,9,rep,name=ibpLights,proto3" json:"ibpLights,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) Reset() {
|
|
|
|
*x = IBPGraphicStorage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IBPGraphicStorage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_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 IBPGraphicStorage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IBPGraphicStorage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetCanvas() *Canvas {
|
|
|
|
if x != nil {
|
|
|
|
return x.Canvas
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpButtons() []*IBPButton {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpButtons
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpAlarms() []*IbpAlarm {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpAlarms
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpKeys() []*IbpKey {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpKeys
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpArrows() []*IbpArrow {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpArrows
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIBPTexts() []*IBPText {
|
|
|
|
if x != nil {
|
|
|
|
return x.IBPTexts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpRelatedDevices() []*IbpRelatedDevice {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpRelatedDevices
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPGraphicStorage) GetIbpLights() []*IbpLight {
|
|
|
|
if x != nil {
|
|
|
|
return x.IbpLights
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type IBPButton 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"`
|
|
|
|
Color IBPButton_IbpButtonColor `protobuf:"varint,3,opt,name=color,proto3,enum=ibpGraphicData.IBPButton_IbpButtonColor" json:"color,omitempty"`
|
2023-10-18 14:09:36 +08:00
|
|
|
IsSelfReset bool `protobuf:"varint,4,opt,name=isSelfReset,proto3" json:"isSelfReset,omitempty"` //是否自复位
|
|
|
|
HasLight bool `protobuf:"varint,5,opt,name=hasLight,proto3" json:"hasLight,omitempty"` //是否带灯
|
2023-10-13 15:57:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) Reset() {
|
|
|
|
*x = IBPButton{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IBPButton) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IBPButton) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_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 IBPButton.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IBPButton) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) GetColor() IBPButton_IbpButtonColor {
|
|
|
|
if x != nil {
|
|
|
|
return x.Color
|
|
|
|
}
|
|
|
|
return IBPButton_gray
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPButton) GetIsSelfReset() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.IsSelfReset
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-10-18 14:09:36 +08:00
|
|
|
func (x *IBPButton) GetHasLight() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.HasLight
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-10-13 15:57:09 +08:00
|
|
|
type IBPText 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 *IBPText) Reset() {
|
|
|
|
*x = IBPText{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IBPText) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IBPText) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_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 IBPText.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IBPText) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) GetContent() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Content
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) GetColor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Color
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IBPText) GetFontSize() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FontSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpAlarm 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 *IbpAlarm) Reset() {
|
|
|
|
*x = IbpAlarm{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpAlarm) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IbpAlarm) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IbpAlarm) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_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 IbpAlarm.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IbpAlarm) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpAlarm) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpAlarm) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpKey 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 *IbpKey) Reset() {
|
|
|
|
*x = IbpKey{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpKey) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IbpKey) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IbpKey) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_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 IbpKey.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IbpKey) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpKey) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpKey) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpArrow 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"`
|
|
|
|
Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpArrow) Reset() {
|
|
|
|
*x = IbpArrow{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpArrow) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IbpArrow) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IbpArrow) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[5]
|
|
|
|
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 IbpArrow.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IbpArrow) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpArrow) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpArrow) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpArrow) GetPoints() []*Point {
|
|
|
|
if x != nil {
|
|
|
|
return x.Points
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpLight struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
|
|
|
Color IbpLight_IbpLightColor `protobuf:"varint,2,opt,name=color,proto3,enum=ibpGraphicData.IbpLight_IbpLightColor" json:"color,omitempty"`
|
|
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpLight) Reset() {
|
|
|
|
*x = IbpLight{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpLight) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IbpLight) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IbpLight) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[6]
|
|
|
|
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 IbpLight.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IbpLight) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpLight) GetCommon() *CommonInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Common
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpLight) GetColor() IbpLight_IbpLightColor {
|
|
|
|
if x != nil {
|
|
|
|
return x.Color
|
|
|
|
}
|
|
|
|
return IbpLight_white
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpLight) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type IbpRelatedDevice struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-10-13 16:58:42 +08:00
|
|
|
// string code = 1;
|
|
|
|
Combinationtypes []*DeviceCombinationtype `protobuf:"bytes,2,rep,name=combinationtypes,proto3" json:"combinationtypes,omitempty"` //组合类型
|
2023-10-13 15:57:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpRelatedDevice) Reset() {
|
|
|
|
*x = IbpRelatedDevice{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *IbpRelatedDevice) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*IbpRelatedDevice) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IbpRelatedDevice) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_ibpGraphics_proto_msgTypes[7]
|
|
|
|
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 IbpRelatedDevice.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IbpRelatedDevice) Descriptor() ([]byte, []int) {
|
|
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
2023-10-13 16:58:42 +08:00
|
|
|
func (x *IbpRelatedDevice) GetCombinationtypes() []*DeviceCombinationtype {
|
2023-10-13 15:57:09 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Combinationtypes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_ibpGraphics_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_ibpGraphics_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x11, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x69, 0x62, 0x70, 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, 0xda, 0x03, 0x0a, 0x11, 0x49, 0x42, 0x50, 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, 0x69, 0x62, 0x70, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e,
|
|
|
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61,
|
|
|
|
0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x42, 0x50, 0x42, 0x75, 0x74, 0x74,
|
|
|
|
0x6f, 0x6e, 0x52, 0x0a, 0x69, 0x62, 0x70, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x12, 0x36,
|
|
|
|
0x0a, 0x09, 0x69, 0x62, 0x70, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
|
|
|
0x0b, 0x32, 0x18, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61,
|
|
|
|
0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x52, 0x09, 0x69, 0x62, 0x70,
|
|
|
|
0x41, 0x6c, 0x61, 0x72, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x69, 0x62, 0x70, 0x4b, 0x65, 0x79,
|
|
|
|
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61,
|
|
|
|
0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x4b, 0x65, 0x79, 0x52,
|
|
|
|
0x07, 0x69, 0x62, 0x70, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x69, 0x62, 0x70, 0x41,
|
|
|
|
0x72, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x62,
|
|
|
|
0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70,
|
|
|
|
0x41, 0x72, 0x72, 0x6f, 0x77, 0x52, 0x09, 0x69, 0x62, 0x70, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x73,
|
|
|
|
0x12, 0x33, 0x0a, 0x08, 0x49, 0x42, 0x50, 0x54, 0x65, 0x78, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44,
|
|
|
|
0x61, 0x74, 0x61, 0x2e, 0x49, 0x42, 0x50, 0x54, 0x65, 0x78, 0x74, 0x52, 0x08, 0x49, 0x42, 0x50,
|
|
|
|
0x54, 0x65, 0x78, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x11, 0x69, 0x62, 0x70, 0x52, 0x65, 0x6c, 0x61,
|
|
|
|
0x74, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x20, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74,
|
|
|
|
0x61, 0x2e, 0x49, 0x62, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69,
|
|
|
|
0x63, 0x65, 0x52, 0x11, 0x69, 0x62, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65,
|
|
|
|
0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x69, 0x62, 0x70, 0x4c, 0x69, 0x67, 0x68,
|
|
|
|
0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72,
|
|
|
|
0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x4c, 0x69, 0x67,
|
2023-10-18 14:09:36 +08:00
|
|
|
0x68, 0x74, 0x52, 0x09, 0x69, 0x62, 0x70, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x22, 0x94, 0x02,
|
2023-10-13 15:57:09 +08:00
|
|
|
0x0a, 0x09, 0x49, 0x42, 0x50, 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, 0x3e, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
|
|
0x28, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61,
|
|
|
|
0x2e, 0x49, 0x42, 0x50, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x2e, 0x49, 0x62, 0x70, 0x42, 0x75,
|
|
|
|
0x74, 0x74, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
|
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x65, 0x74, 0x18,
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73,
|
2023-10-18 14:09:36 +08:00
|
|
|
0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x22, 0x44,
|
|
|
|
0x0a, 0x0e, 0x49, 0x62, 0x70, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
|
|
|
|
0x12, 0x08, 0x0a, 0x04, 0x67, 0x72, 0x61, 0x79, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65,
|
|
|
|
0x64, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x67, 0x72, 0x65, 0x65, 0x6e, 0x10, 0x02, 0x12, 0x08,
|
|
|
|
0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x79, 0x65, 0x6c, 0x6c,
|
|
|
|
0x6f, 0x77, 0x10, 0x04, 0x22, 0x9a, 0x01, 0x0a, 0x07, 0x49, 0x42, 0x50, 0x54, 0x65, 0x78, 0x74,
|
2023-10-13 15:57:09 +08:00
|
|
|
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,
|
2023-10-18 14:09:36 +08:00
|
|
|
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, 0x4f, 0x0a, 0x08, 0x49, 0x62, 0x70, 0x41, 0x6c, 0x61, 0x72, 0x6d, 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, 0x4d, 0x0a, 0x06, 0x49, 0x62, 0x70, 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, 0x7b, 0x0a, 0x08, 0x49, 0x62, 0x70, 0x41, 0x72, 0x72, 0x6f, 0x77, 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, 0x2a, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61,
|
|
|
|
0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xc7,
|
|
|
|
0x01, 0x0a, 0x08, 0x49, 0x62, 0x70, 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, 0x3c, 0x0a, 0x05,
|
|
|
|
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x69, 0x62,
|
|
|
|
0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70,
|
|
|
|
0x4c, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x49, 0x62, 0x70, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f,
|
|
|
|
0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
|
|
|
|
0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x38,
|
|
|
|
0x0a, 0x0d, 0x49, 0x62, 0x70, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12,
|
|
|
|
0x09, 0x0a, 0x05, 0x77, 0x68, 0x69, 0x74, 0x65, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65,
|
|
|
|
0x64, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x67, 0x72, 0x65, 0x65, 0x6e, 0x10, 0x02, 0x12, 0x08,
|
|
|
|
0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x10, 0x03, 0x22, 0x62, 0x0a, 0x10, 0x49, 0x62, 0x70, 0x52,
|
|
|
|
0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x10,
|
2023-10-13 16:58:42 +08:00
|
|
|
0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x73,
|
2023-10-18 14:09:36 +08:00
|
|
|
0x18, 0x02, 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, 0x10, 0x63, 0x6f, 0x6d, 0x62,
|
|
|
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x42, 0x21, 0x5a, 0x1f,
|
|
|
|
0x2e, 0x2f, 0x61, 0x74, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x2f, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62,
|
|
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2023-10-13 15:57:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_ibpGraphics_proto_rawDescOnce sync.Once
|
|
|
|
file_ibpGraphics_proto_rawDescData = file_ibpGraphics_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_ibpGraphics_proto_rawDescGZIP() []byte {
|
|
|
|
file_ibpGraphics_proto_rawDescOnce.Do(func() {
|
|
|
|
file_ibpGraphics_proto_rawDescData = protoimpl.X.CompressGZIP(file_ibpGraphics_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_ibpGraphics_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_ibpGraphics_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
2023-10-13 16:58:42 +08:00
|
|
|
var file_ibpGraphics_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
2023-10-13 15:57:09 +08:00
|
|
|
var file_ibpGraphics_proto_goTypes = []interface{}{
|
|
|
|
(IBPButton_IbpButtonColor)(0), // 0: ibpGraphicData.IBPButton.IbpButtonColor
|
|
|
|
(IbpLight_IbpLightColor)(0), // 1: ibpGraphicData.IbpLight.IbpLightColor
|
|
|
|
(*IBPGraphicStorage)(nil), // 2: ibpGraphicData.IBPGraphicStorage
|
|
|
|
(*IBPButton)(nil), // 3: ibpGraphicData.IBPButton
|
|
|
|
(*IBPText)(nil), // 4: ibpGraphicData.IBPText
|
|
|
|
(*IbpAlarm)(nil), // 5: ibpGraphicData.IbpAlarm
|
|
|
|
(*IbpKey)(nil), // 6: ibpGraphicData.IbpKey
|
|
|
|
(*IbpArrow)(nil), // 7: ibpGraphicData.IbpArrow
|
|
|
|
(*IbpLight)(nil), // 8: ibpGraphicData.IbpLight
|
|
|
|
(*IbpRelatedDevice)(nil), // 9: ibpGraphicData.IbpRelatedDevice
|
2023-10-13 16:58:42 +08:00
|
|
|
(*Canvas)(nil), // 10: graphicData.Canvas
|
|
|
|
(*CommonInfo)(nil), // 11: graphicData.CommonInfo
|
|
|
|
(*Point)(nil), // 12: graphicData.Point
|
|
|
|
(*DeviceCombinationtype)(nil), // 13: graphicData.DeviceCombinationtype
|
2023-10-13 15:57:09 +08:00
|
|
|
}
|
|
|
|
var file_ibpGraphics_proto_depIdxs = []int32{
|
2023-10-13 16:58:42 +08:00
|
|
|
10, // 0: ibpGraphicData.IBPGraphicStorage.canvas:type_name -> graphicData.Canvas
|
2023-10-13 15:57:09 +08:00
|
|
|
3, // 1: ibpGraphicData.IBPGraphicStorage.ibpButtons:type_name -> ibpGraphicData.IBPButton
|
|
|
|
5, // 2: ibpGraphicData.IBPGraphicStorage.ibpAlarms:type_name -> ibpGraphicData.IbpAlarm
|
|
|
|
6, // 3: ibpGraphicData.IBPGraphicStorage.ibpKeys:type_name -> ibpGraphicData.IbpKey
|
|
|
|
7, // 4: ibpGraphicData.IBPGraphicStorage.ibpArrows:type_name -> ibpGraphicData.IbpArrow
|
|
|
|
4, // 5: ibpGraphicData.IBPGraphicStorage.IBPTexts:type_name -> ibpGraphicData.IBPText
|
|
|
|
9, // 6: ibpGraphicData.IBPGraphicStorage.ibpRelatedDevices:type_name -> ibpGraphicData.IbpRelatedDevice
|
|
|
|
8, // 7: ibpGraphicData.IBPGraphicStorage.ibpLights:type_name -> ibpGraphicData.IbpLight
|
2023-10-13 16:58:42 +08:00
|
|
|
11, // 8: ibpGraphicData.IBPButton.common:type_name -> graphicData.CommonInfo
|
2023-10-13 15:57:09 +08:00
|
|
|
0, // 9: ibpGraphicData.IBPButton.color:type_name -> ibpGraphicData.IBPButton.IbpButtonColor
|
2023-10-13 16:58:42 +08:00
|
|
|
11, // 10: ibpGraphicData.IBPText.common:type_name -> graphicData.CommonInfo
|
|
|
|
11, // 11: ibpGraphicData.IbpAlarm.common:type_name -> graphicData.CommonInfo
|
|
|
|
11, // 12: ibpGraphicData.IbpKey.common:type_name -> graphicData.CommonInfo
|
|
|
|
11, // 13: ibpGraphicData.IbpArrow.common:type_name -> graphicData.CommonInfo
|
|
|
|
12, // 14: ibpGraphicData.IbpArrow.points:type_name -> graphicData.Point
|
|
|
|
11, // 15: ibpGraphicData.IbpLight.common:type_name -> graphicData.CommonInfo
|
2023-10-13 15:57:09 +08:00
|
|
|
1, // 16: ibpGraphicData.IbpLight.color:type_name -> ibpGraphicData.IbpLight.IbpLightColor
|
2023-10-13 16:58:42 +08:00
|
|
|
13, // 17: ibpGraphicData.IbpRelatedDevice.combinationtypes:type_name -> graphicData.DeviceCombinationtype
|
|
|
|
18, // [18:18] is the sub-list for method output_type
|
|
|
|
18, // [18:18] is the sub-list for method input_type
|
|
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
|
|
0, // [0:18] is the sub-list for field type_name
|
2023-10-13 15:57:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_ibpGraphics_proto_init() }
|
|
|
|
func file_ibpGraphics_proto_init() {
|
|
|
|
if File_ibpGraphics_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
file_stationLayoutGraphics_proto_init()
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_ibpGraphics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IBPGraphicStorage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IBPButton); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IBPText); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IbpAlarm); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IbpKey); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IbpArrow); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IbpLight); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_ibpGraphics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IbpRelatedDevice); 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_ibpGraphics_proto_rawDesc,
|
|
|
|
NumEnums: 2,
|
2023-10-13 16:58:42 +08:00
|
|
|
NumMessages: 8,
|
2023-10-13 15:57:09 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_ibpGraphics_proto_goTypes,
|
|
|
|
DependencyIndexes: file_ibpGraphics_proto_depIdxs,
|
|
|
|
EnumInfos: file_ibpGraphics_proto_enumTypes,
|
|
|
|
MessageInfos: file_ibpGraphics_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_ibpGraphics_proto = out.File
|
|
|
|
file_ibpGraphics_proto_rawDesc = nil
|
|
|
|
file_ibpGraphics_proto_goTypes = nil
|
|
|
|
file_ibpGraphics_proto_depIdxs = nil
|
|
|
|
}
|