Documentation ¶
Index ¶
- Variables
- type HeartBeat
- func (*HeartBeat) Descriptor() ([]byte, []int)deprecated
- func (x *HeartBeat) GetBarometer() float32
- func (x *HeartBeat) GetControlChannel() uint32
- func (x *HeartBeat) GetFrequencyStep() uint32
- func (x *HeartBeat) GetMac() []byte
- func (x *HeartBeat) GetNeighborChannel() []uint32
- func (x *HeartBeat) GetParentChannel() uint32
- func (x *HeartBeat) GetStartFrequency() uint32
- func (*HeartBeat) ProtoMessage()
- func (x *HeartBeat) ProtoReflect() protoreflect.Message
- func (x *HeartBeat) Reset()
- func (x *HeartBeat) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_HeartBeat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HeartBeat ¶
type HeartBeat struct { Mac []byte `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` //物联网基站的MAC地址 Barometer float32 `protobuf:"fixed32,2,opt,name=barometer,proto3" json:"barometer,omitempty"` //基站上测得的气压值,单位hPa,例如1001.23hPa StartFrequency uint32 `protobuf:"fixed32,3,opt,name=StartFrequency,proto3" json:"StartFrequency,omitempty"` FrequencyStep uint32 `protobuf:"fixed32,4,opt,name=FrequencyStep,proto3" json:"FrequencyStep,omitempty"` ControlChannel uint32 `protobuf:"fixed32,5,opt,name=ControlChannel,proto3" json:"ControlChannel,omitempty"` ParentChannel uint32 `protobuf:"fixed32,6,opt,name=ParentChannel,proto3" json:"ParentChannel,omitempty"` NeighborChannel []uint32 `protobuf:"fixed32,7,rep,packed,name=NeighborChannel,proto3" json:"NeighborChannel,omitempty"` // contains filtered or unexported fields }
func (*HeartBeat) Descriptor
deprecated
func (*HeartBeat) GetBarometer ¶
func (*HeartBeat) GetControlChannel ¶
func (*HeartBeat) GetFrequencyStep ¶
func (*HeartBeat) GetNeighborChannel ¶
func (*HeartBeat) GetParentChannel ¶
func (*HeartBeat) GetStartFrequency ¶
func (*HeartBeat) ProtoMessage ¶
func (*HeartBeat) ProtoMessage()
func (*HeartBeat) ProtoReflect ¶
func (x *HeartBeat) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.