react-amap-v2
Version:
高德地图 v2.0 react 组件
258 lines (257 loc) • 6.15 kB
text/typescript
export default {
obuStatistics: { total: 20, online: 0, offline: 20 },
rsuStatistics: { total: 12, online: 0, offline: 12 },
devices: [
{
id: 39,
type: 'RSU',
abbr: '路口信号灯',
sn: '123213132123',
lon: 119.425572609,
lat: 31.054014038,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-04-25T07:29:41.123Z',
updateTime: '2020-04-29T08:47:22.296Z',
simCard: null,
brand: null,
locationDesc: '路口',
},
{
id: 34,
type: 'RSU',
abbr: '_ttt',
sn: '123ddasd1',
lon: 119.429052586,
lat: 31.049415863,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-04-15T02:06:03.584Z',
updateTime: '2020-04-23T06:20:22.981Z',
simCard: '111111111111',
brand: '111xx',
locationDesc: '位置描述',
},
{
id: 33,
type: 'OBU',
abbr: '测试OBU',
sn: '13143434333',
lon: 119.429332697,
lat: 31.036428832,
connectionStatus: '0',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '30.90.10.137:37770',
createTime: '2020-04-10T08:08:12.809Z',
updateTime: '2020-04-10T08:08:12.809Z',
simCard: null,
brand: null,
plateNo: '沪a123245',
vehicleId: 23,
vehicleBrand: '通用',
speed: null,
vehicleStatus: 1,
},
{
id: 32,
type: 'signalLamp',
abbr: '测试红绿灯',
sn: '1414336823',
lon: 119.428682481,
lat: 31.038652786,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '30.90.10.137:37778',
createTime: '2020-04-10T08:07:40.549Z',
updateTime: '2020-04-22T06:25:36.811Z',
simCard: null,
brand: null,
locationDesc: null,
phases: [{ phaseId: null, lampStatus: 1, timeLeft: 28 }],
},
{
id: 30,
type: 'RSU',
abbr: '路口信号灯',
sn: '123213132422',
lon: 119.424230227,
lat: 31.037213734,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-04-10T06:06:13.860Z',
updateTime: '2020-04-21T08:59:38.834Z',
simCard: null,
brand: null,
locationDesc: null,
},
{
id: 27,
type: 'signalLamp',
abbr: '交叉路口信号灯',
sn: '1213456',
lon: 119.428984565,
lat: 31.035854859,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-04-09T03:24:02.619Z',
updateTime: '2020-04-09T11:05:58.414Z',
simCard: null,
brand: null,
locationDesc: null,
phases: null,
},
{
id: 26,
type: 'RSU',
abbr: '路侧设备',
sn: '2323245',
lon: 119.42265978,
lat: 31.040750355,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-04-09T03:18:48.991Z',
updateTime: '2020-04-15T02:19:48.941Z',
simCard: null,
brand: null,
locationDesc: null,
},
{
id: 24,
type: 'signalLamp',
abbr: '红绿灯',
sn: '123145',
lon: 119.435126247,
lat: 31.030467278,
connectionStatus: '0',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '30.90.9.164:17921',
createTime: '2020-03-18T02:09:23.560Z',
updateTime: '2020-04-09T06:23:54.887Z',
simCard: null,
brand: null,
locationDesc: null,
phases: [{ phaseId: null, lampStatus: 1, timeLeft: 29 }],
},
{
id: 19,
type: 'signalLamp',
abbr: '红绿灯',
sn: '1234566',
lon: 121.496196997,
lat: 31.31016745,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-03-17T06:30:47.869Z',
updateTime: '2020-03-17T06:32:11.107Z',
simCard: null,
brand: null,
locationDesc: null,
phases: null,
},
{
id: 18,
type: 'signalLamp',
abbr: '国权北路信号灯',
sn: '12321313221',
lon: 119.427647189,
lat: 31.027059552,
connectionStatus: '2',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: null,
createTime: '2020-03-17T05:00:19.094Z',
updateTime: '2020-04-09T06:23:26.768Z',
simCard: null,
brand: null,
locationDesc: null,
phases: null,
},
{
id: 17,
type: 'RSU',
abbr: '路口1RSU设备',
sn: '12321313242',
lon: 119.419041746,
lat: 31.045026482,
connectionStatus: '0',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '169.254.229.3:13988',
createTime: '2020-03-17T04:59:18.050Z',
updateTime: '2020-04-09T06:23:29.474Z',
simCard: null,
brand: null,
locationDesc: null,
},
{
id: 14,
type: 'OBU',
abbr: 'OBU设备3',
sn: '20200311007',
lon: 121.502567074,
lat: 31.337623824,
connectionStatus: '0',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '169.254.229.3:35481',
createTime: '2020-03-11T06:46:42.649Z',
updateTime: '2020-03-11T06:46:42.649Z',
simCard: null,
brand: null,
plateNo: '1231',
vehicleId: 5,
vehicleBrand: '123',
speed: 50.4,
vehicleStatus: 1,
},
{
id: 1,
type: 'OBU',
abbr: '测试设备ueaaa',
sn: '1234567890',
lon: 121.485345063,
lat: 31.308999685,
connectionStatus: '0',
deviceStatus: '0',
rxBytes: 0,
txBytes: 0,
ip: '30.90.10.122:27525',
createTime: '2020-03-02T09:44:31.971Z',
updateTime: '2020-03-11T03:35:17.732Z',
simCard: null,
brand: null,
plateNo: null,
vehicleId: null,
vehicleBrand: null,
speed: 29.2,
vehicleStatus: null,
},
],
};