forked from dgiot/dgiot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
665 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
{ | ||
"dashboard": [ | ||
{ | ||
"dataType": "map", | ||
"vuekey": "baiduMap", | ||
"table": "baidu", | ||
"query": { | ||
"keys": [ | ||
"count(*)" | ||
] | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "app_count", | ||
"table": "App", | ||
"query": { | ||
"limit": 1, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "product_count", | ||
"table": "Product", | ||
"query": { | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "dev_online_count", | ||
"table": "Device", | ||
"query": { | ||
"order": "-updatedAt", | ||
"limit": 15, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": { | ||
"status": "ONLINE" | ||
} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "dev_off_count", | ||
"table": "Device", | ||
"query": { | ||
"limit": 15, | ||
"order": "-updatedAt", | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": { | ||
"status": "OFFLINE" | ||
} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "project_count", | ||
"table": "Project", | ||
"query": { | ||
"limit": 1, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "ChartStatus", | ||
"table": "ChartStatus", | ||
"query": { | ||
"limit": 1, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "device_count", | ||
"table": "Device", | ||
"query": { | ||
"limit": 1, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
}, | ||
{ | ||
"dataType": "card", | ||
"vuekey": "warn_count", | ||
"table": "Notification", | ||
"query": { | ||
"limit": 1, | ||
"keys": [ | ||
"count(*)" | ||
], | ||
"where": {} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"basic": [ | ||
{ | ||
"category": "OTA 升级", | ||
"desc": "设备属性上报", | ||
"isdef": true, | ||
"topic": "$dg/user/${deviceid}/post", | ||
"type": "sub" | ||
}, | ||
{ | ||
"category": "OTA 升级", | ||
"desc": "消息下发", | ||
"isdef": true, | ||
"topic": "$dg/thing/${deviceid}/", | ||
"type": "pub" | ||
} | ||
], | ||
"thing": [ | ||
{ | ||
"category": "属性上报", | ||
"desc": "设备属性上报", | ||
"isdef": true, | ||
"topic": "$dg/user/${deviceid}/post", | ||
"type": "sub'" | ||
}, | ||
{ | ||
"category": "属性上报", | ||
"desc": "消息下发", | ||
"isdef": true, | ||
"topic": "$dg/thing/${deviceid}/", | ||
"type": "pub" | ||
} | ||
] | ||
} |
Oops, something went wrong.