Commit 1d4ae099 authored by JiangYixing's avatar JiangYixing

initial

parents
File added
[
{
"id": "24857bb438abff9d",
"type": "tab",
"label": "流程 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "9e718c27e5986146",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
},
{
"id": "47d564dd6f09610e",
"type": "ui_base",
"theme": {
"name": "theme-light",
"lightTheme": {
"default": "#0094CE",
"baseColor": "#0094CE",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"darkTheme": {
"default": "#097479",
"baseColor": "#097479",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"customTheme": {
"name": "Untitled Theme 1",
"default": "#4B7930",
"baseColor": "#4B7930",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"reset": false
},
"themeState": {
"base-color": {
"default": "#0094CE",
"value": "#0094CE",
"edited": false
},
"page-titlebar-backgroundColor": {
"value": "#0094CE",
"edited": false
},
"page-backgroundColor": {
"value": "#fafafa",
"edited": false
},
"page-sidebar-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"group-textColor": {
"value": "#1bbfff",
"edited": false
},
"group-borderColor": {
"value": "#ffffff",
"edited": false
},
"group-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"widget-textColor": {
"value": "#111111",
"edited": false
},
"widget-backgroundColor": {
"value": "#0094ce",
"edited": false
},
"widget-borderColor": {
"value": "#ffffff",
"edited": false
},
"base-font": {
"value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
}
},
"angularTheme": {
"primary": "indigo",
"accents": "blue",
"warn": "red",
"background": "grey",
"palette": "light"
}
},
"site": {
"name": "Node-RED Dashboard",
"hideToolbar": "false",
"allowSwipe": "false",
"lockMenu": "false",
"allowTempTheme": "true",
"dateFormat": "DD/MM/YYYY",
"sizes": {
"sx": 48,
"sy": 48,
"gx": 6,
"gy": 6,
"cx": 6,
"cy": 6,
"px": 0,
"py": 0
}
}
},
{
"id": "f26e3dead4e5d203",
"type": "ui_group",
"name": "cfet2app",
"tab": "9e718c27e5986146",
"order": 1,
"disp": false,
"width": "8",
"collapse": false
},
{
"id": "ebe0e31425c6560c",
"type": "ui_spacer",
"z": "24857bb438abff9d",
"name": "spacer",
"group": "f26e3dead4e5d203",
"order": 2,
"width": 5,
"height": 1
},
{
"id": "122487edca5f9459",
"type": "ui_spacer",
"z": "24857bb438abff9d",
"name": "spacer",
"group": "f26e3dead4e5d203",
"order": 7,
"width": 5,
"height": 1
},
{
"id": "13ae2b313513bd43",
"type": "ui_spacer",
"z": "24857bb438abff9d",
"name": "spacer",
"group": "f26e3dead4e5d203",
"order": 13,
"width": 5,
"height": 1
},
{
"id": "f859c0f0be69e069",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 350,
"y": 1220,
"wires": [
[]
]
},
{
"id": "240f23485f6035fa",
"type": "debug",
"z": "24857bb438abff9d",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 260,
"y": 1340,
"wires": []
},
{
"id": "05b982a7a3edae33",
"type": "complete",
"z": "24857bb438abff9d",
"name": "",
"scope": [],
"uncaught": false,
"x": 390,
"y": 1540,
"wires": [
[]
]
},
{
"id": "bf29559d225d1040",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 3,
"width": 8,
"height": 1,
"name": "",
"label": "/GC/CurrentStateNO",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 780,
"y": 300,
"wires": []
},
{
"id": "c3010f51648615bc",
"type": "cfet-get",
"z": "24857bb438abff9d",
"name": "get",
"url": "http://localhost:8003/GC/CurrentStateNO",
"x": 510,
"y": 300,
"wires": [
[
"bf29559d225d1040"
]
]
},
{
"id": "3032f79a6a77dd0f",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 4,
"width": 8,
"height": 1,
"name": "",
"label": "/PPHeat/CurrentStateNO",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 790,
"y": 380,
"wires": []
},
{
"id": "d7952e5ad852f85c",
"type": "cfet-get",
"z": "24857bb438abff9d",
"name": "get",
"url": "http://localhost:8003/PPHeat/CurrentStateNO",
"x": 510,
"y": 380,
"wires": [
[
"3032f79a6a77dd0f"
]
]
},
{
"id": "9f7ae7667840e86a",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 5,
"width": 8,
"height": 1,
"name": "",
"label": "/WorkAll/CurrentStateNO",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 790,
"y": 460,
"wires": []
},
{
"id": "1eeb408487d41572",
"type": "cfet-get",
"z": "24857bb438abff9d",
"name": "get",
"url": "http://localhost:8003/WorkAll/CurrentStateNO",
"x": 510,
"y": 460,
"wires": [
[
"9f7ae7667840e86a"
]
]
},
{
"id": "6da8a0930ffd49b7",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 9,
"width": 5,
"height": 1,
"name": "",
"label": "/relay/Resource/vue:",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 780,
"y": 540,
"wires": []
},
{
"id": "eee5f50229486fa5",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 350,
"y": 300,
"wires": [
[
"c3010f51648615bc"
]
]
},
{
"id": "4165bb4c34d8052e",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 350,
"y": 380,
"wires": [
[
"d7952e5ad852f85c"
]
]
},
{
"id": "22bbeff38e5e9d3c",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 350,
"y": 460,
"wires": [
[
"1eeb408487d41572"
]
]
},
{
"id": "c82a1f50488719ca",
"type": "ui_text_input",
"z": "24857bb438abff9d",
"name": "",
"label": "",
"tooltip": "",
"group": "f26e3dead4e5d203",
"order": 8,
"width": 3,
"height": 1,
"passthru": false,
"mode": "text",
"delay": "0",
"topic": "topic",
"topicType": "msg",
"x": 340,
"y": 540,
"wires": [
[
"d314d8e5742e79eb"
]
]
},
{
"id": "d314d8e5742e79eb",
"type": "cfet-set",
"z": "24857bb438abff9d",
"name": "",
"url": "http://localhost:8003/relay/Resource/vue",
"x": 520,
"y": 540,
"wires": [
[
"6da8a0930ffd49b7"
]
]
},
{
"id": "7a7613d8dfbaec9f",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 11,
"width": 5,
"height": 1,
"name": "",
"label": "/relay/Resource/abcd:",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 790,
"y": 620,
"wires": []
},
{
"id": "1178d70b1a36f99a",
"type": "ui_text_input",
"z": "24857bb438abff9d",
"name": "",
"label": "",
"tooltip": "",
"group": "f26e3dead4e5d203",
"order": 10,
"width": 3,
"height": 1,
"passthru": false,
"mode": "text",
"delay": "0",
"topic": "topic",
"topicType": "msg",
"x": 340,
"y": 620,
"wires": [
[
"508bc6658bb837b0"
]
]
},
{
"id": "508bc6658bb837b0",
"type": "cfet-set",
"z": "24857bb438abff9d",
"name": "",
"url": "http://localhost:8003/relay/Resource/abcd",
"x": 520,
"y": 620,
"wires": [
[
"7a7613d8dfbaec9f"
]
]
},
{
"id": "40e3139cbad89b21",
"type": "cfet-invoke",
"z": "24857bb438abff9d",
"name": "",
"url": "http://localhost:8003/configSave/ConfigsLoadAll",
"x": 630,
"y": 700,
"wires": [
[
"eacace607c3b7d3f"
]
]
},
{
"id": "73de79a2ce57a696",
"type": "ui_button",
"z": "24857bb438abff9d",
"name": "/configSave/ConfigsLoadAll",
"group": "f26e3dead4e5d203",
"order": 14,
"width": 5,
"height": 1,
"passthru": false,
"label": "/configSave/ConfigsLoadAll",
"tooltip": "",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "1",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 400,
"y": 700,
"wires": [
[
"40e3139cbad89b21"
]
]
},
{
"id": "d5f65b9b0f6bd015",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 1,
"width": 3,
"height": 1,
"name": "",
"label": "get",
"format": "{{msg.payload}}",
"layout": "row-left",
"x": 330,
"y": 220,
"wires": []
},
{
"id": "cdecd8fac893533c",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 6,
"width": 3,
"height": 1,
"name": "",
"label": "set",
"format": "{{msg.payload}}",
"layout": "row-left",
"x": 490,
"y": 220,
"wires": []
},
{
"id": "77c36e06e2673762",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 12,
"width": 3,
"height": 1,
"name": "",
"label": "invoke",
"format": "{{msg.payload}}",
"layout": "row-left",
"x": 670,
"y": 220,
"wires": []
},
{
"id": "eacace607c3b7d3f",
"type": "ui_text",
"z": "24857bb438abff9d",
"group": "f26e3dead4e5d203",
"order": 15,
"width": 3,
"height": 1,
"name": "",
"label": "result :",
"format": "{{msg.payload}}",
"layout": "row-spread",
"x": 820,
"y": 700,
"wires": []
},
{
"id": "ea65147aca70249e",
"type": "cfet-get",
"z": "24857bb438abff9d",
"name": "get",
"url": "http://localhost:8003/relay/Resource/vue",
"x": 530,
"y": 800,
"wires": [
[
"b42a03e527512c43"
]
]
},
{
"id": "aadeba8408879c51",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 350,
"y": 800,
"wires": [
[
"ea65147aca70249e"
]
]
},
{
"id": "d665e8affd971bdd",
"type": "cfet-get",
"z": "24857bb438abff9d",
"name": "get",
"url": "http://localhost:8003/relay/Resource/abcd",
"x": 530,
"y": 860,
"wires": [
[
"0a94a37a687812c9"
]
]
},
{
"id": "4acd1a63aeb8bdcc",
"type": "inject",
"z": "24857bb438abff9d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 350,
"y": 860,
"wires": [
[
"d665e8affd971bdd"
]
]
},
{
"id": "b42a03e527512c43",
"type": "ui_gauge",
"z": "24857bb438abff9d",
"name": "",
"group": "f26e3dead4e5d203",
"order": 16,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "/relay/Resource/vue",
"label": "units",
"format": "{{value}}",
"min": 0,
"max": "100",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"x": 820,
"y": 800,
"wires": []
},
{
"id": "0a94a37a687812c9",
"type": "ui_chart",
"z": "24857bb438abff9d",
"name": "",
"group": "f26e3dead4e5d203",
"order": 17,
"width": 0,
"height": 0,
"label": "/relay/Resource/abcd",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "",
"ymax": "",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"x": 820,
"y": 860,
"wires": [
[]
]
}
]
\ No newline at end of file
1.安装nodejs
https://nodejs.org/en
2.安装node-red,命令行输入
npm install -g --unsafe-perm node-red
3.将压缩包cfet2app放置于C:\Users\user_name\.node_red\node_modules下
4.打开node-red,命令行输入
node-red
然后浏览器网址输入栏输入
http://127.0.0.1:1880/
5.进入node-red网页界面后,点击右上角菜单栏,下拉点击设置-控制板-安装
输入dashboard-evi,安装dashboard-evi
6.点击右上角菜单栏,下拉点击导入,将flows.json内的内容复制输入
7.内容导入后,在浏览器网址输入栏输入
http://127.0.0.1:1880/ui
进入ui界面
或者点击右上角三角形图标,下拉选中dashboard,然后点击Theme右侧的方块箭头图标,也能进入ui界面
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment