HeartBeat

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

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use HeartBeat.ProtoReflect.Descriptor instead.

func (*HeartBeat) GetBarometer

func (x *HeartBeat) GetBarometer() float32

func (*HeartBeat) GetControlChannel

func (x *HeartBeat) GetControlChannel() uint32

func (*HeartBeat) GetFrequencyStep

func (x *HeartBeat) GetFrequencyStep() uint32

func (*HeartBeat) GetMac

func (x *HeartBeat) GetMac() []byte

func (*HeartBeat) GetNeighborChannel

func (x *HeartBeat) GetNeighborChannel() []uint32

func (*HeartBeat) GetParentChannel

func (x *HeartBeat) GetParentChannel() uint32

func (*HeartBeat) GetStartFrequency

func (x *HeartBeat) GetStartFrequency() uint32

func (*HeartBeat) ProtoMessage

func (*HeartBeat) ProtoMessage()

func (*HeartBeat) ProtoReflect

func (x *HeartBeat) ProtoReflect() protoreflect.Message

func (*HeartBeat) Reset

func (x *HeartBeat) Reset()

func (*HeartBeat) String

func (x *HeartBeat) String() string

Jump to

Keyboard shortcuts

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