123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: dust.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type DustMonitorData struct {
- Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date"`
- Pm10 float64 `protobuf:"fixed64,2,opt,name=pm10,proto3" json:"pm10"`
- Pm25 float64 `protobuf:"fixed64,3,opt,name=pm25,proto3" json:"pm25"`
- Tsp float64 `protobuf:"fixed64,4,opt,name=tsp,proto3" json:"tsp"`
- // 温度
- T01 float64 `protobuf:"fixed64,5,opt,name=t01,proto3" json:"t01"`
- // 湿度
- H01 float64 `protobuf:"fixed64,6,opt,name=h01,proto3" json:"h01"`
- // 风向
- W01 float64 `protobuf:"fixed64,7,opt,name=w01,proto3" json:"w01"`
- // 风速
- W02 float64 `protobuf:"fixed64,8,opt,name=w02,proto3" json:"w02"`
- // 雨量
- R01 float64 `protobuf:"fixed64,9,opt,name=r01,proto3" json:"r01"`
- // 气压
- P01 float64 `protobuf:"fixed64,10,opt,name=p01,proto3" json:"p01"`
- // 噪声
- B03 float64 `protobuf:"fixed64,11,opt,name=b03,proto3" json:"b03"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustMonitorData) Reset() { *m = DustMonitorData{} }
- func (m *DustMonitorData) String() string { return proto.CompactTextString(m) }
- func (*DustMonitorData) ProtoMessage() {}
- func (*DustMonitorData) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{0}
- }
- func (m *DustMonitorData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustMonitorData.Unmarshal(m, b)
- }
- func (m *DustMonitorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustMonitorData.Marshal(b, m, deterministic)
- }
- func (m *DustMonitorData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustMonitorData.Merge(m, src)
- }
- func (m *DustMonitorData) XXX_Size() int {
- return xxx_messageInfo_DustMonitorData.Size(m)
- }
- func (m *DustMonitorData) XXX_DiscardUnknown() {
- xxx_messageInfo_DustMonitorData.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustMonitorData proto.InternalMessageInfo
- func (m *DustMonitorData) GetDate() string {
- if m != nil {
- return m.Date
- }
- return ""
- }
- func (m *DustMonitorData) GetPm10() float64 {
- if m != nil {
- return m.Pm10
- }
- return 0
- }
- func (m *DustMonitorData) GetPm25() float64 {
- if m != nil {
- return m.Pm25
- }
- return 0
- }
- func (m *DustMonitorData) GetTsp() float64 {
- if m != nil {
- return m.Tsp
- }
- return 0
- }
- func (m *DustMonitorData) GetT01() float64 {
- if m != nil {
- return m.T01
- }
- return 0
- }
- func (m *DustMonitorData) GetH01() float64 {
- if m != nil {
- return m.H01
- }
- return 0
- }
- func (m *DustMonitorData) GetW01() float64 {
- if m != nil {
- return m.W01
- }
- return 0
- }
- func (m *DustMonitorData) GetW02() float64 {
- if m != nil {
- return m.W02
- }
- return 0
- }
- func (m *DustMonitorData) GetR01() float64 {
- if m != nil {
- return m.R01
- }
- return 0
- }
- func (m *DustMonitorData) GetP01() float64 {
- if m != nil {
- return m.P01
- }
- return 0
- }
- func (m *DustMonitorData) GetB03() float64 {
- if m != nil {
- return m.B03
- }
- return 0
- }
- type LatestDustMonitorDataRequest struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type"`
- ProjectId int64 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LatestDustMonitorDataRequest) Reset() { *m = LatestDustMonitorDataRequest{} }
- func (m *LatestDustMonitorDataRequest) String() string { return proto.CompactTextString(m) }
- func (*LatestDustMonitorDataRequest) ProtoMessage() {}
- func (*LatestDustMonitorDataRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{1}
- }
- func (m *LatestDustMonitorDataRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LatestDustMonitorDataRequest.Unmarshal(m, b)
- }
- func (m *LatestDustMonitorDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LatestDustMonitorDataRequest.Marshal(b, m, deterministic)
- }
- func (m *LatestDustMonitorDataRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LatestDustMonitorDataRequest.Merge(m, src)
- }
- func (m *LatestDustMonitorDataRequest) XXX_Size() int {
- return xxx_messageInfo_LatestDustMonitorDataRequest.Size(m)
- }
- func (m *LatestDustMonitorDataRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LatestDustMonitorDataRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_LatestDustMonitorDataRequest proto.InternalMessageInfo
- func (m *LatestDustMonitorDataRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *LatestDustMonitorDataRequest) GetType() int32 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *LatestDustMonitorDataRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- type LatestDustMonitorDataReply struct {
- Data *DustMonitorData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LatestDustMonitorDataReply) Reset() { *m = LatestDustMonitorDataReply{} }
- func (m *LatestDustMonitorDataReply) String() string { return proto.CompactTextString(m) }
- func (*LatestDustMonitorDataReply) ProtoMessage() {}
- func (*LatestDustMonitorDataReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{2}
- }
- func (m *LatestDustMonitorDataReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LatestDustMonitorDataReply.Unmarshal(m, b)
- }
- func (m *LatestDustMonitorDataReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LatestDustMonitorDataReply.Marshal(b, m, deterministic)
- }
- func (m *LatestDustMonitorDataReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LatestDustMonitorDataReply.Merge(m, src)
- }
- func (m *LatestDustMonitorDataReply) XXX_Size() int {
- return xxx_messageInfo_LatestDustMonitorDataReply.Size(m)
- }
- func (m *LatestDustMonitorDataReply) XXX_DiscardUnknown() {
- xxx_messageInfo_LatestDustMonitorDataReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_LatestDustMonitorDataReply proto.InternalMessageInfo
- func (m *LatestDustMonitorDataReply) GetData() *DustMonitorData {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type DustMonitorHistoryRequest struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type"`
- Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustMonitorHistoryRequest) Reset() { *m = DustMonitorHistoryRequest{} }
- func (m *DustMonitorHistoryRequest) String() string { return proto.CompactTextString(m) }
- func (*DustMonitorHistoryRequest) ProtoMessage() {}
- func (*DustMonitorHistoryRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{3}
- }
- func (m *DustMonitorHistoryRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustMonitorHistoryRequest.Unmarshal(m, b)
- }
- func (m *DustMonitorHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustMonitorHistoryRequest.Marshal(b, m, deterministic)
- }
- func (m *DustMonitorHistoryRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustMonitorHistoryRequest.Merge(m, src)
- }
- func (m *DustMonitorHistoryRequest) XXX_Size() int {
- return xxx_messageInfo_DustMonitorHistoryRequest.Size(m)
- }
- func (m *DustMonitorHistoryRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DustMonitorHistoryRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustMonitorHistoryRequest proto.InternalMessageInfo
- func (m *DustMonitorHistoryRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *DustMonitorHistoryRequest) GetType() int32 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *DustMonitorHistoryRequest) GetTime() int64 {
- if m != nil {
- return m.Time
- }
- return 0
- }
- type DustMonitorHistoryReply struct {
- List []*DustMonitorData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustMonitorHistoryReply) Reset() { *m = DustMonitorHistoryReply{} }
- func (m *DustMonitorHistoryReply) String() string { return proto.CompactTextString(m) }
- func (*DustMonitorHistoryReply) ProtoMessage() {}
- func (*DustMonitorHistoryReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{4}
- }
- func (m *DustMonitorHistoryReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustMonitorHistoryReply.Unmarshal(m, b)
- }
- func (m *DustMonitorHistoryReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustMonitorHistoryReply.Marshal(b, m, deterministic)
- }
- func (m *DustMonitorHistoryReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustMonitorHistoryReply.Merge(m, src)
- }
- func (m *DustMonitorHistoryReply) XXX_Size() int {
- return xxx_messageInfo_DustMonitorHistoryReply.Size(m)
- }
- func (m *DustMonitorHistoryReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DustMonitorHistoryReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustMonitorHistoryReply proto.InternalMessageInfo
- func (m *DustMonitorHistoryReply) GetList() []*DustMonitorData {
- if m != nil {
- return m.List
- }
- return nil
- }
- type DustListRequest struct {
- ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustListRequest) Reset() { *m = DustListRequest{} }
- func (m *DustListRequest) String() string { return proto.CompactTextString(m) }
- func (*DustListRequest) ProtoMessage() {}
- func (*DustListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{5}
- }
- func (m *DustListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustListRequest.Unmarshal(m, b)
- }
- func (m *DustListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustListRequest.Marshal(b, m, deterministic)
- }
- func (m *DustListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustListRequest.Merge(m, src)
- }
- func (m *DustListRequest) XXX_Size() int {
- return xxx_messageInfo_DustListRequest.Size(m)
- }
- func (m *DustListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DustListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustListRequest proto.InternalMessageInfo
- func (m *DustListRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *DustListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DustListRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type DustListItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn"`
- State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state"`
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustListItem) Reset() { *m = DustListItem{} }
- func (m *DustListItem) String() string { return proto.CompactTextString(m) }
- func (*DustListItem) ProtoMessage() {}
- func (*DustListItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{6}
- }
- func (m *DustListItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustListItem.Unmarshal(m, b)
- }
- func (m *DustListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustListItem.Marshal(b, m, deterministic)
- }
- func (m *DustListItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustListItem.Merge(m, src)
- }
- func (m *DustListItem) XXX_Size() int {
- return xxx_messageInfo_DustListItem.Size(m)
- }
- func (m *DustListItem) XXX_DiscardUnknown() {
- xxx_messageInfo_DustListItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustListItem proto.InternalMessageInfo
- func (m *DustListItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DustListItem) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- func (m *DustListItem) GetState() int32 {
- if m != nil {
- return m.State
- }
- return 0
- }
- func (m *DustListItem) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- type DustListReply struct {
- Online int64 `protobuf:"varint,1,opt,name=online,proto3" json:"online"`
- Offline int64 `protobuf:"varint,2,opt,name=offline,proto3" json:"offline"`
- Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
- Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page"`
- PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- List []*DustListItem `protobuf:"bytes,6,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustListReply) Reset() { *m = DustListReply{} }
- func (m *DustListReply) String() string { return proto.CompactTextString(m) }
- func (*DustListReply) ProtoMessage() {}
- func (*DustListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{7}
- }
- func (m *DustListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustListReply.Unmarshal(m, b)
- }
- func (m *DustListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustListReply.Marshal(b, m, deterministic)
- }
- func (m *DustListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustListReply.Merge(m, src)
- }
- func (m *DustListReply) XXX_Size() int {
- return xxx_messageInfo_DustListReply.Size(m)
- }
- func (m *DustListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DustListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustListReply proto.InternalMessageInfo
- func (m *DustListReply) GetOnline() int64 {
- if m != nil {
- return m.Online
- }
- return 0
- }
- func (m *DustListReply) GetOffline() int64 {
- if m != nil {
- return m.Offline
- }
- return 0
- }
- func (m *DustListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *DustListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *DustListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *DustListReply) GetList() []*DustListItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type DustAqiRequest struct {
- Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustAqiRequest) Reset() { *m = DustAqiRequest{} }
- func (m *DustAqiRequest) String() string { return proto.CompactTextString(m) }
- func (*DustAqiRequest) ProtoMessage() {}
- func (*DustAqiRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{8}
- }
- func (m *DustAqiRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustAqiRequest.Unmarshal(m, b)
- }
- func (m *DustAqiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustAqiRequest.Marshal(b, m, deterministic)
- }
- func (m *DustAqiRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustAqiRequest.Merge(m, src)
- }
- func (m *DustAqiRequest) XXX_Size() int {
- return xxx_messageInfo_DustAqiRequest.Size(m)
- }
- func (m *DustAqiRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DustAqiRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustAqiRequest proto.InternalMessageInfo
- func (m *DustAqiRequest) GetSn() string {
- if m != nil {
- return m.Sn
- }
- return ""
- }
- type DustAqiReply struct {
- Aqi float64 `protobuf:"fixed64,1,opt,name=aqi,proto3" json:"aqi"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustAqiReply) Reset() { *m = DustAqiReply{} }
- func (m *DustAqiReply) String() string { return proto.CompactTextString(m) }
- func (*DustAqiReply) ProtoMessage() {}
- func (*DustAqiReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{9}
- }
- func (m *DustAqiReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustAqiReply.Unmarshal(m, b)
- }
- func (m *DustAqiReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustAqiReply.Marshal(b, m, deterministic)
- }
- func (m *DustAqiReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustAqiReply.Merge(m, src)
- }
- func (m *DustAqiReply) XXX_Size() int {
- return xxx_messageInfo_DustAqiReply.Size(m)
- }
- func (m *DustAqiReply) XXX_DiscardUnknown() {
- xxx_messageInfo_DustAqiReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustAqiReply proto.InternalMessageInfo
- func (m *DustAqiReply) GetAqi() float64 {
- if m != nil {
- return m.Aqi
- }
- return 0
- }
- func init() {
- proto.RegisterType((*DustMonitorData)(nil), "v1.DustMonitorData")
- proto.RegisterType((*LatestDustMonitorDataRequest)(nil), "v1.LatestDustMonitorDataRequest")
- proto.RegisterType((*LatestDustMonitorDataReply)(nil), "v1.LatestDustMonitorDataReply")
- proto.RegisterType((*DustMonitorHistoryRequest)(nil), "v1.DustMonitorHistoryRequest")
- proto.RegisterType((*DustMonitorHistoryReply)(nil), "v1.DustMonitorHistoryReply")
- proto.RegisterType((*DustListRequest)(nil), "v1.DustListRequest")
- proto.RegisterType((*DustListItem)(nil), "v1.DustListItem")
- proto.RegisterType((*DustListReply)(nil), "v1.DustListReply")
- proto.RegisterType((*DustAqiRequest)(nil), "v1.DustAqiRequest")
- proto.RegisterType((*DustAqiReply)(nil), "v1.DustAqiReply")
- }
- func init() {
- proto.RegisterFile("dust.proto", fileDescriptor_c1229a132507a4a7)
- }
- var fileDescriptor_c1229a132507a4a7 = []byte{
- // 511 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdb, 0x6e, 0x13, 0x3f,
- 0x10, 0xc6, 0xb5, 0x9b, 0x43, 0x9b, 0xe9, 0xff, 0x5f, 0x22, 0x83, 0xc0, 0x9c, 0xa4, 0xd5, 0x02,
- 0xa2, 0x37, 0x49, 0xd7, 0x1b, 0xf5, 0x01, 0xa8, 0x8a, 0x44, 0xa5, 0x72, 0xb3, 0xbd, 0x41, 0xdc,
- 0x54, 0x0e, 0xeb, 0xa6, 0x46, 0xd9, 0x43, 0xd6, 0x93, 0x44, 0xe9, 0x43, 0xf1, 0x46, 0xbc, 0x0b,
- 0xf2, 0xd8, 0x1b, 0x68, 0x44, 0x2e, 0xb8, 0xca, 0xf8, 0xe7, 0x91, 0xe7, 0xfb, 0xbe, 0x8c, 0x16,
- 0x20, 0x5f, 0x1a, 0x1c, 0xd7, 0x4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