tempData.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. export var data = {
  2. "map_elem": [
  3. {
  4. id: "0001",
  5. name: "Blue Car",
  6. type: "moving_elem",
  7. icon: {icon: "fa fa-car", color: 'blue'},
  8. status: 'enabled',
  9. cord: '50.073658, 14.418540',
  10. prop: {
  11. is_moving: true,
  12. tags: ['is_car', 'is_beatiful', 'has_wheels']
  13. },
  14. data: {
  15. '1': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  16. '2': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  17. '3': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  18. '4': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  19. '5': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  20. '6': {cord: '32.434343, 43.043043', timestamp: 2342342444}
  21. }
  22. },
  23. {
  24. id: "0002",
  25. name: "Red Car",
  26. type: "moving_elem",
  27. icon: {icon: "fa fa-car", color: 'red'},
  28. status: 'enabled',
  29. cord: '49.7580791,13.3540124',
  30. prop: {
  31. is_moving: true,
  32. tags: ['is_car', 'is_beatiful', 'has_wheels']
  33. },
  34. data: {
  35. '1': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  36. '2': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  37. '3': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  38. '4': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  39. '5': {cord: '32.434343, 43.043043', timestamp: 2342342444},
  40. '6': {cord: '32.434343, 43.043043', timestamp: 2342342444}
  41. }
  42. },
  43. ////////// heat
  44. {
  45. id: "0003",
  46. name: "High Temperature",
  47. type: "fixed_elem",
  48. icon: {icon: "fa fa-thermometer-empty", color: 'red'},
  49. status: 'enabled',
  50. cord: '49.9578316,15.8388234',
  51. severity: 'critical',
  52. prop: {
  53. is_moving: true,
  54. tags: ['is_sensor', 'is_small', 'fast_sensor']
  55. }
  56. },
  57. {
  58. id: "0004",
  59. name: "Low Temperature",
  60. type: "fixed_elem",
  61. icon: {icon: "fa fa-thermometer-empty", color: 'green'},
  62. status: 'enabled',
  63. cord: '50.7704562,15.0586805',
  64. severity: 'critical',
  65. prop: {
  66. is_moving: true,
  67. tags: ['is_sensor', 'is_small', 'fast_sensor']
  68. }
  69. }
  70. ]
  71. }