alarm.pb.go 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: alarm.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 AlarmListRequest struct {
  20. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  21. Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start"`
  22. End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"`
  23. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  24. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
  25. IsHandle int32 `protobuf:"varint,6,opt,name=is_handle,json=isHandle,proto3" json:"is_handle"`
  26. ProjectId int64 `protobuf:"varint,7,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  27. DeviceCode int32 `protobuf:"varint,8,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *AlarmListRequest) Reset() { *m = AlarmListRequest{} }
  33. func (m *AlarmListRequest) String() string { return proto.CompactTextString(m) }
  34. func (*AlarmListRequest) ProtoMessage() {}
  35. func (*AlarmListRequest) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_4a4142572412ce8e, []int{0}
  37. }
  38. func (m *AlarmListRequest) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_AlarmListRequest.Unmarshal(m, b)
  40. }
  41. func (m *AlarmListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_AlarmListRequest.Marshal(b, m, deterministic)
  43. }
  44. func (m *AlarmListRequest) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_AlarmListRequest.Merge(m, src)
  46. }
  47. func (m *AlarmListRequest) XXX_Size() int {
  48. return xxx_messageInfo_AlarmListRequest.Size(m)
  49. }
  50. func (m *AlarmListRequest) XXX_DiscardUnknown() {
  51. xxx_messageInfo_AlarmListRequest.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_AlarmListRequest proto.InternalMessageInfo
  54. func (m *AlarmListRequest) GetPage() int32 {
  55. if m != nil {
  56. return m.Page
  57. }
  58. return 0
  59. }
  60. func (m *AlarmListRequest) GetStart() int64 {
  61. if m != nil {
  62. return m.Start
  63. }
  64. return 0
  65. }
  66. func (m *AlarmListRequest) GetEnd() int64 {
  67. if m != nil {
  68. return m.End
  69. }
  70. return 0
  71. }
  72. func (m *AlarmListRequest) GetPageSize() int32 {
  73. if m != nil {
  74. return m.PageSize
  75. }
  76. return 0
  77. }
  78. func (m *AlarmListRequest) GetFilter() string {
  79. if m != nil {
  80. return m.Filter
  81. }
  82. return ""
  83. }
  84. func (m *AlarmListRequest) GetIsHandle() int32 {
  85. if m != nil {
  86. return m.IsHandle
  87. }
  88. return 0
  89. }
  90. func (m *AlarmListRequest) GetProjectId() int64 {
  91. if m != nil {
  92. return m.ProjectId
  93. }
  94. return 0
  95. }
  96. func (m *AlarmListRequest) GetDeviceCode() int32 {
  97. if m != nil {
  98. return m.DeviceCode
  99. }
  100. return 0
  101. }
  102. type AlarmItem struct {
  103. Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
  104. ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  105. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason"`
  106. IsHandled bool `protobuf:"varint,4,opt,name=is_handled,json=isHandled,proto3" json:"is_handled"`
  107. Time string `protobuf:"bytes,5,opt,name=time,proto3" json:"time"`
  108. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
  109. TypeName string `protobuf:"bytes,7,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  110. Id int64 `protobuf:"varint,8,opt,name=id,proto3" json:"id"`
  111. ProjectName string `protobuf:"bytes,9,opt,name=project_name,json=projectName,proto3" json:"project_name"`
  112. SafetyRecordNo string `protobuf:"bytes,10,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
  113. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  114. XXX_unrecognized []byte `json:"-"`
  115. XXX_sizecache int32 `json:"-"`
  116. }
  117. func (m *AlarmItem) Reset() { *m = AlarmItem{} }
  118. func (m *AlarmItem) String() string { return proto.CompactTextString(m) }
  119. func (*AlarmItem) ProtoMessage() {}
  120. func (*AlarmItem) Descriptor() ([]byte, []int) {
  121. return fileDescriptor_4a4142572412ce8e, []int{1}
  122. }
  123. func (m *AlarmItem) XXX_Unmarshal(b []byte) error {
  124. return xxx_messageInfo_AlarmItem.Unmarshal(m, b)
  125. }
  126. func (m *AlarmItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  127. return xxx_messageInfo_AlarmItem.Marshal(b, m, deterministic)
  128. }
  129. func (m *AlarmItem) XXX_Merge(src proto.Message) {
  130. xxx_messageInfo_AlarmItem.Merge(m, src)
  131. }
  132. func (m *AlarmItem) XXX_Size() int {
  133. return xxx_messageInfo_AlarmItem.Size(m)
  134. }
  135. func (m *AlarmItem) XXX_DiscardUnknown() {
  136. xxx_messageInfo_AlarmItem.DiscardUnknown(m)
  137. }
  138. var xxx_messageInfo_AlarmItem proto.InternalMessageInfo
  139. func (m *AlarmItem) GetSn() string {
  140. if m != nil {
  141. return m.Sn
  142. }
  143. return ""
  144. }
  145. func (m *AlarmItem) GetProjectId() int64 {
  146. if m != nil {
  147. return m.ProjectId
  148. }
  149. return 0
  150. }
  151. func (m *AlarmItem) GetReason() string {
  152. if m != nil {
  153. return m.Reason
  154. }
  155. return ""
  156. }
  157. func (m *AlarmItem) GetIsHandled() bool {
  158. if m != nil {
  159. return m.IsHandled
  160. }
  161. return false
  162. }
  163. func (m *AlarmItem) GetTime() string {
  164. if m != nil {
  165. return m.Time
  166. }
  167. return ""
  168. }
  169. func (m *AlarmItem) GetName() string {
  170. if m != nil {
  171. return m.Name
  172. }
  173. return ""
  174. }
  175. func (m *AlarmItem) GetTypeName() string {
  176. if m != nil {
  177. return m.TypeName
  178. }
  179. return ""
  180. }
  181. func (m *AlarmItem) GetId() int64 {
  182. if m != nil {
  183. return m.Id
  184. }
  185. return 0
  186. }
  187. func (m *AlarmItem) GetProjectName() string {
  188. if m != nil {
  189. return m.ProjectName
  190. }
  191. return ""
  192. }
  193. func (m *AlarmItem) GetSafetyRecordNo() string {
  194. if m != nil {
  195. return m.SafetyRecordNo
  196. }
  197. return ""
  198. }
  199. type AlarmListReply struct {
  200. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  201. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  202. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  203. List []*AlarmItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
  204. HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more"`
  205. Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp"`
  206. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  207. XXX_unrecognized []byte `json:"-"`
  208. XXX_sizecache int32 `json:"-"`
  209. }
  210. func (m *AlarmListReply) Reset() { *m = AlarmListReply{} }
  211. func (m *AlarmListReply) String() string { return proto.CompactTextString(m) }
  212. func (*AlarmListReply) ProtoMessage() {}
  213. func (*AlarmListReply) Descriptor() ([]byte, []int) {
  214. return fileDescriptor_4a4142572412ce8e, []int{2}
  215. }
  216. func (m *AlarmListReply) XXX_Unmarshal(b []byte) error {
  217. return xxx_messageInfo_AlarmListReply.Unmarshal(m, b)
  218. }
  219. func (m *AlarmListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  220. return xxx_messageInfo_AlarmListReply.Marshal(b, m, deterministic)
  221. }
  222. func (m *AlarmListReply) XXX_Merge(src proto.Message) {
  223. xxx_messageInfo_AlarmListReply.Merge(m, src)
  224. }
  225. func (m *AlarmListReply) XXX_Size() int {
  226. return xxx_messageInfo_AlarmListReply.Size(m)
  227. }
  228. func (m *AlarmListReply) XXX_DiscardUnknown() {
  229. xxx_messageInfo_AlarmListReply.DiscardUnknown(m)
  230. }
  231. var xxx_messageInfo_AlarmListReply proto.InternalMessageInfo
  232. func (m *AlarmListReply) GetTotal() int64 {
  233. if m != nil {
  234. return m.Total
  235. }
  236. return 0
  237. }
  238. func (m *AlarmListReply) GetPage() int32 {
  239. if m != nil {
  240. return m.Page
  241. }
  242. return 0
  243. }
  244. func (m *AlarmListReply) GetPageSize() int32 {
  245. if m != nil {
  246. return m.PageSize
  247. }
  248. return 0
  249. }
  250. func (m *AlarmListReply) GetList() []*AlarmItem {
  251. if m != nil {
  252. return m.List
  253. }
  254. return nil
  255. }
  256. func (m *AlarmListReply) GetHasMore() bool {
  257. if m != nil {
  258. return m.HasMore
  259. }
  260. return false
  261. }
  262. func (m *AlarmListReply) GetTimestamp() int64 {
  263. if m != nil {
  264. return m.Timestamp
  265. }
  266. return 0
  267. }
  268. type AlarmHandleRequest struct {
  269. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  270. // true 已处理 false 未处理
  271. Handle bool `protobuf:"varint,2,opt,name=handle,proto3" json:"handle"`
  272. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  273. XXX_unrecognized []byte `json:"-"`
  274. XXX_sizecache int32 `json:"-"`
  275. }
  276. func (m *AlarmHandleRequest) Reset() { *m = AlarmHandleRequest{} }
  277. func (m *AlarmHandleRequest) String() string { return proto.CompactTextString(m) }
  278. func (*AlarmHandleRequest) ProtoMessage() {}
  279. func (*AlarmHandleRequest) Descriptor() ([]byte, []int) {
  280. return fileDescriptor_4a4142572412ce8e, []int{3}
  281. }
  282. func (m *AlarmHandleRequest) XXX_Unmarshal(b []byte) error {
  283. return xxx_messageInfo_AlarmHandleRequest.Unmarshal(m, b)
  284. }
  285. func (m *AlarmHandleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  286. return xxx_messageInfo_AlarmHandleRequest.Marshal(b, m, deterministic)
  287. }
  288. func (m *AlarmHandleRequest) XXX_Merge(src proto.Message) {
  289. xxx_messageInfo_AlarmHandleRequest.Merge(m, src)
  290. }
  291. func (m *AlarmHandleRequest) XXX_Size() int {
  292. return xxx_messageInfo_AlarmHandleRequest.Size(m)
  293. }
  294. func (m *AlarmHandleRequest) XXX_DiscardUnknown() {
  295. xxx_messageInfo_AlarmHandleRequest.DiscardUnknown(m)
  296. }
  297. var xxx_messageInfo_AlarmHandleRequest proto.InternalMessageInfo
  298. func (m *AlarmHandleRequest) GetId() int64 {
  299. if m != nil {
  300. return m.Id
  301. }
  302. return 0
  303. }
  304. func (m *AlarmHandleRequest) GetHandle() bool {
  305. if m != nil {
  306. return m.Handle
  307. }
  308. return false
  309. }
  310. type AlarmHandleReply struct {
  311. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  312. XXX_unrecognized []byte `json:"-"`
  313. XXX_sizecache int32 `json:"-"`
  314. }
  315. func (m *AlarmHandleReply) Reset() { *m = AlarmHandleReply{} }
  316. func (m *AlarmHandleReply) String() string { return proto.CompactTextString(m) }
  317. func (*AlarmHandleReply) ProtoMessage() {}
  318. func (*AlarmHandleReply) Descriptor() ([]byte, []int) {
  319. return fileDescriptor_4a4142572412ce8e, []int{4}
  320. }
  321. func (m *AlarmHandleReply) XXX_Unmarshal(b []byte) error {
  322. return xxx_messageInfo_AlarmHandleReply.Unmarshal(m, b)
  323. }
  324. func (m *AlarmHandleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  325. return xxx_messageInfo_AlarmHandleReply.Marshal(b, m, deterministic)
  326. }
  327. func (m *AlarmHandleReply) XXX_Merge(src proto.Message) {
  328. xxx_messageInfo_AlarmHandleReply.Merge(m, src)
  329. }
  330. func (m *AlarmHandleReply) XXX_Size() int {
  331. return xxx_messageInfo_AlarmHandleReply.Size(m)
  332. }
  333. func (m *AlarmHandleReply) XXX_DiscardUnknown() {
  334. xxx_messageInfo_AlarmHandleReply.DiscardUnknown(m)
  335. }
  336. var xxx_messageInfo_AlarmHandleReply proto.InternalMessageInfo
  337. type AlarmProjectRequest struct {
  338. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  339. XXX_unrecognized []byte `json:"-"`
  340. XXX_sizecache int32 `json:"-"`
  341. }
  342. func (m *AlarmProjectRequest) Reset() { *m = AlarmProjectRequest{} }
  343. func (m *AlarmProjectRequest) String() string { return proto.CompactTextString(m) }
  344. func (*AlarmProjectRequest) ProtoMessage() {}
  345. func (*AlarmProjectRequest) Descriptor() ([]byte, []int) {
  346. return fileDescriptor_4a4142572412ce8e, []int{5}
  347. }
  348. func (m *AlarmProjectRequest) XXX_Unmarshal(b []byte) error {
  349. return xxx_messageInfo_AlarmProjectRequest.Unmarshal(m, b)
  350. }
  351. func (m *AlarmProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  352. return xxx_messageInfo_AlarmProjectRequest.Marshal(b, m, deterministic)
  353. }
  354. func (m *AlarmProjectRequest) XXX_Merge(src proto.Message) {
  355. xxx_messageInfo_AlarmProjectRequest.Merge(m, src)
  356. }
  357. func (m *AlarmProjectRequest) XXX_Size() int {
  358. return xxx_messageInfo_AlarmProjectRequest.Size(m)
  359. }
  360. func (m *AlarmProjectRequest) XXX_DiscardUnknown() {
  361. xxx_messageInfo_AlarmProjectRequest.DiscardUnknown(m)
  362. }
  363. var xxx_messageInfo_AlarmProjectRequest proto.InternalMessageInfo
  364. type AlarmProjectItem struct {
  365. ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  366. // 预警总数
  367. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  368. // 处理总数
  369. Handled int64 `protobuf:"varint,3,opt,name=handled,proto3" json:"handled"`
  370. // 整改率
  371. Percent string `protobuf:"bytes,4,opt,name=percent,proto3" json:"percent"`
  372. ProjectName string `protobuf:"bytes,5,opt,name=project_name,json=projectName,proto3" json:"project_name"`
  373. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  374. XXX_unrecognized []byte `json:"-"`
  375. XXX_sizecache int32 `json:"-"`
  376. }
  377. func (m *AlarmProjectItem) Reset() { *m = AlarmProjectItem{} }
  378. func (m *AlarmProjectItem) String() string { return proto.CompactTextString(m) }
  379. func (*AlarmProjectItem) ProtoMessage() {}
  380. func (*AlarmProjectItem) Descriptor() ([]byte, []int) {
  381. return fileDescriptor_4a4142572412ce8e, []int{6}
  382. }
  383. func (m *AlarmProjectItem) XXX_Unmarshal(b []byte) error {
  384. return xxx_messageInfo_AlarmProjectItem.Unmarshal(m, b)
  385. }
  386. func (m *AlarmProjectItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  387. return xxx_messageInfo_AlarmProjectItem.Marshal(b, m, deterministic)
  388. }
  389. func (m *AlarmProjectItem) XXX_Merge(src proto.Message) {
  390. xxx_messageInfo_AlarmProjectItem.Merge(m, src)
  391. }
  392. func (m *AlarmProjectItem) XXX_Size() int {
  393. return xxx_messageInfo_AlarmProjectItem.Size(m)
  394. }
  395. func (m *AlarmProjectItem) XXX_DiscardUnknown() {
  396. xxx_messageInfo_AlarmProjectItem.DiscardUnknown(m)
  397. }
  398. var xxx_messageInfo_AlarmProjectItem proto.InternalMessageInfo
  399. func (m *AlarmProjectItem) GetProjectId() int64 {
  400. if m != nil {
  401. return m.ProjectId
  402. }
  403. return 0
  404. }
  405. func (m *AlarmProjectItem) GetTotal() int64 {
  406. if m != nil {
  407. return m.Total
  408. }
  409. return 0
  410. }
  411. func (m *AlarmProjectItem) GetHandled() int64 {
  412. if m != nil {
  413. return m.Handled
  414. }
  415. return 0
  416. }
  417. func (m *AlarmProjectItem) GetPercent() string {
  418. if m != nil {
  419. return m.Percent
  420. }
  421. return ""
  422. }
  423. func (m *AlarmProjectItem) GetProjectName() string {
  424. if m != nil {
  425. return m.ProjectName
  426. }
  427. return ""
  428. }
  429. type AlarmProjectReply struct {
  430. List []*AlarmProjectItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  431. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  432. XXX_unrecognized []byte `json:"-"`
  433. XXX_sizecache int32 `json:"-"`
  434. }
  435. func (m *AlarmProjectReply) Reset() { *m = AlarmProjectReply{} }
  436. func (m *AlarmProjectReply) String() string { return proto.CompactTextString(m) }
  437. func (*AlarmProjectReply) ProtoMessage() {}
  438. func (*AlarmProjectReply) Descriptor() ([]byte, []int) {
  439. return fileDescriptor_4a4142572412ce8e, []int{7}
  440. }
  441. func (m *AlarmProjectReply) XXX_Unmarshal(b []byte) error {
  442. return xxx_messageInfo_AlarmProjectReply.Unmarshal(m, b)
  443. }
  444. func (m *AlarmProjectReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  445. return xxx_messageInfo_AlarmProjectReply.Marshal(b, m, deterministic)
  446. }
  447. func (m *AlarmProjectReply) XXX_Merge(src proto.Message) {
  448. xxx_messageInfo_AlarmProjectReply.Merge(m, src)
  449. }
  450. func (m *AlarmProjectReply) XXX_Size() int {
  451. return xxx_messageInfo_AlarmProjectReply.Size(m)
  452. }
  453. func (m *AlarmProjectReply) XXX_DiscardUnknown() {
  454. xxx_messageInfo_AlarmProjectReply.DiscardUnknown(m)
  455. }
  456. var xxx_messageInfo_AlarmProjectReply proto.InternalMessageInfo
  457. func (m *AlarmProjectReply) GetList() []*AlarmProjectItem {
  458. if m != nil {
  459. return m.List
  460. }
  461. return nil
  462. }
  463. type AlarmReasonStatisticRequest struct {
  464. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  465. XXX_unrecognized []byte `json:"-"`
  466. XXX_sizecache int32 `json:"-"`
  467. }
  468. func (m *AlarmReasonStatisticRequest) Reset() { *m = AlarmReasonStatisticRequest{} }
  469. func (m *AlarmReasonStatisticRequest) String() string { return proto.CompactTextString(m) }
  470. func (*AlarmReasonStatisticRequest) ProtoMessage() {}
  471. func (*AlarmReasonStatisticRequest) Descriptor() ([]byte, []int) {
  472. return fileDescriptor_4a4142572412ce8e, []int{8}
  473. }
  474. func (m *AlarmReasonStatisticRequest) XXX_Unmarshal(b []byte) error {
  475. return xxx_messageInfo_AlarmReasonStatisticRequest.Unmarshal(m, b)
  476. }
  477. func (m *AlarmReasonStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  478. return xxx_messageInfo_AlarmReasonStatisticRequest.Marshal(b, m, deterministic)
  479. }
  480. func (m *AlarmReasonStatisticRequest) XXX_Merge(src proto.Message) {
  481. xxx_messageInfo_AlarmReasonStatisticRequest.Merge(m, src)
  482. }
  483. func (m *AlarmReasonStatisticRequest) XXX_Size() int {
  484. return xxx_messageInfo_AlarmReasonStatisticRequest.Size(m)
  485. }
  486. func (m *AlarmReasonStatisticRequest) XXX_DiscardUnknown() {
  487. xxx_messageInfo_AlarmReasonStatisticRequest.DiscardUnknown(m)
  488. }
  489. var xxx_messageInfo_AlarmReasonStatisticRequest proto.InternalMessageInfo
  490. type AlarmReasonStatisticItem struct {
  491. // 报警原因
  492. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason"`
  493. // 单项报警总数
  494. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  495. // 单项处理总数
  496. Handled int64 `protobuf:"varint,3,opt,name=handled,proto3" json:"handled"`
  497. // 单项报警总数占总报警数百分比
  498. TotalPercent string `protobuf:"bytes,4,opt,name=total_percent,json=totalPercent,proto3" json:"total_percent"`
  499. // 单项已处理报警总数占总的已处理报警数百分比
  500. HandledPercent string `protobuf:"bytes,5,opt,name=handled_percent,json=handledPercent,proto3" json:"handled_percent"`
  501. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  502. XXX_unrecognized []byte `json:"-"`
  503. XXX_sizecache int32 `json:"-"`
  504. }
  505. func (m *AlarmReasonStatisticItem) Reset() { *m = AlarmReasonStatisticItem{} }
  506. func (m *AlarmReasonStatisticItem) String() string { return proto.CompactTextString(m) }
  507. func (*AlarmReasonStatisticItem) ProtoMessage() {}
  508. func (*AlarmReasonStatisticItem) Descriptor() ([]byte, []int) {
  509. return fileDescriptor_4a4142572412ce8e, []int{9}
  510. }
  511. func (m *AlarmReasonStatisticItem) XXX_Unmarshal(b []byte) error {
  512. return xxx_messageInfo_AlarmReasonStatisticItem.Unmarshal(m, b)
  513. }
  514. func (m *AlarmReasonStatisticItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  515. return xxx_messageInfo_AlarmReasonStatisticItem.Marshal(b, m, deterministic)
  516. }
  517. func (m *AlarmReasonStatisticItem) XXX_Merge(src proto.Message) {
  518. xxx_messageInfo_AlarmReasonStatisticItem.Merge(m, src)
  519. }
  520. func (m *AlarmReasonStatisticItem) XXX_Size() int {
  521. return xxx_messageInfo_AlarmReasonStatisticItem.Size(m)
  522. }
  523. func (m *AlarmReasonStatisticItem) XXX_DiscardUnknown() {
  524. xxx_messageInfo_AlarmReasonStatisticItem.DiscardUnknown(m)
  525. }
  526. var xxx_messageInfo_AlarmReasonStatisticItem proto.InternalMessageInfo
  527. func (m *AlarmReasonStatisticItem) GetReason() string {
  528. if m != nil {
  529. return m.Reason
  530. }
  531. return ""
  532. }
  533. func (m *AlarmReasonStatisticItem) GetTotal() int64 {
  534. if m != nil {
  535. return m.Total
  536. }
  537. return 0
  538. }
  539. func (m *AlarmReasonStatisticItem) GetHandled() int64 {
  540. if m != nil {
  541. return m.Handled
  542. }
  543. return 0
  544. }
  545. func (m *AlarmReasonStatisticItem) GetTotalPercent() string {
  546. if m != nil {
  547. return m.TotalPercent
  548. }
  549. return ""
  550. }
  551. func (m *AlarmReasonStatisticItem) GetHandledPercent() string {
  552. if m != nil {
  553. return m.HandledPercent
  554. }
  555. return ""
  556. }
  557. type AlarmReasonStatisticReply struct {
  558. // 总报警数
  559. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  560. // 总处理数
  561. Handled int64 `protobuf:"varint,2,opt,name=handled,proto3" json:"handled"`
  562. List []*AlarmReasonStatisticItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  563. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  564. XXX_unrecognized []byte `json:"-"`
  565. XXX_sizecache int32 `json:"-"`
  566. }
  567. func (m *AlarmReasonStatisticReply) Reset() { *m = AlarmReasonStatisticReply{} }
  568. func (m *AlarmReasonStatisticReply) String() string { return proto.CompactTextString(m) }
  569. func (*AlarmReasonStatisticReply) ProtoMessage() {}
  570. func (*AlarmReasonStatisticReply) Descriptor() ([]byte, []int) {
  571. return fileDescriptor_4a4142572412ce8e, []int{10}
  572. }
  573. func (m *AlarmReasonStatisticReply) XXX_Unmarshal(b []byte) error {
  574. return xxx_messageInfo_AlarmReasonStatisticReply.Unmarshal(m, b)
  575. }
  576. func (m *AlarmReasonStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  577. return xxx_messageInfo_AlarmReasonStatisticReply.Marshal(b, m, deterministic)
  578. }
  579. func (m *AlarmReasonStatisticReply) XXX_Merge(src proto.Message) {
  580. xxx_messageInfo_AlarmReasonStatisticReply.Merge(m, src)
  581. }
  582. func (m *AlarmReasonStatisticReply) XXX_Size() int {
  583. return xxx_messageInfo_AlarmReasonStatisticReply.Size(m)
  584. }
  585. func (m *AlarmReasonStatisticReply) XXX_DiscardUnknown() {
  586. xxx_messageInfo_AlarmReasonStatisticReply.DiscardUnknown(m)
  587. }
  588. var xxx_messageInfo_AlarmReasonStatisticReply proto.InternalMessageInfo
  589. func (m *AlarmReasonStatisticReply) GetTotal() int64 {
  590. if m != nil {
  591. return m.Total
  592. }
  593. return 0
  594. }
  595. func (m *AlarmReasonStatisticReply) GetHandled() int64 {
  596. if m != nil {
  597. return m.Handled
  598. }
  599. return 0
  600. }
  601. func (m *AlarmReasonStatisticReply) GetList() []*AlarmReasonStatisticItem {
  602. if m != nil {
  603. return m.List
  604. }
  605. return nil
  606. }
  607. type AlarmDeviceStatisticRequest struct {
  608. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  609. XXX_unrecognized []byte `json:"-"`
  610. XXX_sizecache int32 `json:"-"`
  611. }
  612. func (m *AlarmDeviceStatisticRequest) Reset() { *m = AlarmDeviceStatisticRequest{} }
  613. func (m *AlarmDeviceStatisticRequest) String() string { return proto.CompactTextString(m) }
  614. func (*AlarmDeviceStatisticRequest) ProtoMessage() {}
  615. func (*AlarmDeviceStatisticRequest) Descriptor() ([]byte, []int) {
  616. return fileDescriptor_4a4142572412ce8e, []int{11}
  617. }
  618. func (m *AlarmDeviceStatisticRequest) XXX_Unmarshal(b []byte) error {
  619. return xxx_messageInfo_AlarmDeviceStatisticRequest.Unmarshal(m, b)
  620. }
  621. func (m *AlarmDeviceStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  622. return xxx_messageInfo_AlarmDeviceStatisticRequest.Marshal(b, m, deterministic)
  623. }
  624. func (m *AlarmDeviceStatisticRequest) XXX_Merge(src proto.Message) {
  625. xxx_messageInfo_AlarmDeviceStatisticRequest.Merge(m, src)
  626. }
  627. func (m *AlarmDeviceStatisticRequest) XXX_Size() int {
  628. return xxx_messageInfo_AlarmDeviceStatisticRequest.Size(m)
  629. }
  630. func (m *AlarmDeviceStatisticRequest) XXX_DiscardUnknown() {
  631. xxx_messageInfo_AlarmDeviceStatisticRequest.DiscardUnknown(m)
  632. }
  633. var xxx_messageInfo_AlarmDeviceStatisticRequest proto.InternalMessageInfo
  634. type AlarmDeviceStatisticReply struct {
  635. DustAlarmCount int64 `protobuf:"varint,1,opt,name=dust_alarm_count,json=dustAlarmCount,proto3" json:"dust_alarm_count"`
  636. VehicleAlarmCount int64 `protobuf:"varint,2,opt,name=vehicle_alarm_count,json=vehicleAlarmCount,proto3" json:"vehicle_alarm_count"`
  637. StaffAlarmCount int64 `protobuf:"varint,3,opt,name=staff_alarm_count,json=staffAlarmCount,proto3" json:"staff_alarm_count"`
  638. TowerAlarmCount int64 `protobuf:"varint,4,opt,name=tower_alarm_count,json=towerAlarmCount,proto3" json:"tower_alarm_count"`
  639. TotalAlarmCount int64 `protobuf:"varint,5,opt,name=total_alarm_count,json=totalAlarmCount,proto3" json:"total_alarm_count"`
  640. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  641. XXX_unrecognized []byte `json:"-"`
  642. XXX_sizecache int32 `json:"-"`
  643. }
  644. func (m *AlarmDeviceStatisticReply) Reset() { *m = AlarmDeviceStatisticReply{} }
  645. func (m *AlarmDeviceStatisticReply) String() string { return proto.CompactTextString(m) }
  646. func (*AlarmDeviceStatisticReply) ProtoMessage() {}
  647. func (*AlarmDeviceStatisticReply) Descriptor() ([]byte, []int) {
  648. return fileDescriptor_4a4142572412ce8e, []int{12}
  649. }
  650. func (m *AlarmDeviceStatisticReply) XXX_Unmarshal(b []byte) error {
  651. return xxx_messageInfo_AlarmDeviceStatisticReply.Unmarshal(m, b)
  652. }
  653. func (m *AlarmDeviceStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  654. return xxx_messageInfo_AlarmDeviceStatisticReply.Marshal(b, m, deterministic)
  655. }
  656. func (m *AlarmDeviceStatisticReply) XXX_Merge(src proto.Message) {
  657. xxx_messageInfo_AlarmDeviceStatisticReply.Merge(m, src)
  658. }
  659. func (m *AlarmDeviceStatisticReply) XXX_Size() int {
  660. return xxx_messageInfo_AlarmDeviceStatisticReply.Size(m)
  661. }
  662. func (m *AlarmDeviceStatisticReply) XXX_DiscardUnknown() {
  663. xxx_messageInfo_AlarmDeviceStatisticReply.DiscardUnknown(m)
  664. }
  665. var xxx_messageInfo_AlarmDeviceStatisticReply proto.InternalMessageInfo
  666. func (m *AlarmDeviceStatisticReply) GetDustAlarmCount() int64 {
  667. if m != nil {
  668. return m.DustAlarmCount
  669. }
  670. return 0
  671. }
  672. func (m *AlarmDeviceStatisticReply) GetVehicleAlarmCount() int64 {
  673. if m != nil {
  674. return m.VehicleAlarmCount
  675. }
  676. return 0
  677. }
  678. func (m *AlarmDeviceStatisticReply) GetStaffAlarmCount() int64 {
  679. if m != nil {
  680. return m.StaffAlarmCount
  681. }
  682. return 0
  683. }
  684. func (m *AlarmDeviceStatisticReply) GetTowerAlarmCount() int64 {
  685. if m != nil {
  686. return m.TowerAlarmCount
  687. }
  688. return 0
  689. }
  690. func (m *AlarmDeviceStatisticReply) GetTotalAlarmCount() int64 {
  691. if m != nil {
  692. return m.TotalAlarmCount
  693. }
  694. return 0
  695. }
  696. type AlarmIncreaseStatisticRequest struct {
  697. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  698. XXX_unrecognized []byte `json:"-"`
  699. XXX_sizecache int32 `json:"-"`
  700. }
  701. func (m *AlarmIncreaseStatisticRequest) Reset() { *m = AlarmIncreaseStatisticRequest{} }
  702. func (m *AlarmIncreaseStatisticRequest) String() string { return proto.CompactTextString(m) }
  703. func (*AlarmIncreaseStatisticRequest) ProtoMessage() {}
  704. func (*AlarmIncreaseStatisticRequest) Descriptor() ([]byte, []int) {
  705. return fileDescriptor_4a4142572412ce8e, []int{13}
  706. }
  707. func (m *AlarmIncreaseStatisticRequest) XXX_Unmarshal(b []byte) error {
  708. return xxx_messageInfo_AlarmIncreaseStatisticRequest.Unmarshal(m, b)
  709. }
  710. func (m *AlarmIncreaseStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  711. return xxx_messageInfo_AlarmIncreaseStatisticRequest.Marshal(b, m, deterministic)
  712. }
  713. func (m *AlarmIncreaseStatisticRequest) XXX_Merge(src proto.Message) {
  714. xxx_messageInfo_AlarmIncreaseStatisticRequest.Merge(m, src)
  715. }
  716. func (m *AlarmIncreaseStatisticRequest) XXX_Size() int {
  717. return xxx_messageInfo_AlarmIncreaseStatisticRequest.Size(m)
  718. }
  719. func (m *AlarmIncreaseStatisticRequest) XXX_DiscardUnknown() {
  720. xxx_messageInfo_AlarmIncreaseStatisticRequest.DiscardUnknown(m)
  721. }
  722. var xxx_messageInfo_AlarmIncreaseStatisticRequest proto.InternalMessageInfo
  723. type AlarmIncreaseStatisticReply struct {
  724. DayIncrease int64 `protobuf:"varint,1,opt,name=day_increase,json=dayIncrease,proto3" json:"day_increase"`
  725. MonthIncrease int64 `protobuf:"varint,2,opt,name=month_increase,json=monthIncrease,proto3" json:"month_increase"`
  726. Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
  727. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  728. XXX_unrecognized []byte `json:"-"`
  729. XXX_sizecache int32 `json:"-"`
  730. }
  731. func (m *AlarmIncreaseStatisticReply) Reset() { *m = AlarmIncreaseStatisticReply{} }
  732. func (m *AlarmIncreaseStatisticReply) String() string { return proto.CompactTextString(m) }
  733. func (*AlarmIncreaseStatisticReply) ProtoMessage() {}
  734. func (*AlarmIncreaseStatisticReply) Descriptor() ([]byte, []int) {
  735. return fileDescriptor_4a4142572412ce8e, []int{14}
  736. }
  737. func (m *AlarmIncreaseStatisticReply) XXX_Unmarshal(b []byte) error {
  738. return xxx_messageInfo_AlarmIncreaseStatisticReply.Unmarshal(m, b)
  739. }
  740. func (m *AlarmIncreaseStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  741. return xxx_messageInfo_AlarmIncreaseStatisticReply.Marshal(b, m, deterministic)
  742. }
  743. func (m *AlarmIncreaseStatisticReply) XXX_Merge(src proto.Message) {
  744. xxx_messageInfo_AlarmIncreaseStatisticReply.Merge(m, src)
  745. }
  746. func (m *AlarmIncreaseStatisticReply) XXX_Size() int {
  747. return xxx_messageInfo_AlarmIncreaseStatisticReply.Size(m)
  748. }
  749. func (m *AlarmIncreaseStatisticReply) XXX_DiscardUnknown() {
  750. xxx_messageInfo_AlarmIncreaseStatisticReply.DiscardUnknown(m)
  751. }
  752. var xxx_messageInfo_AlarmIncreaseStatisticReply proto.InternalMessageInfo
  753. func (m *AlarmIncreaseStatisticReply) GetDayIncrease() int64 {
  754. if m != nil {
  755. return m.DayIncrease
  756. }
  757. return 0
  758. }
  759. func (m *AlarmIncreaseStatisticReply) GetMonthIncrease() int64 {
  760. if m != nil {
  761. return m.MonthIncrease
  762. }
  763. return 0
  764. }
  765. func (m *AlarmIncreaseStatisticReply) GetTotal() int64 {
  766. if m != nil {
  767. return m.Total
  768. }
  769. return 0
  770. }
  771. type AlarmPercentStatisticRequest struct {
  772. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  773. XXX_unrecognized []byte `json:"-"`
  774. XXX_sizecache int32 `json:"-"`
  775. }
  776. func (m *AlarmPercentStatisticRequest) Reset() { *m = AlarmPercentStatisticRequest{} }
  777. func (m *AlarmPercentStatisticRequest) String() string { return proto.CompactTextString(m) }
  778. func (*AlarmPercentStatisticRequest) ProtoMessage() {}
  779. func (*AlarmPercentStatisticRequest) Descriptor() ([]byte, []int) {
  780. return fileDescriptor_4a4142572412ce8e, []int{15}
  781. }
  782. func (m *AlarmPercentStatisticRequest) XXX_Unmarshal(b []byte) error {
  783. return xxx_messageInfo_AlarmPercentStatisticRequest.Unmarshal(m, b)
  784. }
  785. func (m *AlarmPercentStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  786. return xxx_messageInfo_AlarmPercentStatisticRequest.Marshal(b, m, deterministic)
  787. }
  788. func (m *AlarmPercentStatisticRequest) XXX_Merge(src proto.Message) {
  789. xxx_messageInfo_AlarmPercentStatisticRequest.Merge(m, src)
  790. }
  791. func (m *AlarmPercentStatisticRequest) XXX_Size() int {
  792. return xxx_messageInfo_AlarmPercentStatisticRequest.Size(m)
  793. }
  794. func (m *AlarmPercentStatisticRequest) XXX_DiscardUnknown() {
  795. xxx_messageInfo_AlarmPercentStatisticRequest.DiscardUnknown(m)
  796. }
  797. var xxx_messageInfo_AlarmPercentStatisticRequest proto.InternalMessageInfo
  798. type AlarmPercentStaticticItem struct {
  799. // 这天产生的告警的处理率
  800. HandledPercent float64 `protobuf:"fixed64,1,opt,name=handled_percent,json=handledPercent,proto3" json:"handled_percent"`
  801. // 这天产生的告警已处理数
  802. HandledCount int64 `protobuf:"varint,2,opt,name=handled_count,json=handledCount,proto3" json:"handled_count"`
  803. // 这天产生的占30内总告警比例
  804. AlarmPercent float64 `protobuf:"fixed64,3,opt,name=alarm_percent,json=alarmPercent,proto3" json:"alarm_percent"`
  805. // 这天产生的告警
  806. AlarmCount int64 `protobuf:"varint,4,opt,name=alarm_count,json=alarmCount,proto3" json:"alarm_count"`
  807. Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date"`
  808. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  809. XXX_unrecognized []byte `json:"-"`
  810. XXX_sizecache int32 `json:"-"`
  811. }
  812. func (m *AlarmPercentStaticticItem) Reset() { *m = AlarmPercentStaticticItem{} }
  813. func (m *AlarmPercentStaticticItem) String() string { return proto.CompactTextString(m) }
  814. func (*AlarmPercentStaticticItem) ProtoMessage() {}
  815. func (*AlarmPercentStaticticItem) Descriptor() ([]byte, []int) {
  816. return fileDescriptor_4a4142572412ce8e, []int{16}
  817. }
  818. func (m *AlarmPercentStaticticItem) XXX_Unmarshal(b []byte) error {
  819. return xxx_messageInfo_AlarmPercentStaticticItem.Unmarshal(m, b)
  820. }
  821. func (m *AlarmPercentStaticticItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  822. return xxx_messageInfo_AlarmPercentStaticticItem.Marshal(b, m, deterministic)
  823. }
  824. func (m *AlarmPercentStaticticItem) XXX_Merge(src proto.Message) {
  825. xxx_messageInfo_AlarmPercentStaticticItem.Merge(m, src)
  826. }
  827. func (m *AlarmPercentStaticticItem) XXX_Size() int {
  828. return xxx_messageInfo_AlarmPercentStaticticItem.Size(m)
  829. }
  830. func (m *AlarmPercentStaticticItem) XXX_DiscardUnknown() {
  831. xxx_messageInfo_AlarmPercentStaticticItem.DiscardUnknown(m)
  832. }
  833. var xxx_messageInfo_AlarmPercentStaticticItem proto.InternalMessageInfo
  834. func (m *AlarmPercentStaticticItem) GetHandledPercent() float64 {
  835. if m != nil {
  836. return m.HandledPercent
  837. }
  838. return 0
  839. }
  840. func (m *AlarmPercentStaticticItem) GetHandledCount() int64 {
  841. if m != nil {
  842. return m.HandledCount
  843. }
  844. return 0
  845. }
  846. func (m *AlarmPercentStaticticItem) GetAlarmPercent() float64 {
  847. if m != nil {
  848. return m.AlarmPercent
  849. }
  850. return 0
  851. }
  852. func (m *AlarmPercentStaticticItem) GetAlarmCount() int64 {
  853. if m != nil {
  854. return m.AlarmCount
  855. }
  856. return 0
  857. }
  858. func (m *AlarmPercentStaticticItem) GetDate() string {
  859. if m != nil {
  860. return m.Date
  861. }
  862. return ""
  863. }
  864. type AlarmPercentStatisticReply struct {
  865. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  866. List []*AlarmPercentStaticticItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list"`
  867. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  868. XXX_unrecognized []byte `json:"-"`
  869. XXX_sizecache int32 `json:"-"`
  870. }
  871. func (m *AlarmPercentStatisticReply) Reset() { *m = AlarmPercentStatisticReply{} }
  872. func (m *AlarmPercentStatisticReply) String() string { return proto.CompactTextString(m) }
  873. func (*AlarmPercentStatisticReply) ProtoMessage() {}
  874. func (*AlarmPercentStatisticReply) Descriptor() ([]byte, []int) {
  875. return fileDescriptor_4a4142572412ce8e, []int{17}
  876. }
  877. func (m *AlarmPercentStatisticReply) XXX_Unmarshal(b []byte) error {
  878. return xxx_messageInfo_AlarmPercentStatisticReply.Unmarshal(m, b)
  879. }
  880. func (m *AlarmPercentStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  881. return xxx_messageInfo_AlarmPercentStatisticReply.Marshal(b, m, deterministic)
  882. }
  883. func (m *AlarmPercentStatisticReply) XXX_Merge(src proto.Message) {
  884. xxx_messageInfo_AlarmPercentStatisticReply.Merge(m, src)
  885. }
  886. func (m *AlarmPercentStatisticReply) XXX_Size() int {
  887. return xxx_messageInfo_AlarmPercentStatisticReply.Size(m)
  888. }
  889. func (m *AlarmPercentStatisticReply) XXX_DiscardUnknown() {
  890. xxx_messageInfo_AlarmPercentStatisticReply.DiscardUnknown(m)
  891. }
  892. var xxx_messageInfo_AlarmPercentStatisticReply proto.InternalMessageInfo
  893. func (m *AlarmPercentStatisticReply) GetTotal() int64 {
  894. if m != nil {
  895. return m.Total
  896. }
  897. return 0
  898. }
  899. func (m *AlarmPercentStatisticReply) GetList() []*AlarmPercentStaticticItem {
  900. if m != nil {
  901. return m.List
  902. }
  903. return nil
  904. }
  905. func init() {
  906. proto.RegisterType((*AlarmListRequest)(nil), "v1.AlarmListRequest")
  907. proto.RegisterType((*AlarmItem)(nil), "v1.AlarmItem")
  908. proto.RegisterType((*AlarmListReply)(nil), "v1.AlarmListReply")
  909. proto.RegisterType((*AlarmHandleRequest)(nil), "v1.AlarmHandleRequest")
  910. proto.RegisterType((*AlarmHandleReply)(nil), "v1.AlarmHandleReply")
  911. proto.RegisterType((*AlarmProjectRequest)(nil), "v1.AlarmProjectRequest")
  912. proto.RegisterType((*AlarmProjectItem)(nil), "v1.AlarmProjectItem")
  913. proto.RegisterType((*AlarmProjectReply)(nil), "v1.AlarmProjectReply")
  914. proto.RegisterType((*AlarmReasonStatisticRequest)(nil), "v1.AlarmReasonStatisticRequest")
  915. proto.RegisterType((*AlarmReasonStatisticItem)(nil), "v1.AlarmReasonStatisticItem")
  916. proto.RegisterType((*AlarmReasonStatisticReply)(nil), "v1.AlarmReasonStatisticReply")
  917. proto.RegisterType((*AlarmDeviceStatisticRequest)(nil), "v1.AlarmDeviceStatisticRequest")
  918. proto.RegisterType((*AlarmDeviceStatisticReply)(nil), "v1.AlarmDeviceStatisticReply")
  919. proto.RegisterType((*AlarmIncreaseStatisticRequest)(nil), "v1.AlarmIncreaseStatisticRequest")
  920. proto.RegisterType((*AlarmIncreaseStatisticReply)(nil), "v1.AlarmIncreaseStatisticReply")
  921. proto.RegisterType((*AlarmPercentStatisticRequest)(nil), "v1.AlarmPercentStatisticRequest")
  922. proto.RegisterType((*AlarmPercentStaticticItem)(nil), "v1.AlarmPercentStaticticItem")
  923. proto.RegisterType((*AlarmPercentStatisticReply)(nil), "v1.AlarmPercentStatisticReply")
  924. }
  925. func init() {
  926. proto.RegisterFile("alarm.proto", fileDescriptor_4a4142572412ce8e)
  927. }
  928. var fileDescriptor_4a4142572412ce8e = []byte{
  929. // 893 bytes of a gzipped FileDescriptorProto
  930. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xc1, 0x8e, 0xdb, 0x36,
  931. 0x10, 0x85, 0x24, 0xdb, 0x6b, 0x8d, 0xbd, 0xce, 0x2e, 0x93, 0x2e, 0x94, 0x66, 0xb7, 0xd9, 0xd5,
  932. 0xa2, 0xa8, 0x51, 0x20, 0x9b, 0xba, 0xbd, 0xb6, 0x87, 0x36, 0x3d, 0x34, 0x40, 0x1b, 0x04, 0xca,
  933. 0xad, 0x17, 0x81, 0x11, 0xe9, 0x35, 0x0b, 0x49, 0x54, 0x45, 0xae, 0x0b, 0x07, 0xd8, 0xaf, 0xe8,
  934. 0xbd, 0xdf, 0x50, 0xa0, 0x9f, 0xd0, 0x1f, 0xe9, 0x6f, 0xf4, 0x56, 0x70, 0x48, 0xc9, 0x92, 0xed,
  935. 0x3d, 0xf4, 0x46, 0xbe, 0x79, 0xa4, 0x67, 0xde, 0xbc, 0xa1, 0x0c, 0x13, 0x9a, 0xd3, 0xba, 0xb8,
  936. 0xa9, 0x6a, 0xa9, 0x25, 0xf1, 0xd7, 0x8b, 0xf8, 0x1f, 0x0f, 0x4e, 0xbe, 0x35, 0xd8, 0x8f, 0x42,
  937. 0xe9, 0x84, 0xff, 0x7a, 0xc7, 0x95, 0x26, 0x04, 0x06, 0x15, 0xbd, 0xe5, 0x91, 0x77, 0xe9, 0xcd,
  938. 0x87, 0x09, 0xae, 0xc9, 0x13, 0x18, 0x2a, 0x4d, 0x6b, 0x1d, 0xf9, 0x97, 0xde, 0x3c, 0x48, 0xec,
  939. 0x86, 0x9c, 0x40, 0xc0, 0x4b, 0x16, 0x05, 0x88, 0x99, 0x25, 0x79, 0x06, 0xa1, 0xe1, 0xa7, 0x4a,
  940. 0x7c, 0xe0, 0xd1, 0x00, 0x2f, 0x18, 0x1b, 0xe0, 0x9d, 0xf8, 0xc0, 0xc9, 0x19, 0x8c, 0x96, 0x22,
  941. 0xd7, 0xbc, 0x8e, 0x86, 0x97, 0xde, 0x3c, 0x4c, 0xdc, 0xce, 0x1c, 0x12, 0x2a, 0x5d, 0xd1, 0x92,
  942. 0xe5, 0x3c, 0x1a, 0xd9, 0x43, 0x42, 0xfd, 0x80, 0x7b, 0x72, 0x01, 0x50, 0xd5, 0xf2, 0x17, 0x9e,
  943. 0xe9, 0x54, 0xb0, 0xe8, 0x08, 0x7f, 0x2a, 0x74, 0xc8, 0x6b, 0x46, 0x9e, 0xc3, 0x84, 0xf1, 0xb5,
  944. 0xc8, 0x78, 0x9a, 0x49, 0xc6, 0xa3, 0x31, 0x9e, 0x06, 0x0b, 0xbd, 0x92, 0x8c, 0xc7, 0xbf, 0xfb,
  945. 0x10, 0x62, 0x89, 0xaf, 0x35, 0x2f, 0xc8, 0x0c, 0x7c, 0x55, 0x62, 0x65, 0x61, 0xe2, 0xab, 0x72,
  946. 0xe7, 0x76, 0x7f, 0xf7, 0xf6, 0x33, 0x18, 0xd5, 0x9c, 0x2a, 0x59, 0x62, 0x8d, 0x61, 0xe2, 0x76,
  947. 0xe6, 0x58, 0x9b, 0x31, 0xc3, 0x3a, 0xc7, 0x49, 0xd8, 0xa4, 0xcc, 0x8c, 0x82, 0x5a, 0x14, 0xdc,
  948. 0x95, 0x89, 0x6b, 0x83, 0x95, 0xb4, 0xb0, 0xf5, 0x85, 0x09, 0xae, 0x4d, 0xe1, 0x7a, 0x53, 0xf1,
  949. 0x14, 0x03, 0x47, 0x18, 0x18, 0x1b, 0xe0, 0x8d, 0x09, 0xce, 0xc0, 0x17, 0x0c, 0x0b, 0x0a, 0x12,
  950. 0x5f, 0x30, 0x72, 0x05, 0xd3, 0x26, 0x55, 0xe4, 0x87, 0xc8, 0x9f, 0x38, 0x0c, 0x8f, 0xcc, 0xe1,
  951. 0x44, 0xd1, 0x25, 0xd7, 0x9b, 0xb4, 0xe6, 0x99, 0xac, 0x59, 0x5a, 0xca, 0x08, 0x90, 0x36, 0xb3,
  952. 0x78, 0x82, 0xf0, 0x1b, 0x19, 0xff, 0xe5, 0xc1, 0xac, 0xd3, 0xf8, 0x2a, 0xdf, 0x98, 0x16, 0x6b,
  953. 0xa9, 0x69, 0x8e, 0xea, 0x04, 0x89, 0xdd, 0xb4, 0x66, 0xf0, 0x3b, 0x66, 0xe8, 0x35, 0x39, 0xd8,
  954. 0x69, 0xf2, 0x15, 0x0c, 0x72, 0xa1, 0x74, 0x34, 0xb8, 0x0c, 0xe6, 0x93, 0x2f, 0x8f, 0x6f, 0xd6,
  955. 0x8b, 0x9b, 0x56, 0xfe, 0x04, 0x43, 0xe4, 0x29, 0x8c, 0x57, 0x54, 0xa5, 0x85, 0xac, 0xad, 0x44,
  956. 0xe3, 0xe4, 0x68, 0x45, 0xd5, 0x4f, 0xb2, 0xe6, 0xe4, 0x1c, 0x42, 0xa3, 0x96, 0xd2, 0xb4, 0xa8,
  957. 0x50, 0xaa, 0x20, 0xd9, 0x02, 0xf1, 0xd7, 0x40, 0xf0, 0x2e, 0xab, 0x73, 0xe3, 0x57, 0x2b, 0x94,
  958. 0xd7, 0x0a, 0x75, 0x06, 0x23, 0xe7, 0x25, 0x1f, 0x2f, 0x77, 0xbb, 0x98, 0x38, 0xaf, 0x37, 0xa7,
  959. 0xab, 0x7c, 0x13, 0x7f, 0x04, 0x8f, 0x11, 0x7b, 0x6b, 0x55, 0x74, 0x57, 0xc6, 0x7f, 0x34, 0x73,
  960. 0xe1, 0x70, 0xf4, 0x4e, 0xdf, 0x2b, 0xde, 0xae, 0x57, 0x5a, 0xfd, 0xfc, 0xae, 0x7e, 0x11, 0x1c,
  961. 0x35, 0x36, 0xb1, 0x63, 0xd2, 0x6c, 0x4d, 0xa4, 0xe2, 0x75, 0xc6, 0x4b, 0x8d, 0x06, 0x0a, 0x93,
  962. 0x66, 0xbb, 0xd7, 0xe9, 0xe1, 0x5e, 0xa7, 0xe3, 0x6f, 0xe0, 0xb4, 0x9f, 0xb7, 0xe9, 0xe0, 0xdc,
  963. 0x49, 0xef, 0xa1, 0xf4, 0x4f, 0x5a, 0xe9, 0x3b, 0x45, 0xd8, 0x0e, 0xc4, 0x17, 0xf0, 0x0c, 0x23,
  964. 0x09, 0xda, 0xf9, 0x9d, 0xa6, 0x5a, 0x28, 0x2d, 0xb2, 0xa6, 0xfc, 0x3f, 0x3d, 0x88, 0x0e, 0xc5,
  965. 0x51, 0x86, 0xed, 0x4c, 0x78, 0xbd, 0x99, 0xf8, 0xbf, 0xf5, 0x5f, 0xc3, 0x31, 0x52, 0xd2, 0xbe,
  966. 0x0a, 0x53, 0x04, 0xdf, 0x3a, 0x29, 0x3e, 0x83, 0x47, 0x8e, 0xdf, 0xd2, 0xac, 0x1a, 0x33, 0x07,
  967. 0x3b, 0x62, 0x7c, 0x0f, 0x4f, 0x0f, 0x57, 0xf4, 0xb0, 0xb5, 0x3b, 0xa9, 0xf9, 0xfd, 0xd4, 0xbe,
  968. 0x70, 0x42, 0x06, 0x28, 0xe4, 0x79, 0x2b, 0xe4, 0x01, 0x39, 0x76, 0x04, 0xfd, 0x1e, 0x1f, 0x9e,
  969. 0x3d, 0x41, 0xff, 0xf5, 0x5c, 0x7a, 0x7b, 0x71, 0xdb, 0xb7, 0x13, 0x76, 0xa7, 0x74, 0x8a, 0xaf,
  970. 0x73, 0x9a, 0xc9, 0xbb, 0x52, 0xbb, 0x4c, 0x67, 0x06, 0xc7, 0x83, 0xaf, 0x0c, 0x4a, 0x6e, 0xe0,
  971. 0xf1, 0x9a, 0xaf, 0x44, 0x96, 0xf3, 0x1e, 0xd9, 0xa6, 0x7f, 0xea, 0x42, 0x1d, 0xfe, 0xe7, 0x70,
  972. 0xaa, 0x34, 0x5d, 0x2e, 0x7b, 0x6c, 0xdb, 0x87, 0x47, 0x18, 0xe8, 0x73, 0xb5, 0xfc, 0x8d, 0xd7,
  973. 0x3d, 0xee, 0xc0, 0x72, 0x31, 0xb0, 0xcb, 0x35, 0xbd, 0xeb, 0x72, 0x87, 0x0d, 0x57, 0xd3, 0x7c,
  974. 0xcb, 0x8d, 0x9f, 0xc3, 0x85, 0x7d, 0x00, 0xca, 0xcc, 0x38, 0x65, 0x5f, 0x9c, 0x7b, 0xa7, 0xdd,
  975. 0x01, 0x82, 0x51, 0xe7, 0x0a, 0xa6, 0x8c, 0x6e, 0x52, 0xe1, 0xa2, 0x4e, 0x99, 0x09, 0xa3, 0x9b,
  976. 0xe6, 0x00, 0xf9, 0x14, 0x66, 0x85, 0x2c, 0xf5, 0x6a, 0x4b, 0xb2, 0x8a, 0x1c, 0x23, 0xda, 0xd2,
  977. 0x5a, 0x1b, 0x04, 0x1d, 0x1b, 0xc4, 0x9f, 0xc0, 0xb9, 0x9d, 0x12, 0xeb, 0xa4, 0xbd, 0xf4, 0xfe,
  978. 0x6e, 0x7a, 0xd7, 0x25, 0x64, 0xcd, 0x34, 0x1c, 0x30, 0xa8, 0x49, 0xd0, 0xdb, 0x35, 0xa8, 0xb1,
  979. 0x7b, 0x43, 0xec, 0x36, 0x6d, 0xea, 0x40, 0xab, 0xeb, 0x35, 0x1c, 0x5b, 0x45, 0x9b, 0xbb, 0x02,
  980. 0xbc, 0x6b, 0x4a, 0x3b, 0xbf, 0x6f, 0x3e, 0x79, 0xfb, 0x2d, 0x02, 0xba, 0xed, 0x0e, 0x81, 0x01,
  981. 0xa3, 0xba, 0xfd, 0xfc, 0x98, 0x75, 0xcc, 0xe1, 0xe3, 0x07, 0xaa, 0x7c, 0x78, 0x40, 0x16, 0x6e,
  982. 0x0c, 0x7c, 0x1c, 0x83, 0x8b, 0xed, 0x7b, 0x72, 0x40, 0x08, 0x3b, 0x07, 0xdf, 0x5d, 0xff, 0x7c,
  983. 0xa5, 0x0a, 0x5a, 0xeb, 0x17, 0xb7, 0x72, 0xcd, 0xeb, 0xb2, 0xe0, 0xa5, 0x7e, 0x51, 0xd0, 0x92,
  984. 0xde, 0x72, 0xb3, 0x7c, 0x59, 0xbd, 0x7f, 0xb9, 0x5e, 0xbc, 0x1f, 0xe1, 0x1f, 0x90, 0xaf, 0xfe,
  985. 0x0b, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xf1, 0xd9, 0x9b, 0x8f, 0x08, 0x00, 0x00,
  986. }