123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 |
- // 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 DustData struct {
- Pm10Avg float64 `protobuf:"fixed64,1,opt,name=pm10_avg,json=pm10Avg,proto3" json:"pm10_avg"`
- Pm25Avg float64 `protobuf:"fixed64,2,opt,name=pm25_avg,json=pm25Avg,proto3" json:"pm25_avg"`
- St string `protobuf:"bytes,3,opt,name=st,proto3" json:"st"`
- Cn string `protobuf:"bytes,4,opt,name=cn,proto3" json:"cn"`
- Mn string `protobuf:"bytes,5,opt,name=mn,proto3" json:"mn"`
- DateTime string `protobuf:"bytes,6,opt,name=date_time,json=dateTime,proto3" json:"date_time"`
- TspAvg float64 `protobuf:"fixed64,7,opt,name=tsp_avg,json=tspAvg,proto3" json:"tsp_avg"`
- T01Avg float64 `protobuf:"fixed64,8,opt,name=t01_avg,json=t01Avg,proto3" json:"t01_avg"`
- H01Avg float64 `protobuf:"fixed64,9,opt,name=h01_avg,json=h01Avg,proto3" json:"h01_avg"`
- W01Avg float64 `protobuf:"fixed64,10,opt,name=w01_avg,json=w01Avg,proto3" json:"w01_avg"`
- W02Avg float64 `protobuf:"fixed64,11,opt,name=w02_avg,json=w02Avg,proto3" json:"w02_avg"`
- R01Avg float64 `protobuf:"fixed64,12,opt,name=r01_avg,json=r01Avg,proto3" json:"r01_avg"`
- P01Avg float64 `protobuf:"fixed64,13,opt,name=p01_avg,json=p01Avg,proto3" json:"p01_avg"`
- B03Avg float64 `protobuf:"fixed64,14,opt,name=b03_avg,json=b03Avg,proto3" json:"b03_avg"`
- Lng float64 `protobuf:"fixed64,15,opt,name=lng,proto3" json:"lng"`
- Lat float64 `protobuf:"fixed64,16,opt,name=lat,proto3" json:"lat"`
- Pm10Flag string `protobuf:"bytes,17,opt,name=pm10_flag,json=pm10Flag,proto3" json:"pm10_flag"`
- Pm25Flag string `protobuf:"bytes,18,opt,name=pm25_flag,json=pm25Flag,proto3" json:"pm25_flag"`
- TspFlag string `protobuf:"bytes,19,opt,name=tsp_flag,json=tspFlag,proto3" json:"tsp_flag"`
- T01Flag string `protobuf:"bytes,20,opt,name=t01_flag,json=t01Flag,proto3" json:"t01_flag"`
- H01Flag string `protobuf:"bytes,21,opt,name=h01_flag,json=h01Flag,proto3" json:"h01_flag"`
- W01Flag string `protobuf:"bytes,22,opt,name=w01_flag,json=w01Flag,proto3" json:"w01_flag"`
- W02Flag string `protobuf:"bytes,23,opt,name=w02_flag,json=w02Flag,proto3" json:"w02_flag"`
- R01Flag string `protobuf:"bytes,24,opt,name=r01_flag,json=r01Flag,proto3" json:"r01_flag"`
- P01Flag string `protobuf:"bytes,25,opt,name=p01_flag,json=p01Flag,proto3" json:"p01_flag"`
- B03Flag string `protobuf:"bytes,26,opt,name=b03_flag,json=b03Flag,proto3" json:"b03_flag"`
- W03Avg float64 `protobuf:"fixed64,27,opt,name=w03_avg,json=w03Avg,proto3" json:"w03_avg"`
- W03Flag string `protobuf:"bytes,28,opt,name=w03_flag,json=w03Flag,proto3" json:"w03_flag"`
- Ecode string `protobuf:"bytes,29,opt,name=ecode,proto3" json:"ecode"`
- Spray int32 `protobuf:"varint,30,opt,name=spray,proto3" json:"spray"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustData) Reset() { *m = DustData{} }
- func (m *DustData) String() string { return proto.CompactTextString(m) }
- func (*DustData) ProtoMessage() {}
- func (*DustData) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{0}
- }
- func (m *DustData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustData.Unmarshal(m, b)
- }
- func (m *DustData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustData.Marshal(b, m, deterministic)
- }
- func (m *DustData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustData.Merge(m, src)
- }
- func (m *DustData) XXX_Size() int {
- return xxx_messageInfo_DustData.Size(m)
- }
- func (m *DustData) XXX_DiscardUnknown() {
- xxx_messageInfo_DustData.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustData proto.InternalMessageInfo
- func (m *DustData) GetPm10Avg() float64 {
- if m != nil {
- return m.Pm10Avg
- }
- return 0
- }
- func (m *DustData) GetPm25Avg() float64 {
- if m != nil {
- return m.Pm25Avg
- }
- return 0
- }
- func (m *DustData) GetSt() string {
- if m != nil {
- return m.St
- }
- return ""
- }
- func (m *DustData) GetCn() string {
- if m != nil {
- return m.Cn
- }
- return ""
- }
- func (m *DustData) GetMn() string {
- if m != nil {
- return m.Mn
- }
- return ""
- }
- func (m *DustData) GetDateTime() string {
- if m != nil {
- return m.DateTime
- }
- return ""
- }
- func (m *DustData) GetTspAvg() float64 {
- if m != nil {
- return m.TspAvg
- }
- return 0
- }
- func (m *DustData) GetT01Avg() float64 {
- if m != nil {
- return m.T01Avg
- }
- return 0
- }
- func (m *DustData) GetH01Avg() float64 {
- if m != nil {
- return m.H01Avg
- }
- return 0
- }
- func (m *DustData) GetW01Avg() float64 {
- if m != nil {
- return m.W01Avg
- }
- return 0
- }
- func (m *DustData) GetW02Avg() float64 {
- if m != nil {
- return m.W02Avg
- }
- return 0
- }
- func (m *DustData) GetR01Avg() float64 {
- if m != nil {
- return m.R01Avg
- }
- return 0
- }
- func (m *DustData) GetP01Avg() float64 {
- if m != nil {
- return m.P01Avg
- }
- return 0
- }
- func (m *DustData) GetB03Avg() float64 {
- if m != nil {
- return m.B03Avg
- }
- return 0
- }
- func (m *DustData) GetLng() float64 {
- if m != nil {
- return m.Lng
- }
- return 0
- }
- func (m *DustData) GetLat() float64 {
- if m != nil {
- return m.Lat
- }
- return 0
- }
- func (m *DustData) GetPm10Flag() string {
- if m != nil {
- return m.Pm10Flag
- }
- return ""
- }
- func (m *DustData) GetPm25Flag() string {
- if m != nil {
- return m.Pm25Flag
- }
- return ""
- }
- func (m *DustData) GetTspFlag() string {
- if m != nil {
- return m.TspFlag
- }
- return ""
- }
- func (m *DustData) GetT01Flag() string {
- if m != nil {
- return m.T01Flag
- }
- return ""
- }
- func (m *DustData) GetH01Flag() string {
- if m != nil {
- return m.H01Flag
- }
- return ""
- }
- func (m *DustData) GetW01Flag() string {
- if m != nil {
- return m.W01Flag
- }
- return ""
- }
- func (m *DustData) GetW02Flag() string {
- if m != nil {
- return m.W02Flag
- }
- return ""
- }
- func (m *DustData) GetR01Flag() string {
- if m != nil {
- return m.R01Flag
- }
- return ""
- }
- func (m *DustData) GetP01Flag() string {
- if m != nil {
- return m.P01Flag
- }
- return ""
- }
- func (m *DustData) GetB03Flag() string {
- if m != nil {
- return m.B03Flag
- }
- return ""
- }
- func (m *DustData) GetW03Avg() float64 {
- if m != nil {
- return m.W03Avg
- }
- return 0
- }
- func (m *DustData) GetW03Flag() string {
- if m != nil {
- return m.W03Flag
- }
- return ""
- }
- func (m *DustData) GetEcode() string {
- if m != nil {
- return m.Ecode
- }
- return ""
- }
- func (m *DustData) GetSpray() int32 {
- if m != nil {
- return m.Spray
- }
- return 0
- }
- func init() {
- proto.RegisterType((*DustData)(nil), "v1.DustData")
- }
- func init() {
- proto.RegisterFile("dust.proto", fileDescriptor_c1229a132507a4a7)
- }
- var fileDescriptor_c1229a132507a4a7 = []byte{
- // 391 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xd3, 0xd1, 0xce, 0xd2, 0x30,
- 0x14, 0x07, 0xf0, 0x6c, 0x9f, 0x83, 0x51, 0xf5, 0xf3, 0x73, 0xa2, 0x14, 0x51, 0x43, 0xbc, 0xe2,
- 0x46, 0xe9, 0xba, 0xec, 0x01, 0x34, 0xc4, 0x07, 0x20, 0x5e, 0x79, 0x43, 0x3a, 0x98, 0x1b, 0x09,
- 0xdb, 0x9a, 0xad, 0x6c, 0xf1, 0x99, 0x7d, 0x89, 0x2f, 0xe7, 0x9c, 0x76, 0x70, 0xc7, 0xf9, 0xff,
- 0x72, 0x52, 0xf2, 0x6f, 0xc7, 0xd8, 0xe9, 0xda, 0x99, 0xef, 0xba, 0x6d, 0x4c, 0x13, 0xf9, 0x7d,
- 0xfc, 0xf5, 0x7f, 0xc0, 0xc2, 0xdd, 0xb5, 0x33, 0x3b, 0x65, 0x54, 0xb4, 0x64, 0xa1, 0xae, 0x62,
- 0x71, 0x50, 0x7d, 0xc1, 0xbd, 0xb5, 0xb7, 0xf1, 0xf6, 0x53, 0x98, 0x7f, 0xf4, 0x05, 0x91, 0x4c,
- 0x91, 0x7c, 0x47, 0x32, 0x05, 0x7a, 0x64, 0x7e, 0x67, 0xf8, 0xc3, 0xda, 0xdb, 0xcc, 0xf6, 0x7e,
- 0x67, 0x60, 0x3e, 0xd6, 0xfc, 0x05, 0xcd, 0xc7, 0x1a, 0xe6, 0xaa, 0xe6, 0x01, 0xcd, 0x55, 0x1d,
- 0xad, 0xd8, 0xec, 0xa4, 0x4c, 0x7e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, 0xce, 0x82, 0xfc,
- 0xd8, 0x9c, 0x72, 0xfe, 0x19, 0x73, 0x1a, 0x20, 0xed, 0x74, 0xab, 0xfe, 0xf1, 0x2f, 0x6b, 0x6f,
- 0x13, 0xec, 0x69, 0xf8, 0x39, 0xff, 0x13, 0xc1, 0xfb, 0xff, 0x56, 0x35, 0xf5, 0xd9, 0x34, 0xed,
- 0x56, 0x67, 0xdb, 0x3e, 0xce, 0x26, 0xf8, 0x39, 0x24, 0xcf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x36,
- 0x14, 0x6a, 0x26, 0x1c, 0x03, 0x00, 0x00,
- }
|