types

package
v0.0.0-...-5f8cf3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlarmState_name = map[int32]string{
	0: "Overflow",
	1: "Underflow",
	2: "AutoCanceled",
	3: "ManualCanceled",
}
View Source
var AlarmState_value = map[string]int32{
	"Overflow":       0,
	"Underflow":      1,
	"AutoCanceled":   2,
	"ManualCanceled": 3,
}
View Source
var CommunicateData_EDirection_name = map[int32]string{
	0: "Send",
	1: "Recv",
}
View Source
var CommunicateData_EDirection_value = map[string]int32{
	"Send": 0,
	"Recv": 1,
}

Functions

This section is empty.

Types

type AlarmState

type AlarmState int32
const (
	AlarmState_Overflow       AlarmState = 0
	AlarmState_Underflow      AlarmState = 1
	AlarmState_AutoCanceled   AlarmState = 2
	AlarmState_ManualCanceled AlarmState = 3
)

func (AlarmState) EnumDescriptor

func (AlarmState) EnumDescriptor() ([]byte, []int)

func (AlarmState) String

func (x AlarmState) String() string

type CommunicateData

type CommunicateData struct {
	Index                uint32                     `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Direction            CommunicateData_EDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=types.CommunicateData_EDirection" json:"direction,omitempty"`
	TimePoint            int64                      `protobuf:"varint,3,opt,name=time_point,json=timePoint,proto3" json:"time_point,omitempty"`
	Data                 []byte                     `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*CommunicateData) Descriptor

func (*CommunicateData) Descriptor() ([]byte, []int)

func (*CommunicateData) GetData

func (m *CommunicateData) GetData() []byte

func (*CommunicateData) GetDirection

func (m *CommunicateData) GetDirection() CommunicateData_EDirection

func (*CommunicateData) GetIndex

func (m *CommunicateData) GetIndex() uint32

func (*CommunicateData) GetTimePoint

func (m *CommunicateData) GetTimePoint() int64

func (*CommunicateData) ProtoMessage

func (*CommunicateData) ProtoMessage()

func (*CommunicateData) Reset

func (m *CommunicateData) Reset()

func (*CommunicateData) String

func (m *CommunicateData) String() string

func (*CommunicateData) XXX_DiscardUnknown

func (m *CommunicateData) XXX_DiscardUnknown()

func (*CommunicateData) XXX_Marshal

func (m *CommunicateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommunicateData) XXX_Merge

func (m *CommunicateData) XXX_Merge(src proto.Message)

func (*CommunicateData) XXX_Size

func (m *CommunicateData) XXX_Size() int

func (*CommunicateData) XXX_Unmarshal

func (m *CommunicateData) XXX_Unmarshal(b []byte) error

type CommunicateData_EDirection

type CommunicateData_EDirection int32
const (
	CommunicateData_Send CommunicateData_EDirection = 0
	CommunicateData_Recv CommunicateData_EDirection = 1
)

func (CommunicateData_EDirection) EnumDescriptor

func (CommunicateData_EDirection) EnumDescriptor() ([]byte, []int)

func (CommunicateData_EDirection) String

type IPCMessage

type IPCMessage struct {
	SeqNo                uint32   `protobuf:"varint,1,opt,name=seq_no,json=seqNo,proto3" json:"seq_no,omitempty"`
	Identify             uint32   `protobuf:"varint,2,opt,name=identify,proto3" json:"identify,omitempty"`
	Title                string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Data                 []byte   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IPCMessage) Descriptor

func (*IPCMessage) Descriptor() ([]byte, []int)

func (*IPCMessage) GetData

func (m *IPCMessage) GetData() []byte

func (*IPCMessage) GetIdentify

func (m *IPCMessage) GetIdentify() uint32

func (*IPCMessage) GetSeqNo

func (m *IPCMessage) GetSeqNo() uint32

func (*IPCMessage) GetTitle

func (m *IPCMessage) GetTitle() string

func (*IPCMessage) ProtoMessage

func (*IPCMessage) ProtoMessage()

func (*IPCMessage) Reset

func (m *IPCMessage) Reset()

func (*IPCMessage) String

func (m *IPCMessage) String() string

func (*IPCMessage) XXX_DiscardUnknown

func (m *IPCMessage) XXX_DiscardUnknown()

func (*IPCMessage) XXX_Marshal

func (m *IPCMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPCMessage) XXX_Merge

func (m *IPCMessage) XXX_Merge(src proto.Message)

func (*IPCMessage) XXX_Size

func (m *IPCMessage) XXX_Size() int

func (*IPCMessage) XXX_Unmarshal

func (m *IPCMessage) XXX_Unmarshal(b []byte) error

type RedisMessage

type RedisMessage struct {
	From                 string       `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   string       `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Data                 *WSByteArray `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*RedisMessage) Descriptor

func (*RedisMessage) Descriptor() ([]byte, []int)

func (*RedisMessage) GetData

func (m *RedisMessage) GetData() *WSByteArray

func (*RedisMessage) GetFrom

func (m *RedisMessage) GetFrom() string

func (*RedisMessage) GetTo

func (m *RedisMessage) GetTo() string

func (*RedisMessage) ProtoMessage

func (*RedisMessage) ProtoMessage()

func (*RedisMessage) Reset

func (m *RedisMessage) Reset()

func (*RedisMessage) String

func (m *RedisMessage) String() string

func (*RedisMessage) XXX_DiscardUnknown

func (m *RedisMessage) XXX_DiscardUnknown()

func (*RedisMessage) XXX_Marshal

func (m *RedisMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedisMessage) XXX_Merge

func (m *RedisMessage) XXX_Merge(src proto.Message)

func (*RedisMessage) XXX_Size

func (m *RedisMessage) XXX_Size() int

func (*RedisMessage) XXX_Unmarshal

func (m *RedisMessage) XXX_Unmarshal(b []byte) error

type SAlarmInfo

type SAlarmInfo struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State                AlarmState `protobuf:"varint,2,opt,name=state,proto3,enum=types.AlarmState" json:"state,omitempty"`
	Value                *WSNumber  `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Bound                *WSNumber  `protobuf:"bytes,4,opt,name=bound,proto3" json:"bound,omitempty"`
	Time                 int64      `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*SAlarmInfo) Descriptor

func (*SAlarmInfo) Descriptor() ([]byte, []int)

func (*SAlarmInfo) GetBound

func (m *SAlarmInfo) GetBound() *WSNumber

func (*SAlarmInfo) GetId

func (m *SAlarmInfo) GetId() string

func (*SAlarmInfo) GetState

func (m *SAlarmInfo) GetState() AlarmState

func (*SAlarmInfo) GetTime

func (m *SAlarmInfo) GetTime() int64

func (*SAlarmInfo) GetValue

func (m *SAlarmInfo) GetValue() *WSNumber

func (*SAlarmInfo) ProtoMessage

func (*SAlarmInfo) ProtoMessage()

func (*SAlarmInfo) Reset

func (m *SAlarmInfo) Reset()

func (*SAlarmInfo) String

func (m *SAlarmInfo) String() string

func (*SAlarmInfo) XXX_DiscardUnknown

func (m *SAlarmInfo) XXX_DiscardUnknown()

func (*SAlarmInfo) XXX_Marshal

func (m *SAlarmInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SAlarmInfo) XXX_Merge

func (m *SAlarmInfo) XXX_Merge(src proto.Message)

func (*SAlarmInfo) XXX_Size

func (m *SAlarmInfo) XXX_Size() int

func (*SAlarmInfo) XXX_Unmarshal

func (m *SAlarmInfo) XXX_Unmarshal(b []byte) error

type SummaryData

type SummaryData struct {
	SendPacks            uint32             `protobuf:"varint,1,opt,name=send_packs,json=sendPacks,proto3" json:"send_packs,omitempty"`
	SendBytes            uint32             `protobuf:"varint,2,opt,name=send_bytes,json=sendBytes,proto3" json:"send_bytes,omitempty"`
	RecvPacks            uint32             `protobuf:"varint,3,opt,name=recv_packs,json=recvPacks,proto3" json:"recv_packs,omitempty"`
	RecvBytes            uint32             `protobuf:"varint,4,opt,name=recv_bytes,json=recvBytes,proto3" json:"recv_bytes,omitempty"`
	ErrorCount           uint32             `protobuf:"varint,5,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
	QueueSize            uint32             `protobuf:"varint,6,opt,name=queue_size,json=queueSize,proto3" json:"queue_size,omitempty"`
	Buffer               []*CommunicateData `protobuf:"bytes,7,rep,name=buffer,proto3" json:"buffer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*SummaryData) Descriptor

func (*SummaryData) Descriptor() ([]byte, []int)

func (*SummaryData) GetBuffer

func (m *SummaryData) GetBuffer() []*CommunicateData

func (*SummaryData) GetErrorCount

func (m *SummaryData) GetErrorCount() uint32

func (*SummaryData) GetQueueSize

func (m *SummaryData) GetQueueSize() uint32

func (*SummaryData) GetRecvBytes

func (m *SummaryData) GetRecvBytes() uint32

func (*SummaryData) GetRecvPacks

func (m *SummaryData) GetRecvPacks() uint32

func (*SummaryData) GetSendBytes

func (m *SummaryData) GetSendBytes() uint32

func (*SummaryData) GetSendPacks

func (m *SummaryData) GetSendPacks() uint32

func (*SummaryData) ProtoMessage

func (*SummaryData) ProtoMessage()

func (*SummaryData) Reset

func (m *SummaryData) Reset()

func (*SummaryData) String

func (m *SummaryData) String() string

func (*SummaryData) XXX_DiscardUnknown

func (m *SummaryData) XXX_DiscardUnknown()

func (*SummaryData) XXX_Marshal

func (m *SummaryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryData) XXX_Merge

func (m *SummaryData) XXX_Merge(src proto.Message)

func (*SummaryData) XXX_Size

func (m *SummaryData) XXX_Size() int

func (*SummaryData) XXX_Unmarshal

func (m *SummaryData) XXX_Unmarshal(b []byte) error

type WSByteArray

type WSByteArray struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WSByteArray) Descriptor

func (*WSByteArray) Descriptor() ([]byte, []int)

func (*WSByteArray) GetData

func (m *WSByteArray) GetData() []byte

func (*WSByteArray) ProtoMessage

func (*WSByteArray) ProtoMessage()

func (*WSByteArray) Reset

func (m *WSByteArray) Reset()

func (*WSByteArray) String

func (m *WSByteArray) String() string

func (*WSByteArray) XXX_DiscardUnknown

func (m *WSByteArray) XXX_DiscardUnknown()

func (*WSByteArray) XXX_Marshal

func (m *WSByteArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WSByteArray) XXX_Merge

func (m *WSByteArray) XXX_Merge(src proto.Message)

func (*WSByteArray) XXX_Size

func (m *WSByteArray) XXX_Size() int

func (*WSByteArray) XXX_Unmarshal

func (m *WSByteArray) XXX_Unmarshal(b []byte) error

type WSData

type WSData struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value                *WSNumber `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	RangeLow             *WSNumber `protobuf:"bytes,4,opt,name=range_low,json=rangeLow,proto3" json:"range_low,omitempty"`
	RangeHigh            *WSNumber `protobuf:"bytes,5,opt,name=range_high,json=rangeHigh,proto3" json:"range_high,omitempty"`
	WarningLow           *WSNumber `protobuf:"bytes,6,opt,name=warning_low,json=warningLow,proto3" json:"warning_low,omitempty"`
	WarningHigh          *WSNumber `protobuf:"bytes,7,opt,name=warning_high,json=warningHigh,proto3" json:"warning_high,omitempty"`
	WarningIgnoreCount   uint32    `protobuf:"varint,8,opt,name=warning_ignore_count,json=warningIgnoreCount,proto3" json:"warning_ignore_count,omitempty"`
	ErrorLow             *WSNumber `protobuf:"bytes,9,opt,name=error_low,json=errorLow,proto3" json:"error_low,omitempty"`
	ErrorHigh            *WSNumber `protobuf:"bytes,10,opt,name=error_high,json=errorHigh,proto3" json:"error_high,omitempty"`
	ErrorIgnoreCount     uint32    `protobuf:"varint,11,opt,name=error_ignore_count,json=errorIgnoreCount,proto3" json:"error_ignore_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*WSData) Descriptor

func (*WSData) Descriptor() ([]byte, []int)

func (*WSData) GetErrorHigh

func (m *WSData) GetErrorHigh() *WSNumber

func (*WSData) GetErrorIgnoreCount

func (m *WSData) GetErrorIgnoreCount() uint32

func (*WSData) GetErrorLow

func (m *WSData) GetErrorLow() *WSNumber

func (*WSData) GetId

func (m *WSData) GetId() string

func (*WSData) GetName

func (m *WSData) GetName() string

func (*WSData) GetRangeHigh

func (m *WSData) GetRangeHigh() *WSNumber

func (*WSData) GetRangeLow

func (m *WSData) GetRangeLow() *WSNumber

func (*WSData) GetValue

func (m *WSData) GetValue() *WSNumber

func (*WSData) GetWarningHigh

func (m *WSData) GetWarningHigh() *WSNumber

func (*WSData) GetWarningIgnoreCount

func (m *WSData) GetWarningIgnoreCount() uint32

func (*WSData) GetWarningLow

func (m *WSData) GetWarningLow() *WSNumber

func (*WSData) ProtoMessage

func (*WSData) ProtoMessage()

func (*WSData) Reset

func (m *WSData) Reset()

func (*WSData) String

func (m *WSData) String() string

func (*WSData) XXX_DiscardUnknown

func (m *WSData) XXX_DiscardUnknown()

func (*WSData) XXX_Marshal

func (m *WSData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WSData) XXX_Merge

func (m *WSData) XXX_Merge(src proto.Message)

func (*WSData) XXX_Size

func (m *WSData) XXX_Size() int

func (*WSData) XXX_Unmarshal

func (m *WSData) XXX_Unmarshal(b []byte) error

type WSNumber

type WSNumber struct {
	Value                float64  `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WSNumber) Descriptor

func (*WSNumber) Descriptor() ([]byte, []int)

func (*WSNumber) GetValue

func (m *WSNumber) GetValue() float64

func (*WSNumber) ProtoMessage

func (*WSNumber) ProtoMessage()

func (*WSNumber) Reset

func (m *WSNumber) Reset()

func (*WSNumber) String

func (m *WSNumber) String() string

func (*WSNumber) XXX_DiscardUnknown

func (m *WSNumber) XXX_DiscardUnknown()

func (*WSNumber) XXX_Marshal

func (m *WSNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WSNumber) XXX_Merge

func (m *WSNumber) XXX_Merge(src proto.Message)

func (*WSNumber) XXX_Size

func (m *WSNumber) XXX_Size() int

func (*WSNumber) XXX_Unmarshal

func (m *WSNumber) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL