FalsificationData.js 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. //伪造测试数据
  2. const devices=[
  3. {
  4. "deviceId": "37010200491320000001",
  5. "name": "浪潮仓外",
  6. "manufacturer": "Hikvision",
  7. "model": "iDS-2DE7223IX-A/S1",
  8. "firmware": "V5.5.23",
  9. "transport": "TCP",
  10. "host": {
  11. "ip": "10.200.64.194",
  12. "port": 58206,
  13. "address": "10.200.64.194:58206"
  14. },
  15. "online": 1,
  16. "channelMap": {
  17. "37010200491320000001": {
  18. "channelId": "37010200491320000001",
  19. "name": "济南第一粮库大门",
  20. "manufacture": "Hikvision",
  21. "model": "IP Camera",
  22. "owner": "Owner",
  23. "civilCode": "CivilCode",
  24. "block": null,
  25. "address": "Address",
  26. "parental": 0,
  27. "parentId": null,
  28. "safetyWay": 0,
  29. "registerWay": 1,
  30. "certNum": null,
  31. "certifiable": 0,
  32. "errCode": 0,
  33. "endTime": null,
  34. "secrecy": "0",
  35. "ipAddress": null,
  36. "port": 0,
  37. "password": null,
  38. "status": 1,
  39. "longitude": 0.0,
  40. "latitude": 0.0
  41. }
  42. }
  43. },
  44. {
  45. "deviceId": "34020000001320000004",
  46. "name": null,
  47. "manufacturer": "Dahua",
  48. "model": "DH-SD-59D120T-HN",
  49. "firmware": "V2.422.3.R.2016-11-30",
  50. "transport": "UDP",
  51. "host": {
  52. "ip": "10.200.64.195",
  53. "port": 5060,
  54. "address": "10.200.64.195:5060"
  55. },
  56. "online": 0,
  57. "channelMap": {
  58. "34020000001320000004": {
  59. "channelId": "34020000001320000004",
  60. "name": "Camera 01",
  61. "manufacture": "Dahua",
  62. "model": "DH-SD-59D120T-HN",
  63. "owner": "0",
  64. "civilCode": "6532",
  65. "block": null,
  66. "address": "axy",
  67. "parental": 0,
  68. "parentId": null,
  69. "safetyWay": 0,
  70. "registerWay": 1,
  71. "certNum": null,
  72. "certifiable": 0,
  73. "errCode": 0,
  74. "endTime": null,
  75. "secrecy": "0",
  76. "ipAddress": null,
  77. "port": 0,
  78. "password": null,
  79. "status": 1,
  80. "longitude": 0.0,
  81. "latitude": 0.0
  82. },
  83. "34020000001320000005": {
  84. "channelId": "34020000001320000005",
  85. "name": "Camera 011",
  86. "manufacture": "Dahua1",
  87. "model": "DH-SD-59D120T-HN",
  88. "owner": "0",
  89. "civilCode": "6532",
  90. "block": null,
  91. "address": "axy1",
  92. "parental": 0,
  93. "parentId": null,
  94. "safetyWay": 0,
  95. "registerWay": 1,
  96. "certNum": null,
  97. "certifiable": 0,
  98. "errCode": 0,
  99. "endTime": null,
  100. "secrecy": "0",
  101. "ipAddress": null,
  102. "port": 0,
  103. "password": null,
  104. "status": 1,
  105. "longitude": 0.0,
  106. "latitude": 0.0
  107. }
  108. }
  109. }
  110. ]
  111. const recordData={
  112. "deviceId": "34020000001320000001",
  113. "name": "假数据中化梁抵库",
  114. "sumNum": 2,
  115. "recordList": [
  116. {
  117. "deviceId": "34020000001320000001",
  118. "name": "假数据中化梁抵库",
  119. "filePath": "1589112259_1589112788",
  120. "address": "Address 1",
  121. "startTime": "2020-05-10 20:04:19",
  122. "endTime": "2020-05-10 20:13:08",
  123. "secrecy": 0,
  124. "type": "time",
  125. "recorderId": null
  126. },
  127. {
  128. "deviceId": "34020000001320000001",
  129. "name": "假数据中化梁抵库",
  130. "filePath": "1589112788_1589113318",
  131. "address": "Address 1",
  132. "startTime": "2020-05-10 20:13:08",
  133. "endTime": "2020-05-10 20:21:58",
  134. "secrecy": 0,
  135. "type": "time",
  136. "recorderId": null
  137. }
  138. ]
  139. }
  140. export default{
  141. devices,//设备列表
  142. recordData,
  143. }