122 lines
3.6 KiB
JSON
122 lines
3.6 KiB
JSON
{
|
|
"common": {
|
|
"name": "vis",
|
|
"version": "1.1.7",
|
|
"title": "Visualisation",
|
|
"titleLang": {
|
|
"en": "Visualisation",
|
|
"cn": "可视化设计"
|
|
},
|
|
"desc": {
|
|
"en": "Graphical user interface for yunkong2",
|
|
"cn": "云控可视化设计器"
|
|
},
|
|
"platform": "Javascript/Node.js",
|
|
"loglevel": "info",
|
|
"icon": "vis.png",
|
|
"enabled": true,
|
|
"mode": "once",
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.vis/raw/master/admin/vis.png",
|
|
"keywords": [
|
|
"DashUI",
|
|
"GUI",
|
|
"graphical",
|
|
"scada"
|
|
],
|
|
"readme": "https://git.spacen.net/yunkong2/yunkong2.vis/blob/master/README.md",
|
|
"localLink": "%web_protocol%://%ip%:%web_port%/vis/edit.html",
|
|
"license": "CC BY-NC",
|
|
"dependencies": [
|
|
{
|
|
"web": ">=1.5.4"
|
|
}
|
|
],
|
|
"restartAdapters": [
|
|
"vis"
|
|
],
|
|
"serviceStates": "lib/states.js",
|
|
"singleton": true,
|
|
"type": "visualization",
|
|
"highlight": true,
|
|
"noConfig": false,
|
|
"materialize": true,
|
|
"welcomeScreen": {
|
|
"link": "vis/index.html",
|
|
"name": "云控仪表",
|
|
"img": "vis/img/favicon.png",
|
|
"color": "#ffe9c8",
|
|
"order": 0
|
|
},
|
|
"welcomeScreenPro": {
|
|
"link": "vis/edit.html",
|
|
"name": "可视化设计器",
|
|
"img": "vis/img/faviconEdit.png",
|
|
"color": "#c8ffe1",
|
|
"order": 1
|
|
}
|
|
},
|
|
"native": {
|
|
"defaultFileMode": 1604,
|
|
"license": ""
|
|
},
|
|
"instanceObjects": [
|
|
{
|
|
"_id": "",
|
|
"type": "meta",
|
|
"common": {
|
|
"name": "user files and images for vis",
|
|
"type": "meta.user"
|
|
},
|
|
"native": {}
|
|
},
|
|
{
|
|
"_id": "control",
|
|
"type": "channel",
|
|
"common": {
|
|
"name": "Control vis"
|
|
},
|
|
"native": {}
|
|
},
|
|
{
|
|
"_id": "control.instance",
|
|
"type": "state",
|
|
"common": {
|
|
"name": "Control vis",
|
|
"type": "string",
|
|
"desc": "Write here browser instance ID to control or 'FFFFFFFF' to control all instances"
|
|
},
|
|
"native": {}
|
|
},
|
|
{
|
|
"_id": "control.command",
|
|
"type": "state",
|
|
"common": {
|
|
"name": "Command for vis",
|
|
"type": "string",
|
|
"desc": "Writing this variable akt as the trigger. Instance and data must be preset before 'command' will be written. 'changedView' will be signalled too",
|
|
"states": {
|
|
"alert": "alert",
|
|
"changeView": "changeView",
|
|
"refresh": "refresh",
|
|
"reload": "reload",
|
|
"dialog": "dialog",
|
|
"popup": "popup",
|
|
"playSound": "playSound",
|
|
"changedView": "changedView",
|
|
"tts": "tts"
|
|
}
|
|
},
|
|
"native": {}
|
|
},
|
|
{
|
|
"_id": "control.data",
|
|
"type": "state",
|
|
"common": {
|
|
"name": "Data for control vis",
|
|
"type": "string",
|
|
"desc": "Used for: alert, changeView, dialog, popup, playSound, changedView"
|
|
},
|
|
"native": {}
|
|
}
|
|
]
|
|
} |