dust.pb.go 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: dust.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type DustData struct {
  20. Pm10Avg float64 `protobuf:"fixed64,1,opt,name=pm10_avg,json=pm10Avg,proto3" json:"pm10_avg"`
  21. Pm25Avg float64 `protobuf:"fixed64,2,opt,name=pm25_avg,json=pm25Avg,proto3" json:"pm25_avg"`
  22. St string `protobuf:"bytes,3,opt,name=st,proto3" json:"st"`
  23. Cn string `protobuf:"bytes,4,opt,name=cn,proto3" json:"cn"`
  24. Mn string `protobuf:"bytes,5,opt,name=mn,proto3" json:"mn"`
  25. DateTime string `protobuf:"bytes,6,opt,name=date_time,json=dateTime,proto3" json:"date_time"`
  26. TspAvg float64 `protobuf:"fixed64,7,opt,name=tsp_avg,json=tspAvg,proto3" json:"tsp_avg"`
  27. T01Avg float64 `protobuf:"fixed64,8,opt,name=t01_avg,json=t01Avg,proto3" json:"t01_avg"`
  28. H01Avg float64 `protobuf:"fixed64,9,opt,name=h01_avg,json=h01Avg,proto3" json:"h01_avg"`
  29. W01Avg float64 `protobuf:"fixed64,10,opt,name=w01_avg,json=w01Avg,proto3" json:"w01_avg"`
  30. W02Avg float64 `protobuf:"fixed64,11,opt,name=w02_avg,json=w02Avg,proto3" json:"w02_avg"`
  31. R01Avg float64 `protobuf:"fixed64,12,opt,name=r01_avg,json=r01Avg,proto3" json:"r01_avg"`
  32. P01Avg float64 `protobuf:"fixed64,13,opt,name=p01_avg,json=p01Avg,proto3" json:"p01_avg"`
  33. B03Avg float64 `protobuf:"fixed64,14,opt,name=b03_avg,json=b03Avg,proto3" json:"b03_avg"`
  34. Lng float64 `protobuf:"fixed64,15,opt,name=lng,proto3" json:"lng"`
  35. Lat float64 `protobuf:"fixed64,16,opt,name=lat,proto3" json:"lat"`
  36. Pm10Flag string `protobuf:"bytes,17,opt,name=pm10_flag,json=pm10Flag,proto3" json:"pm10_flag"`
  37. Pm25Flag string `protobuf:"bytes,18,opt,name=pm25_flag,json=pm25Flag,proto3" json:"pm25_flag"`
  38. TspFlag string `protobuf:"bytes,19,opt,name=tsp_flag,json=tspFlag,proto3" json:"tsp_flag"`
  39. T01Flag string `protobuf:"bytes,20,opt,name=t01_flag,json=t01Flag,proto3" json:"t01_flag"`
  40. H01Flag string `protobuf:"bytes,21,opt,name=h01_flag,json=h01Flag,proto3" json:"h01_flag"`
  41. W01Flag string `protobuf:"bytes,22,opt,name=w01_flag,json=w01Flag,proto3" json:"w01_flag"`
  42. W02Flag string `protobuf:"bytes,23,opt,name=w02_flag,json=w02Flag,proto3" json:"w02_flag"`
  43. R01Flag string `protobuf:"bytes,24,opt,name=r01_flag,json=r01Flag,proto3" json:"r01_flag"`
  44. P01Flag string `protobuf:"bytes,25,opt,name=p01_flag,json=p01Flag,proto3" json:"p01_flag"`
  45. B03Flag string `protobuf:"bytes,26,opt,name=b03_flag,json=b03Flag,proto3" json:"b03_flag"`
  46. W03Avg float64 `protobuf:"fixed64,27,opt,name=w03_avg,json=w03Avg,proto3" json:"w03_avg"`
  47. W03Flag string `protobuf:"bytes,28,opt,name=w03_flag,json=w03Flag,proto3" json:"w03_flag"`
  48. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  49. XXX_unrecognized []byte `json:"-"`
  50. XXX_sizecache int32 `json:"-"`
  51. }
  52. func (m *DustData) Reset() { *m = DustData{} }
  53. func (m *DustData) String() string { return proto.CompactTextString(m) }
  54. func (*DustData) ProtoMessage() {}
  55. func (*DustData) Descriptor() ([]byte, []int) {
  56. return fileDescriptor_c1229a132507a4a7, []int{0}
  57. }
  58. func (m *DustData) XXX_Unmarshal(b []byte) error {
  59. return xxx_messageInfo_DustData.Unmarshal(m, b)
  60. }
  61. func (m *DustData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  62. return xxx_messageInfo_DustData.Marshal(b, m, deterministic)
  63. }
  64. func (m *DustData) XXX_Merge(src proto.Message) {
  65. xxx_messageInfo_DustData.Merge(m, src)
  66. }
  67. func (m *DustData) XXX_Size() int {
  68. return xxx_messageInfo_DustData.Size(m)
  69. }
  70. func (m *DustData) XXX_DiscardUnknown() {
  71. xxx_messageInfo_DustData.DiscardUnknown(m)
  72. }
  73. var xxx_messageInfo_DustData proto.InternalMessageInfo
  74. func (m *DustData) GetPm10Avg() float64 {
  75. if m != nil {
  76. return m.Pm10Avg
  77. }
  78. return 0
  79. }
  80. func (m *DustData) GetPm25Avg() float64 {
  81. if m != nil {
  82. return m.Pm25Avg
  83. }
  84. return 0
  85. }
  86. func (m *DustData) GetSt() string {
  87. if m != nil {
  88. return m.St
  89. }
  90. return ""
  91. }
  92. func (m *DustData) GetCn() string {
  93. if m != nil {
  94. return m.Cn
  95. }
  96. return ""
  97. }
  98. func (m *DustData) GetMn() string {
  99. if m != nil {
  100. return m.Mn
  101. }
  102. return ""
  103. }
  104. func (m *DustData) GetDateTime() string {
  105. if m != nil {
  106. return m.DateTime
  107. }
  108. return ""
  109. }
  110. func (m *DustData) GetTspAvg() float64 {
  111. if m != nil {
  112. return m.TspAvg
  113. }
  114. return 0
  115. }
  116. func (m *DustData) GetT01Avg() float64 {
  117. if m != nil {
  118. return m.T01Avg
  119. }
  120. return 0
  121. }
  122. func (m *DustData) GetH01Avg() float64 {
  123. if m != nil {
  124. return m.H01Avg
  125. }
  126. return 0
  127. }
  128. func (m *DustData) GetW01Avg() float64 {
  129. if m != nil {
  130. return m.W01Avg
  131. }
  132. return 0
  133. }
  134. func (m *DustData) GetW02Avg() float64 {
  135. if m != nil {
  136. return m.W02Avg
  137. }
  138. return 0
  139. }
  140. func (m *DustData) GetR01Avg() float64 {
  141. if m != nil {
  142. return m.R01Avg
  143. }
  144. return 0
  145. }
  146. func (m *DustData) GetP01Avg() float64 {
  147. if m != nil {
  148. return m.P01Avg
  149. }
  150. return 0
  151. }
  152. func (m *DustData) GetB03Avg() float64 {
  153. if m != nil {
  154. return m.B03Avg
  155. }
  156. return 0
  157. }
  158. func (m *DustData) GetLng() float64 {
  159. if m != nil {
  160. return m.Lng
  161. }
  162. return 0
  163. }
  164. func (m *DustData) GetLat() float64 {
  165. if m != nil {
  166. return m.Lat
  167. }
  168. return 0
  169. }
  170. func (m *DustData) GetPm10Flag() string {
  171. if m != nil {
  172. return m.Pm10Flag
  173. }
  174. return ""
  175. }
  176. func (m *DustData) GetPm25Flag() string {
  177. if m != nil {
  178. return m.Pm25Flag
  179. }
  180. return ""
  181. }
  182. func (m *DustData) GetTspFlag() string {
  183. if m != nil {
  184. return m.TspFlag
  185. }
  186. return ""
  187. }
  188. func (m *DustData) GetT01Flag() string {
  189. if m != nil {
  190. return m.T01Flag
  191. }
  192. return ""
  193. }
  194. func (m *DustData) GetH01Flag() string {
  195. if m != nil {
  196. return m.H01Flag
  197. }
  198. return ""
  199. }
  200. func (m *DustData) GetW01Flag() string {
  201. if m != nil {
  202. return m.W01Flag
  203. }
  204. return ""
  205. }
  206. func (m *DustData) GetW02Flag() string {
  207. if m != nil {
  208. return m.W02Flag
  209. }
  210. return ""
  211. }
  212. func (m *DustData) GetR01Flag() string {
  213. if m != nil {
  214. return m.R01Flag
  215. }
  216. return ""
  217. }
  218. func (m *DustData) GetP01Flag() string {
  219. if m != nil {
  220. return m.P01Flag
  221. }
  222. return ""
  223. }
  224. func (m *DustData) GetB03Flag() string {
  225. if m != nil {
  226. return m.B03Flag
  227. }
  228. return ""
  229. }
  230. func (m *DustData) GetW03Avg() float64 {
  231. if m != nil {
  232. return m.W03Avg
  233. }
  234. return 0
  235. }
  236. func (m *DustData) GetW03Flag() string {
  237. if m != nil {
  238. return m.W03Flag
  239. }
  240. return ""
  241. }
  242. func init() {
  243. proto.RegisterType((*DustData)(nil), "v1.DustData")
  244. }
  245. func init() {
  246. proto.RegisterFile("dust.proto", fileDescriptor_c1229a132507a4a7)
  247. }
  248. var fileDescriptor_c1229a132507a4a7 = []byte{
  249. // 363 bytes of a gzipped FileDescriptorProto
  250. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xd2, 0xd1, 0x4e, 0xc2, 0x30,
  251. 0x14, 0x06, 0xe0, 0x6c, 0x08, 0x8c, 0xaa, 0x88, 0x13, 0xa5, 0x88, 0x17, 0xc4, 0x2b, 0x6e, 0x94,
  252. 0xae, 0xcb, 0x1e, 0x40, 0x43, 0x7c, 0x00, 0xe2, 0x95, 0x37, 0xa4, 0x03, 0xdc, 0x48, 0xd8, 0xd6,
  253. 0x6c, 0x65, 0x7b, 0x3c, 0x5f, 0xcd, 0xf4, 0x9c, 0x76, 0x70, 0xb7, 0x73, 0xbe, 0xfc, 0xe9, 0xf2,
  254. 0xb7, 0x84, 0xec, 0x4e, 0x95, 0x7a, 0x97, 0x65, 0xa1, 0x0a, 0xdf, 0xad, 0x83, 0xd7, 0xbf, 0x2e,
  255. 0xf1, 0x56, 0xa7, 0x4a, 0xad, 0x84, 0x12, 0xfe, 0x94, 0x78, 0x32, 0x0b, 0xd8, 0x46, 0xd4, 0x09,
  256. 0x75, 0xe6, 0xce, 0xc2, 0x59, 0xf7, 0xf5, 0xfc, 0x51, 0x27, 0x48, 0x3c, 0x02, 0x72, 0x2d, 0xf1,
  257. 0x48, 0xd3, 0x90, 0xb8, 0x95, 0xa2, 0x9d, 0xb9, 0xb3, 0x18, 0xac, 0xdd, 0x4a, 0xe9, 0x79, 0x9b,
  258. 0xd3, 0x2b, 0x9c, 0xb7, 0xb9, 0x9e, 0xb3, 0x9c, 0x76, 0x71, 0xce, 0x72, 0x7f, 0x46, 0x06, 0x3b,
  259. 0xa1, 0xf6, 0x1b, 0x75, 0xc8, 0xf6, 0xb4, 0x07, 0x6b, 0x4f, 0x2f, 0xbe, 0x0f, 0xd9, 0xde, 0x9f,
  260. 0x90, 0xbe, 0xaa, 0x24, 0x1c, 0xd3, 0x87, 0x63, 0x7a, 0xaa, 0x92, 0xfa, 0x14, 0x0d, 0x2c, 0x00,
  261. 0xf0, 0x0c, 0xb0, 0xc0, 0x40, 0x6a, 0x60, 0x80, 0x90, 0xb6, 0xd0, 0x18, 0x20, 0x08, 0xcd, 0x05,
  262. 0x70, 0x80, 0x6b, 0x0b, 0xdc, 0x40, 0x69, 0x12, 0x37, 0x08, 0x65, 0x9b, 0x90, 0x06, 0x6e, 0x11,
  263. 0x64, 0x0b, 0x31, 0x0b, 0x01, 0x86, 0x08, 0x31, 0x0b, 0x35, 0x8c, 0x48, 0xe7, 0x98, 0x27, 0xf4,
  264. 0x0e, 0x96, 0xfa, 0x13, 0x36, 0x42, 0xd1, 0x91, 0xd9, 0x08, 0xa5, 0x8b, 0x80, 0xba, 0x7f, 0x8f,
  265. 0x22, 0xa1, 0xf7, 0x58, 0x84, 0x5e, 0x7c, 0x1d, 0x45, 0x82, 0xc8, 0x23, 0x44, 0xdf, 0x22, 0x8f,
  266. 0x00, 0xa7, 0xc4, 0xd3, 0x2d, 0x81, 0x3d, 0x80, 0xe9, 0xd6, 0x5a, 0x62, 0x01, 0xd2, 0xd8, 0x10,
  267. 0x0b, 0x2c, 0xa5, 0x96, 0x1e, 0x91, 0xd2, 0x33, 0x35, 0x96, 0x9e, 0x90, 0x9a, 0x4b, 0xe2, 0x48,
  268. 0x13, 0x4b, 0xdc, 0x52, 0x69, 0x53, 0x14, 0xa9, 0x3c, 0xa7, 0xa4, 0xa5, 0x29, 0x92, 0x3c, 0x93,
  269. 0xee, 0x0c, 0xe8, 0x19, 0x29, 0x66, 0x21, 0x10, 0xdc, 0x0c, 0xd6, 0x39, 0xb3, 0x37, 0x13, 0x9a,
  270. 0xe7, 0xd7, 0xd8, 0xcc, 0x8b, 0xfd, 0x09, 0xc8, 0x7c, 0x8e, 0x7f, 0x7c, 0xfd, 0xa6, 0xdf, 0xb2,
  271. 0x22, 0x3f, 0xa8, 0xa2, 0x5c, 0xca, 0x78, 0x59, 0x07, 0x71, 0x0f, 0x9e, 0x78, 0xf8, 0x1f, 0x00,
  272. 0x00, 0xff, 0xff, 0xfc, 0x71, 0xfd, 0xe6, 0xf0, 0x02, 0x00, 0x00,
  273. }