报警范围数据之接收接口.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. 接收接口地址
  2. 互联网地址:https://verify.wx-lingxi.com/fireSafetyHdApi/wx/HaiKangData/getFireSmokeAlarmDate
  3. 政务网地址:http://2.22.55.122:9001/wx/HaiKangData/getFireSmokeAlarmDate
  4. post:
  5. json格式:
  6. {"method":"OnEventNotify","params":{"ability":"","events":[{"eventDetails":[{"ability":"event_vss","data":{"extendKey":"simulate","lanId":"zh_CN"},"eventOriginalId":"5YRI0UG7SVVRX3G5RKAR0R6XTRIH9EAQ","eventType":192513,"locationIndexCode":"","locationName":"","regionIndexCode":"root00000000","regionName":"根节点","srcIndex":"0b36ff993ff44371815207e7afc3f30a","srcName":"Camera 01","srcType":"camera"}],"eventId":"5CF27394BE414A3785713002227648BF","eventLvl":1,"eventName":"鹰眼 摄像头","eventOldId":"5YRI0UG7SVVRX3G5RKAR0R6XTRIH9EAQ","eventType":0,"happenTime":"2025-04-10T11:08:17.811+08:00","linkageAcion":[{"content":"[{\"cameraIndexCode\":\"0b36ff993ff44371815207e7afc3f30a\",\"cameraName\":\"Camera 01\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n","linkageType":"popUpPlayBackOnClient"},{"content":"{\"bPopupEventPicture\":true}\n","linkageType":"popUpPictureOnClient"},{"content":"[{\"cameraIndexCode\":\"0b36ff993ff44371815207e7afc3f30a\",\"cameraName\":\"Camera 01\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n","linkageType":"popUpLiveViewOnClient"},{"content":"{\"alertTimes\":\"1\",\"soundText\":\"根节点,Camera 01发生烟雾检测事件\"}\n","linkageType":"alertByEventInfo"}],"parentIndexCode":null,"remark":"","ruleDescription":"","srcIndex":"579b069793cf435ebca62b91a4933cb2","srcName":"鹰眼 摄像头","srcType":"eventRule","status":0,"stopTime":"2025-04-10T11:08:17.811+08:00","timeout":30}],"quids":["admin"],"sendTime":"2025-04-10T11:08:17.811+08:00"}}
  7. 格式化后:
  8. {
  9. "method": "OnEventNotify",
  10. "params": {
  11. "ability": "",
  12. "events": [{
  13. "eventDetails": [{
  14. "ability": "event_vss",
  15. "data": {
  16. "extendKey": "simulate",
  17. "lanId": "zh_CN"
  18. },
  19. "eventOriginalId": "5YRI0UG7SVVRX3G5RKAR0R6XTRIH9EAQ",
  20. "eventType": 192513,
  21. "locationIndexCode": "",
  22. "locationName": "",
  23. "regionIndexCode": "root00000000",
  24. "regionName": "根节点",
  25. "srcIndex": "0b36ff993ff44371815207e7afc3f30a",
  26. "srcName": "Camera 01",
  27. "srcType": "camera"
  28. }],
  29. "eventId": "5CF27394BE414A3785713002227648BF",
  30. "eventLvl": 1,
  31. "eventName": "鹰眼 摄像头",
  32. "eventOldId": "5YRI0UG7SVVRX3G5RKAR0R6XTRIH9EAQ",
  33. "eventType": 0,
  34. "happenTime": "2025-04-10T11:08:17.811+08:00",
  35. "linkageAcion": [{
  36. "content": "[{\"cameraIndexCode\":\"0b36ff993ff44371815207e7afc3f30a\",\"cameraName\":\"Camera 01\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n",
  37. "linkageType": "popUpPlayBackOnClient"
  38. }, {
  39. "content": "{\"bPopupEventPicture\":true}\n",
  40. "linkageType": "popUpPictureOnClient"
  41. }, {
  42. "content": "[{\"cameraIndexCode\":\"0b36ff993ff44371815207e7afc3f30a\",\"cameraName\":\"Camera 01\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n",
  43. "linkageType": "popUpLiveViewOnClient"
  44. }, {
  45. "content": "{\"alertTimes\":\"1\",\"soundText\":\"根节点,Camera 01发生烟雾检测事件\"}\n",
  46. "linkageType": "alertByEventInfo"
  47. }],
  48. "parentIndexCode": null,
  49. "remark": "",
  50. "ruleDescription": "",
  51. "srcIndex": "579b069793cf435ebca62b91a4933cb2",
  52. "srcName": "鹰眼 摄像头",
  53. "srcType": "eventRule",
  54. "status": 0,
  55. "stopTime": "2025-04-10T11:08:17.811+08:00",
  56. "timeout": 30
  57. }],
  58. "quids": ["admin"],
  59. "sendTime": "2025-04-10T11:08:17.811+08:00"
  60. }
  61. }
  62. {"method":"OnEventNotify","params":{"ability":"","events":[{"alarmtriggerStrore":false,"eventDetails":[{"ability":"event_vss","data":{"channelID":2,"dataProcInterval":"11","dataType":"thermalImaging","dateTime":"2025-04-14T14:20:33.000+08:00","eventDescription":"fireDetection alarm","eventType":"fireDetection","fireDetection":[{"absoluteHigh":{"absoluteZoom":"10","azimuth":"1275","elevation":"18"},"fireMaxTemperature":1548,"fireRegion":{"height":"604","width":"208","x":"398","y":"218"},"fireScanWaitMode":"auto","highestPoint":{"x":"434","y":"586"},"imageUrl":"1EB6BC28-D6E4-E54E-B5D5-86005F5CD108","ptzInfo":{"pan":"127.57","tilt":"1.89","zoom":"1.00"},"regionCoordinatesList":[{"positionX":"398","positionY":"218"},{"positionX":"606","positionY":"218"},{"positionX":"606","positionY":"822"},{"positionX":"398","positionY":"426"}],"regionID":1,"targetAttrs":{"areaCode":"root00000000","cameraAddress":"Camera 02","cameraIndexCode":"8c471642050e4d1a8a9b395152207df1","cameraName":"Camera 02","cameraType":"COMMON","deviceIndexCode":"7ea02fe243114373a8ddb2071ca6600f","deviceName":"滨湖区胡埭镇金玲燃机配件","deviceType":"100001","recognitionSign":1,"regionIndexCode":"root00000000"},"targetDistance":-1,"temperatureUnit":"celsius","visiblePicUrl":"B95E94ED-F47A-B04B-A528-FB5433E5DD08"}],"ipAddress":"2.20.238.107","portNo":8000,"recvTime":"2025-04-14T14:17:23.063+08:00","sendTime":"2025-04-14T14:17:23.074+08:00"},"eventOriginalId":"81078F66-8C09-604F-8BBE-E456D5799547","eventType":192515,"locationIndexCode":"","locationName":"","regionIndexCode":"root00000000","regionName":"根节点","srcIndex":"8c471642050e4d1a8a9b395152207df1","srcName":"Camera 02","srcType":"camera"}],"eventId":"B1E469F4DE134AB5A93905F8B7851D06","eventLvl":1,"eventName":"鹰眼 摄像头","eventOldId":"81078F66-8C09-604F-8BBE-E456D5799547","eventType":0,"happenTime":"2025-04-14T14:20:33.000+08:00","linkageAcion":[{"content":"[{\"cameraIndexCode\":\"8c471642050e4d1a8a9b395152207df1\",\"cameraName\":\"Camera 02\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n","linkageType":"popUpPlayBackOnClient"},{"content":"{\"bPopupEventPicture\":true}\n","linkageType":"popUpPictureOnClient"},{"content":"[{\"cameraIndexCode\":\"8c471642050e4d1a8a9b395152207df1\",\"cameraName\":\"Camera 02\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n","linkageType":"popUpLiveViewOnClient"},{"content":"{\"alertTimes\":\"1\",\"soundText\":\"根节点,Camera 02发生火点检测事件\"}\n","linkageType":"alertByEventInfo"}],"linkageResult":[{"content":"[{\"cameraIndexCode\":\"\",\"cameraName\":\"\",\"eventOriginalId\":\"81078F66-8C09-604F-8BBE-E456D5799547\",\"picUrls\":[\"1EB6BC28-D6E4-E54E-B5D5-86005F5CD108\"],\"svrIndexCode\":\"\"}]\n","linkageType":"monitorPointCapture"}],"parentIndexCode":null,"remark":"","ruleDescription":"","srcIndex":"579b069793cf435ebca62b91a4933cb2","srcName":"鹰眼 摄像头","srcParentIndex":"7ea02fe243114373a8ddb2071ca6600f","srcType":"eventRule","status":4,"stopTime":"2025-04-14T14:20:33.000+08:00","timeout":0}],"quids":["admin"],"sendTime":"2025-04-14T14:17:23.075+08:00"}}
  63. {
  64. "method": "OnEventNotify",
  65. "params": {
  66. "ability": "",
  67. "events": [
  68. {
  69. "alarmtriggerStrore": false,
  70. "eventDetails": [
  71. {
  72. "ability": "event_vss",
  73. "data": {
  74. "channelID": 2,
  75. "dataProcInterval": "11",
  76. "dataType": "thermalImaging",
  77. "dateTime": "2025-04-14T14:20:33.000+08:00",
  78. "eventDescription": "fireDetection alarm",
  79. "eventType": "fireDetection",
  80. "fireDetection": [
  81. {
  82. "absoluteHigh": {
  83. "absoluteZoom": "10",
  84. "azimuth": "1275",
  85. "elevation": "18"
  86. },
  87. "fireMaxTemperature": 1548,
  88. "fireRegion": {
  89. "height": "604",
  90. "width": "208",
  91. "x": "398",
  92. "y": "218"
  93. },
  94. "fireScanWaitMode": "auto",
  95. "highestPoint": {
  96. "x": "434",
  97. "y": "586"
  98. },
  99. "imageUrl": "1EB6BC28-D6E4-E54E-B5D5-86005F5CD108",
  100. "ptzInfo": {
  101. "pan": "127.57",
  102. "tilt": "1.89",
  103. "zoom": "1.00"
  104. },
  105. "regionCoordinatesList": [
  106. {
  107. "positionX": "398",
  108. "positionY": "218"
  109. },
  110. {
  111. "positionX": "606",
  112. "positionY": "218"
  113. },
  114. {
  115. "positionX": "606",
  116. "positionY": "822"
  117. },
  118. {
  119. "positionX": "398",
  120. "positionY": "426"
  121. }
  122. ],
  123. "regionID": 1,
  124. "targetAttrs": {
  125. "areaCode": "root00000000",
  126. "cameraAddress": "Camera 02",
  127. "cameraIndexCode": "8c471642050e4d1a8a9b395152207df1",
  128. "cameraName": "Camera 02",
  129. "cameraType": "COMMON",
  130. "deviceIndexCode": "7ea02fe243114373a8ddb2071ca6600f",
  131. "deviceName": "滨湖区胡埭镇金玲燃机配件",
  132. "deviceType": "100001",
  133. "recognitionSign": 1,
  134. "regionIndexCode": "root00000000"
  135. },
  136. "targetDistance": -1,
  137. "temperatureUnit": "celsius",
  138. "visiblePicUrl": "B95E94ED-F47A-B04B-A528-FB5433E5DD08"
  139. }
  140. ],
  141. "ipAddress": "2.20.238.107",
  142. "portNo": 8000,
  143. "recvTime": "2025-04-14T14:17:23.063+08:00",
  144. "sendTime": "2025-04-14T14:17:23.074+08:00"
  145. },
  146. "eventOriginalId": "81078F66-8C09-604F-8BBE-E456D5799547",
  147. "eventType": 192515,
  148. "locationIndexCode": "",
  149. "locationName": "",
  150. "regionIndexCode": "root00000000",
  151. "regionName": "根节点",
  152. "srcIndex": "8c471642050e4d1a8a9b395152207df1",
  153. "srcName": "Camera 02",
  154. "srcType": "camera"
  155. }
  156. ],
  157. "eventId": "B1E469F4DE134AB5A93905F8B7851D06",
  158. "eventLvl": 1,
  159. "eventName": "鹰眼 摄像头",
  160. "eventOldId": "81078F66-8C09-604F-8BBE-E456D5799547",
  161. "eventType": 0,
  162. "happenTime": "2025-04-14T14:20:33.000+08:00",
  163. "linkageAcion": [
  164. {
  165. "content": "[{\"cameraIndexCode\":\"8c471642050e4d1a8a9b395152207df1\",\"cameraName\":\"Camera 02\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n",
  166. "linkageType": "popUpPlayBackOnClient"
  167. },
  168. {
  169. "content": "{\"bPopupEventPicture\":true}\n",
  170. "linkageType": "popUpPictureOnClient"
  171. },
  172. {
  173. "content": "[{\"cameraIndexCode\":\"8c471642050e4d1a8a9b395152207df1\",\"cameraName\":\"Camera 02\",\"decodeTag\":\"hikvision\",\"treatyType\":\"1\"}]\n",
  174. "linkageType": "popUpLiveViewOnClient"
  175. },
  176. {
  177. "content": "{\"alertTimes\":\"1\",\"soundText\":\"根节点,Camera 02发生火点检测事件\"}\n",
  178. "linkageType": "alertByEventInfo"
  179. }
  180. ],
  181. "linkageResult": [
  182. {
  183. "content": "[{\"cameraIndexCode\":\"\",\"cameraName\":\"\",\"eventOriginalId\":\"81078F66-8C09-604F-8BBE-E456D5799547\",\"picUrls\":[\"1EB6BC28-D6E4-E54E-B5D5-86005F5CD108\"],\"svrIndexCode\":\"\"}]\n",
  184. "linkageType": "monitorPointCapture"
  185. }
  186. ],
  187. "parentIndexCode": null,
  188. "remark": "",
  189. "ruleDescription": "",
  190. "srcIndex": "579b069793cf435ebca62b91a4933cb2",
  191. "srcName": "鹰眼 摄像头",
  192. "srcParentIndex": "7ea02fe243114373a8ddb2071ca6600f",
  193. "srcType": "eventRule",
  194. "status": 4,
  195. "stopTime": "2025-04-14T14:20:33.000+08:00",
  196. "timeout": 0
  197. }
  198. ],
  199. "quids": [
  200. "admin"
  201. ],
  202. "sendTime": "2025-04-14T14:17:23.075+08:00"
  203. }
  204. }
  205. //下面的是久的,改了,用上面的格式
  206. {
  207. "type": "FeatureCollection",
  208. "crs": {
  209. "type": "name",
  210. "properties": {
  211. "name": "EPSG:4490"
  212. }
  213. },
  214. "features": [
  215. {
  216. "type": "Feature",
  217. "id": 1,
  218. "geometry": {
  219. "type": "Polygon",
  220. "coordinates": [
  221. [
  222. [
  223. 120.11558947200001,
  224. 31.574157384000046
  225. ],
  226. [
  227. 120.11558947200001,
  228. 31.574157384000046
  229. ]
  230. ]
  231. ]
  232. },
  233. "properties": {
  234. "OBJECTID": 1,
  235. "NAME": "胡埭天瑞模具搬迁",
  236. "SHAPE_Length": 0.08499837780400224,
  237. "SHAPE_Area": 0.00057489990813892476,
  238. "LX": "火点"
  239. }
  240. },
  241. {
  242. "type": "Feature",
  243. "id": 2,
  244. "geometry": {
  245. "type": "Polygon",
  246. "coordinates": [
  247. [
  248. [
  249. 120.11559777100001,
  250. 31.61474185000003
  251. ],
  252. [
  253. 120.11559777100001,
  254. 31.61474185000003
  255. ]
  256. ]
  257. ]
  258. },
  259. "properties": {
  260. "OBJECTID": 2,
  261. "NAME": "胡埭天瑞模具搬迁",
  262. "SHAPE_Length": 0.33999805233277591,
  263. "SHAPE_Area": 0.0091989484280119802,
  264. "LX": "烟雾"
  265. }
  266. },
  267. {
  268. "type": "Feature",
  269. "id": 3,
  270. "geometry": {
  271. "type": "Polygon",
  272. "coordinates": [
  273. [
  274. [
  275. 120.14571742600003,
  276. 31.584166098000026
  277. ],
  278. [
  279. 120.14571742600003,
  280. 31.584166098000026
  281. ]
  282. ]
  283. ]
  284. },
  285. "properties": {
  286. "OBJECTID": 3,
  287. "NAME": "金玲内燃机配件",
  288. "SHAPE_Length": 0.084998180467472262,
  289. "SHAPE_Area": 0.00057489723870844894,
  290. "LX": "火点"
  291. }
  292. },
  293. {
  294. "type": "Feature",
  295. "id": 4,
  296. "geometry": {
  297. "type": "Polygon",
  298. "coordinates": [
  299. [
  300. [
  301. 120.14578064000011,
  302. 31.624750415000051
  303. ],
  304. [
  305. 120.14578064000011,
  306. 31.624750415000051
  307. ]
  308. ]
  309. ]
  310. },
  311. "properties": {
  312. "OBJECTID": 4,
  313. "NAME": "金玲内燃机配件",
  314. "SHAPE_Length": 0.33999726255419588,
  315. "SHAPE_Area": 0.0091989056917438777,
  316. "LX": "烟雾"
  317. }
  318. }
  319. ]
  320. }