1195 lines
41 KiB
Go
1195 lines
41 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.32.0
|
|
// protoc v4.23.1
|
|
// source: ibpGraphics.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 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 IbpStationText_IbpStationTextType int32
|
|
|
|
const (
|
|
IbpStationText_CURRENT IbpStationText_IbpStationTextType = 0
|
|
IbpStationText_UP IbpStationText_IbpStationTextType = 1
|
|
IbpStationText_DOWN IbpStationText_IbpStationTextType = 2
|
|
)
|
|
|
|
// Enum value maps for IbpStationText_IbpStationTextType.
|
|
var (
|
|
IbpStationText_IbpStationTextType_name = map[int32]string{
|
|
0: "CURRENT",
|
|
1: "UP",
|
|
2: "DOWN",
|
|
}
|
|
IbpStationText_IbpStationTextType_value = map[string]int32{
|
|
"CURRENT": 0,
|
|
"UP": 1,
|
|
"DOWN": 2,
|
|
}
|
|
)
|
|
|
|
func (x IbpStationText_IbpStationTextType) Enum() *IbpStationText_IbpStationTextType {
|
|
p := new(IbpStationText_IbpStationTextType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x IbpStationText_IbpStationTextType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (IbpStationText_IbpStationTextType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_ibpGraphics_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (IbpStationText_IbpStationTextType) Type() protoreflect.EnumType {
|
|
return &file_ibpGraphics_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x IbpStationText_IbpStationTextType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use IbpStationText_IbpStationTextType.Descriptor instead.
|
|
func (IbpStationText_IbpStationTextType) EnumDescriptor() ([]byte, []int) {
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{8, 0}
|
|
}
|
|
|
|
type IbpStationText_IbpStationTextAlign int32
|
|
|
|
const (
|
|
IbpStationText_LEFT IbpStationText_IbpStationTextAlign = 0
|
|
IbpStationText_RIGHT IbpStationText_IbpStationTextAlign = 1
|
|
IbpStationText_CENTER IbpStationText_IbpStationTextAlign = 2
|
|
)
|
|
|
|
// Enum value maps for IbpStationText_IbpStationTextAlign.
|
|
var (
|
|
IbpStationText_IbpStationTextAlign_name = map[int32]string{
|
|
0: "LEFT",
|
|
1: "RIGHT",
|
|
2: "CENTER",
|
|
}
|
|
IbpStationText_IbpStationTextAlign_value = map[string]int32{
|
|
"LEFT": 0,
|
|
"RIGHT": 1,
|
|
"CENTER": 2,
|
|
}
|
|
)
|
|
|
|
func (x IbpStationText_IbpStationTextAlign) Enum() *IbpStationText_IbpStationTextAlign {
|
|
p := new(IbpStationText_IbpStationTextAlign)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x IbpStationText_IbpStationTextAlign) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (IbpStationText_IbpStationTextAlign) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_ibpGraphics_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (IbpStationText_IbpStationTextAlign) Type() protoreflect.EnumType {
|
|
return &file_ibpGraphics_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x IbpStationText_IbpStationTextAlign) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use IbpStationText_IbpStationTextAlign.Descriptor instead.
|
|
func (IbpStationText_IbpStationTextAlign) EnumDescriptor() ([]byte, []int) {
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{8, 1}
|
|
}
|
|
|
|
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"`
|
|
IbpStationTexts []*IbpStationText `protobuf:"bytes,10,rep,name=ibpStationTexts,proto3" json:"ibpStationTexts,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
|
|
}
|
|
|
|
func (x *IBPGraphicStorage) GetIbpStationTexts() []*IbpStationText {
|
|
if x != nil {
|
|
return x.IbpStationTexts
|
|
}
|
|
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"`
|
|
IsSelfReset bool `protobuf:"varint,4,opt,name=isSelfReset,proto3" json:"isSelfReset,omitempty"` //是否自复位
|
|
HasLight bool `protobuf:"varint,5,opt,name=hasLight,proto3" json:"hasLight,omitempty"` //是否带灯
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (x *IBPButton) GetHasLight() bool {
|
|
if x != nil {
|
|
return x.HasLight
|
|
}
|
|
return false
|
|
}
|
|
|
|
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
|
|
|
|
// string code = 1;
|
|
Combinationtypes []*DeviceCombinationtype `protobuf:"bytes,2,rep,name=combinationtypes,proto3" json:"combinationtypes,omitempty"` //组合类型
|
|
}
|
|
|
|
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}
|
|
}
|
|
|
|
func (x *IbpRelatedDevice) GetCombinationtypes() []*DeviceCombinationtype {
|
|
if x != nil {
|
|
return x.Combinationtypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IbpStationText struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
|
Type IbpStationText_IbpStationTextType `protobuf:"varint,2,opt,name=type,proto3,enum=ibpGraphicData.IbpStationText_IbpStationTextType" json:"type,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"`
|
|
Align IbpStationText_IbpStationTextAlign `protobuf:"varint,6,opt,name=align,proto3,enum=ibpGraphicData.IbpStationText_IbpStationTextAlign" json:"align,omitempty"`
|
|
}
|
|
|
|
func (x *IbpStationText) Reset() {
|
|
*x = IbpStationText{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ibpGraphics_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IbpStationText) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IbpStationText) ProtoMessage() {}
|
|
|
|
func (x *IbpStationText) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ibpGraphics_proto_msgTypes[8]
|
|
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 IbpStationText.ProtoReflect.Descriptor instead.
|
|
func (*IbpStationText) Descriptor() ([]byte, []int) {
|
|
return file_ibpGraphics_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *IbpStationText) GetCommon() *CommonInfo {
|
|
if x != nil {
|
|
return x.Common
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *IbpStationText) GetType() IbpStationText_IbpStationTextType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return IbpStationText_CURRENT
|
|
}
|
|
|
|
func (x *IbpStationText) GetColor() string {
|
|
if x != nil {
|
|
return x.Color
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IbpStationText) GetFontSize() int32 {
|
|
if x != nil {
|
|
return x.FontSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IbpStationText) GetAlign() IbpStationText_IbpStationTextAlign {
|
|
if x != nil {
|
|
return x.Align
|
|
}
|
|
return IbpStationText_LEFT
|
|
}
|
|
|
|
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, 0xa4, 0x04, 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,
|
|
0x68, 0x74, 0x52, 0x09, 0x69, 0x62, 0x70, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x48, 0x0a,
|
|
0x0f, 0x69, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x73,
|
|
0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70,
|
|
0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x69, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x73, 0x22, 0x94, 0x02, 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, 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, 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, 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, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x73, 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, 0x22, 0xf1, 0x02, 0x0a, 0x0e, 0x49, 0x62, 0x70, 0x53, 0x74,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x45, 0x0a, 0x04, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72,
|
|
0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x2e, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
|
|
0x65, 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, 0x12, 0x48, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x32, 0x2e, 0x69, 0x62, 0x70, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44,
|
|
0x61, 0x74, 0x61, 0x2e, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65,
|
|
0x78, 0x74, 0x2e, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78,
|
|
0x74, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x22, 0x33, 0x0a,
|
|
0x12, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x10, 0x00,
|
|
0x12, 0x06, 0x0a, 0x02, 0x55, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x57, 0x4e,
|
|
0x10, 0x02, 0x22, 0x36, 0x0a, 0x13, 0x49, 0x62, 0x70, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x54, 0x65, 0x78, 0x74, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x45, 0x46,
|
|
0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x49, 0x47, 0x48, 0x54, 0x10, 0x01, 0x12, 0x0a,
|
|
0x0a, 0x06, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 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_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, 4)
|
|
var file_ibpGraphics_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_ibpGraphics_proto_goTypes = []interface{}{
|
|
(IBPButton_IbpButtonColor)(0), // 0: ibpGraphicData.IBPButton.IbpButtonColor
|
|
(IbpLight_IbpLightColor)(0), // 1: ibpGraphicData.IbpLight.IbpLightColor
|
|
(IbpStationText_IbpStationTextType)(0), // 2: ibpGraphicData.IbpStationText.IbpStationTextType
|
|
(IbpStationText_IbpStationTextAlign)(0), // 3: ibpGraphicData.IbpStationText.IbpStationTextAlign
|
|
(*IBPGraphicStorage)(nil), // 4: ibpGraphicData.IBPGraphicStorage
|
|
(*IBPButton)(nil), // 5: ibpGraphicData.IBPButton
|
|
(*IBPText)(nil), // 6: ibpGraphicData.IBPText
|
|
(*IbpAlarm)(nil), // 7: ibpGraphicData.IbpAlarm
|
|
(*IbpKey)(nil), // 8: ibpGraphicData.IbpKey
|
|
(*IbpArrow)(nil), // 9: ibpGraphicData.IbpArrow
|
|
(*IbpLight)(nil), // 10: ibpGraphicData.IbpLight
|
|
(*IbpRelatedDevice)(nil), // 11: ibpGraphicData.IbpRelatedDevice
|
|
(*IbpStationText)(nil), // 12: ibpGraphicData.IbpStationText
|
|
(*Canvas)(nil), // 13: graphicData.Canvas
|
|
(*CommonInfo)(nil), // 14: graphicData.CommonInfo
|
|
(*Point)(nil), // 15: graphicData.Point
|
|
(*DeviceCombinationtype)(nil), // 16: graphicData.DeviceCombinationtype
|
|
}
|
|
var file_ibpGraphics_proto_depIdxs = []int32{
|
|
13, // 0: ibpGraphicData.IBPGraphicStorage.canvas:type_name -> graphicData.Canvas
|
|
5, // 1: ibpGraphicData.IBPGraphicStorage.ibpButtons:type_name -> ibpGraphicData.IBPButton
|
|
7, // 2: ibpGraphicData.IBPGraphicStorage.ibpAlarms:type_name -> ibpGraphicData.IbpAlarm
|
|
8, // 3: ibpGraphicData.IBPGraphicStorage.ibpKeys:type_name -> ibpGraphicData.IbpKey
|
|
9, // 4: ibpGraphicData.IBPGraphicStorage.ibpArrows:type_name -> ibpGraphicData.IbpArrow
|
|
6, // 5: ibpGraphicData.IBPGraphicStorage.IBPTexts:type_name -> ibpGraphicData.IBPText
|
|
11, // 6: ibpGraphicData.IBPGraphicStorage.ibpRelatedDevices:type_name -> ibpGraphicData.IbpRelatedDevice
|
|
10, // 7: ibpGraphicData.IBPGraphicStorage.ibpLights:type_name -> ibpGraphicData.IbpLight
|
|
12, // 8: ibpGraphicData.IBPGraphicStorage.ibpStationTexts:type_name -> ibpGraphicData.IbpStationText
|
|
14, // 9: ibpGraphicData.IBPButton.common:type_name -> graphicData.CommonInfo
|
|
0, // 10: ibpGraphicData.IBPButton.color:type_name -> ibpGraphicData.IBPButton.IbpButtonColor
|
|
14, // 11: ibpGraphicData.IBPText.common:type_name -> graphicData.CommonInfo
|
|
14, // 12: ibpGraphicData.IbpAlarm.common:type_name -> graphicData.CommonInfo
|
|
14, // 13: ibpGraphicData.IbpKey.common:type_name -> graphicData.CommonInfo
|
|
14, // 14: ibpGraphicData.IbpArrow.common:type_name -> graphicData.CommonInfo
|
|
15, // 15: ibpGraphicData.IbpArrow.points:type_name -> graphicData.Point
|
|
14, // 16: ibpGraphicData.IbpLight.common:type_name -> graphicData.CommonInfo
|
|
1, // 17: ibpGraphicData.IbpLight.color:type_name -> ibpGraphicData.IbpLight.IbpLightColor
|
|
16, // 18: ibpGraphicData.IbpRelatedDevice.combinationtypes:type_name -> graphicData.DeviceCombinationtype
|
|
14, // 19: ibpGraphicData.IbpStationText.common:type_name -> graphicData.CommonInfo
|
|
2, // 20: ibpGraphicData.IbpStationText.type:type_name -> ibpGraphicData.IbpStationText.IbpStationTextType
|
|
3, // 21: ibpGraphicData.IbpStationText.align:type_name -> ibpGraphicData.IbpStationText.IbpStationTextAlign
|
|
22, // [22:22] is the sub-list for method output_type
|
|
22, // [22:22] is the sub-list for method input_type
|
|
22, // [22:22] is the sub-list for extension type_name
|
|
22, // [22:22] is the sub-list for extension extendee
|
|
0, // [0:22] is the sub-list for field type_name
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
file_ibpGraphics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IbpStationText); 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: 4,
|
|
NumMessages: 9,
|
|
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
|
|
}
|