Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yc_edge
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wubi
yc_edge
Commits
9af0fb5b
Commit
9af0fb5b
authored
Mar 07, 2025
by
wubi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加测试流程
parent
f9d00421
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2645 additions
and
2 deletions
+2645
-2
entity.data.json
nr/database/entity.data.json
+8
-0
.config.users.json
...y/2bdcbd39-fda5-4938-b7bc-22746d33df7e/.config.users.json
+1
-1
.config.users.json.backup
...d39-fda5-4938-b7bc-22746d33df7e/.config.users.json.backup
+1
-1
.config.nodes.json
...y/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.nodes.json
+1189
-0
.config.runtime.json
...bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.runtime.json
+4
-0
.config.runtime.json.backup
...e-de3a-4c43-a7a4-d3b9b006b937/.config.runtime.json.backup
+3
-0
.config.users.json
...y/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.users.json
+26
-0
.config.users.json.backup
...9fe-de3a-4c43-a7a4-d3b9b006b937/.config.users.json.backup
+25
-0
.flows.json.backup
...y/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.flows.json.backup
+657
-0
.flows_cred.json.backup
...729fe-de3a-4c43-a7a4-d3b9b006b937/.flows_cred.json.backup
+3
-0
flows.json
...se/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/flows.json
+657
-0
flows_cred.json
...tity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/flows_cred.json
+3
-0
package.json
.../entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/package.json
+6
-0
settings.js
...e/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/settings.js
+62
-0
No files found.
nr/database/entity.data.json
View file @
9af0fb5b
[
{
"id"
:
"bd7729fe-de3a-4c43-a7a4-d3b9b006b937"
,
"port"
:
1903
,
"name"
:
"物联安全接入网关性能测试"
,
"desc"
:
""
,
"enable"
:
true
,
"createTime"
:
1741313065459
},
{
"id"
:
"6b268362-be95-4176-bf87-e32ccb41df7c"
,
"port"
:
1909
,
...
...
nr/database/entity/2bdcbd39-fda5-4938-b7bc-22746d33df7e/.config.users.json
View file @
9af0fb5b
...
...
@@ -18,7 +18,7 @@
"dialog"
:
{
"export"
:
{
"pretty"
:
true
,
"json-view"
:
fals
e
"json-view"
:
tru
e
}
}
},
...
...
nr/database/entity/2bdcbd39-fda5-4938-b7bc-22746d33df7e/.config.users.json.backup
View file @
9af0fb5b
...
...
@@ -22,6 +22,6 @@
}
}
},
"menu-menu-item-sidebar":
fals
e
"menu-menu-item-sidebar":
tru
e
}
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.nodes.json
0 → 100644
View file @
9af0fb5b
{
"node-red"
:
{
"name"
:
"node-red"
,
"version"
:
"4.0.2"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"junction"
:
{
"name"
:
"junction"
,
"types"
:
[
"junction"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/05-junction.js"
},
"inject"
:
{
"name"
:
"inject"
,
"types"
:
[
"inject"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/20-inject.js"
},
"debug"
:
{
"name"
:
"debug"
,
"types"
:
[
"debug"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/21-debug.js"
},
"complete"
:
{
"name"
:
"complete"
,
"types"
:
[
"complete"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/24-complete.js"
},
"catch"
:
{
"name"
:
"catch"
,
"types"
:
[
"catch"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/25-catch.js"
},
"status"
:
{
"name"
:
"status"
,
"types"
:
[
"status"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/25-status.js"
},
"link"
:
{
"name"
:
"link"
,
"types"
:
[
"link in"
,
"link out"
,
"link call"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/60-link.js"
},
"comment"
:
{
"name"
:
"comment"
,
"types"
:
[
"comment"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/90-comment.js"
},
"global-config"
:
{
"name"
:
"global-config"
,
"types"
:
[
"global-config"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/91-global-config.js"
},
"unknown"
:
{
"name"
:
"unknown"
,
"types"
:
[
"unknown"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/common/98-unknown.js"
},
"function"
:
{
"name"
:
"function"
,
"types"
:
[
"function"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/10-function.js"
},
"switch"
:
{
"name"
:
"switch"
,
"types"
:
[
"switch"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/10-switch.js"
},
"change"
:
{
"name"
:
"change"
,
"types"
:
[
"change"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/15-change.js"
},
"range"
:
{
"name"
:
"range"
,
"types"
:
[
"range"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/16-range.js"
},
"template"
:
{
"name"
:
"template"
,
"types"
:
[
"template"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/80-template.js"
},
"delay"
:
{
"name"
:
"delay"
,
"types"
:
[
"delay"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/89-delay.js"
},
"trigger"
:
{
"name"
:
"trigger"
,
"types"
:
[
"trigger"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/89-trigger.js"
},
"exec"
:
{
"name"
:
"exec"
,
"types"
:
[
"exec"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/90-exec.js"
},
"rbe"
:
{
"name"
:
"rbe"
,
"types"
:
[
"rbe"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/function/rbe.js"
},
"tls"
:
{
"name"
:
"tls"
,
"types"
:
[
"tls-config"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/05-tls.js"
},
"httpproxy"
:
{
"name"
:
"httpproxy"
,
"types"
:
[
"http proxy"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/06-httpproxy.js"
},
"mqtt"
:
{
"name"
:
"mqtt"
,
"types"
:
[
"mqtt in"
,
"mqtt out"
,
"mqtt-broker"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js"
},
"httpin"
:
{
"name"
:
"httpin"
,
"types"
:
[
"http in"
,
"http response"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/21-httpin.js"
},
"httprequest"
:
{
"name"
:
"httprequest"
,
"types"
:
[
"http request"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js"
},
"websocket"
:
{
"name"
:
"websocket"
,
"types"
:
[
"websocket in"
,
"websocket out"
,
"websocket-listener"
,
"websocket-client"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/22-websocket.js"
},
"tcpin"
:
{
"name"
:
"tcpin"
,
"types"
:
[
"tcp in"
,
"tcp out"
,
"tcp request"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/31-tcpin.js"
},
"udp"
:
{
"name"
:
"udp"
,
"types"
:
[
"udp in"
,
"udp out"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/network/32-udp.js"
},
"CSV"
:
{
"name"
:
"CSV"
,
"types"
:
[
"csv"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/parsers/70-CSV.js"
},
"HTML"
:
{
"name"
:
"HTML"
,
"types"
:
[
"html"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/parsers/70-HTML.js"
},
"JSON"
:
{
"name"
:
"JSON"
,
"types"
:
[
"json"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/parsers/70-JSON.js"
},
"XML"
:
{
"name"
:
"XML"
,
"types"
:
[
"xml"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/parsers/70-XML.js"
},
"YAML"
:
{
"name"
:
"YAML"
,
"types"
:
[
"yaml"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/parsers/70-YAML.js"
},
"split"
:
{
"name"
:
"split"
,
"types"
:
[
"split"
,
"join"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/sequence/17-split.js"
},
"sort"
:
{
"name"
:
"sort"
,
"types"
:
[
"sort"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/sequence/18-sort.js"
},
"batch"
:
{
"name"
:
"batch"
,
"types"
:
[
"batch"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/sequence/19-batch.js"
},
"file"
:
{
"name"
:
"file"
,
"types"
:
[
"file"
,
"file in"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/storage/10-file.js"
},
"watch"
:
{
"name"
:
"watch"
,
"types"
:
[
"watch"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red"
,
"file"
:
"/app/nr/node-red/packages/node_modules/@node-red/nodes/core/storage/23-watch.js"
}
}
},
"node-red-contrib-oscar-yolo"
:
{
"name"
:
"node-red-contrib-oscar-yolo"
,
"version"
:
"1.0.1"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"yolo-node"
:
{
"name"
:
"yolo-node"
,
"types"
:
[
"sf:12538e869520378f"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-oscar-yolo"
,
"file"
:
"/app/nr/node_modules/node-red-contrib-oscar-yolo/yolo.js"
}
}
},
"node-red-thingskit-ai-reasoning"
:
{
"name"
:
"node-red-thingskit-ai-reasoning"
,
"version"
:
"1.0.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"ai-reasoning"
:
{
"name"
:
"ai-reasoning"
,
"types"
:
[
"ai-reasoning"
,
"ai-reasoning-config"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-thingskit-ai-reasoning"
,
"file"
:
"/app/nr/commonNode/ai-reasoning/ai-reasoning.js"
}
}
},
"node-red-thingskit-interval-multiples-timer"
:
{
"name"
:
"node-red-thingskit-interval-multiples-timer"
,
"version"
:
"1.0.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"interval-multiples-timer"
:
{
"name"
:
"interval-multiples-timer"
,
"types"
:
[
"interval-multiples-timer"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-thingskit-interval-multiples-timer"
,
"file"
:
"/app/nr/commonNode/interval-multiples-timer/interval-multiples-timer.js"
}
}
},
"node-red-thingskit-mqtt"
:
{
"name"
:
"node-red-thingskit-mqtt"
,
"version"
:
"1.0.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"mqtt"
:
{
"name"
:
"mqtt"
,
"types"
:
[
"mqtt-in"
,
"mqtt-out"
,
"mqtt-event"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-thingskit-mqtt"
,
"file"
:
"/app/nr/commonNode/mqtt/mqtt.js"
}
}
},
"node-red-contrib-aedes"
:
{
"name"
:
"node-red-contrib-aedes"
,
"version"
:
"0.13.2"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"aedes-mqtt-broker"
:
{
"name"
:
"aedes-mqtt-broker"
,
"types"
:
[
"aedes broker"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-aedes"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-aedes/aedes.js"
}
}
},
"node-red-contrib-bacnet"
:
{
"name"
:
"node-red-contrib-bacnet"
,
"version"
:
"0.3.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"BACnet-Client"
:
{
"name"
:
"BACnet-Client"
,
"types"
:
[
"BACnet-Client"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-client.js"
},
"BACnet-Device"
:
{
"name"
:
"BACnet-Device"
,
"types"
:
[
"BACnet-Device"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-device.js"
},
"BACnet-Instance"
:
{
"name"
:
"BACnet-Instance"
,
"types"
:
[
"BACnet-Instance"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-instance.js"
},
"BACnet-Read"
:
{
"name"
:
"BACnet-Read"
,
"types"
:
[
"BACnet-Read"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-read.js"
},
"BACnet-Write"
:
{
"name"
:
"BACnet-Write"
,
"types"
:
[
"BACnet-Write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-write.js"
},
"BACnet-Command"
:
{
"name"
:
"BACnet-Command"
,
"types"
:
[
"BACnet-Command"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-bacnet"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-bacnet/bacnet/bacnet-command.js"
}
}
},
"node-red-contrib-buffer-parser"
:
{
"name"
:
"node-red-contrib-buffer-parser"
,
"version"
:
"3.2.2"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"buffer-parser"
:
{
"name"
:
"buffer-parser"
,
"types"
:
[
"buffer-parser"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-buffer-parser"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-buffer-parser/buffer-parser.js"
},
"buffer-maker"
:
{
"name"
:
"buffer-maker"
,
"types"
:
[
"buffer-maker"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-buffer-parser"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-buffer-parser/buffer-maker.js"
}
}
},
"node-red-contrib-image-output"
:
{
"name"
:
"node-red-contrib-image-output"
,
"version"
:
"0.6.4"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"image"
:
{
"name"
:
"image"
,
"types"
:
[
"image"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-image-output"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-image-output/image/image.js"
}
}
},
"node-red-contrib-interval-multiples-timer"
:
{
"name"
:
"node-red-contrib-interval-multiples-timer"
,
"version"
:
"1.0.5"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"interval-multiples-timer"
:
{
"name"
:
"interval-multiples-timer"
,
"types"
:
[
"interval-multiples-timer"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-interval-multiples-timer"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-interval-multiples-timer/interval-multiples-timer.js"
}
}
},
"node-red-contrib-mcprotocol"
:
{
"name"
:
"node-red-contrib-mcprotocol"
,
"version"
:
"1.2.1"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"mcRead"
:
{
"name"
:
"mcRead"
,
"types"
:
[
"MC Read"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol/nodes/read.js"
},
"mcWrite"
:
{
"name"
:
"mcWrite"
,
"types"
:
[
"MC Write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol/nodes/write.js"
},
"mcConnection"
:
{
"name"
:
"mcConnection"
,
"types"
:
[
"MC Protocol Connection"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol/nodes/connection.js"
}
}
},
"node-red-contrib-mcprotocol-ind"
:
{
"name"
:
"node-red-contrib-mcprotocol-ind"
,
"version"
:
"1.7.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"mcRead"
:
{
"name"
:
"mcRead"
,
"types"
:
[
"Ind MC Read"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol-ind"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol-ind/nodes/read.js"
},
"mcWrite"
:
{
"name"
:
"mcWrite"
,
"types"
:
[
"Ind MC Write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol-ind"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol-ind/nodes/write.js"
},
"mcConnection"
:
{
"name"
:
"mcConnection"
,
"types"
:
[
"Ind MC Protocol Connection"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-mcprotocol-ind"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-mcprotocol-ind/nodes/connection.js"
}
}
},
"node-red-contrib-modbus"
:
{
"name"
:
"node-red-contrib-modbus"
,
"version"
:
"5.40.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"Modbus-Client"
:
{
"name"
:
"Modbus-Client"
,
"types"
:
[
"modbus-client"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-client.js"
},
"Modbus-Response"
:
{
"name"
:
"Modbus-Response"
,
"types"
:
[
"modbus-response"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-response.js"
},
"Modbus-Read"
:
{
"name"
:
"Modbus-Read"
,
"types"
:
[
"modbus-read"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-read.js"
},
"Modbus-Getter"
:
{
"name"
:
"Modbus-Getter"
,
"types"
:
[
"modbus-getter"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-getter.js"
},
"Modbus-Flex-Getter"
:
{
"name"
:
"Modbus-Flex-Getter"
,
"types"
:
[
"modbus-flex-getter"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-flex-getter.js"
},
"Modbus-Write"
:
{
"name"
:
"Modbus-Write"
,
"types"
:
[
"modbus-write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-write.js"
},
"Modbus-Flex-Write"
:
{
"name"
:
"Modbus-Flex-Write"
,
"types"
:
[
"modbus-flex-write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-flex-write.js"
},
"Modbus-Server"
:
{
"name"
:
"Modbus-Server"
,
"types"
:
[
"modbus-server"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-server.js"
},
"Modbus-Queue-Info"
:
{
"name"
:
"Modbus-Queue-Info"
,
"types"
:
[
"modbus-queue-info"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-queue-info.js"
},
"Modbus-Flex-Connector"
:
{
"name"
:
"Modbus-Flex-Connector"
,
"types"
:
[
"modbus-flex-connector"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-flex-connector.js"
},
"Modbus-IO-Config"
:
{
"name"
:
"Modbus-IO-Config"
,
"types"
:
[
"modbus-io-config"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-io-config.js"
},
"Modbus-Response-Filter"
:
{
"name"
:
"Modbus-Response-Filter"
,
"types"
:
[
"modbus-response-filter"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-response-filter.js"
},
"Modbus-Flex-Sequencer"
:
{
"name"
:
"Modbus-Flex-Sequencer"
,
"types"
:
[
"modbus-flex-sequencer"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-flex-sequencer.js"
},
"Modbus-Flex-Fc"
:
{
"name"
:
"Modbus-Flex-Fc"
,
"types"
:
[
"modbus-flex-fc"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-modbus"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-modbus/modbus/modbus-flex-fc.js"
}
}
},
"node-red-contrib-omron-fins"
:
{
"name"
:
"node-red-contrib-omron-fins"
,
"version"
:
"0.5.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"omronRead"
:
{
"name"
:
"omronRead"
,
"types"
:
[
"FINS Read"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/read.js"
},
"omronReadMultiple"
:
{
"name"
:
"omronReadMultiple"
,
"types"
:
[
"FINS Read Multiple"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/readMultiple.js"
},
"omronWrite"
:
{
"name"
:
"omronWrite"
,
"types"
:
[
"FINS Write"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/write.js"
},
"omronFile"
:
{
"name"
:
"omronFile"
,
"types"
:
[
"FINS Fill"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/fill.js"
},
"omronTransfer"
:
{
"name"
:
"omronTransfer"
,
"types"
:
[
"FINS Transfer"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/transfer.js"
},
"omronConnection"
:
{
"name"
:
"omronConnection"
,
"types"
:
[
"FINS Connection"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/connection.js"
},
"omronControl"
:
{
"name"
:
"omronControl"
,
"types"
:
[
"FINS Control"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-omron-fins"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-omron-fins/nodes/control.js"
}
}
},
"node-red-contrib-opcua"
:
{
"name"
:
"node-red-contrib-opcua"
,
"version"
:
"0.2.331"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"OpcUa-Item"
:
{
"name"
:
"OpcUa-Item"
,
"types"
:
[
"OpcUa-Item"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/101-opcuaitem.js"
},
"OpcUa-Client"
:
{
"name"
:
"OpcUa-Client"
,
"types"
:
[
"OpcUa-Client"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/102-opcuaclient.js"
},
"OpcUa-Browser"
:
{
"name"
:
"OpcUa-Browser"
,
"types"
:
[
"OpcUa-Browser"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/103-opcuabrowser.js"
},
"OpcUa-Server"
:
{
"name"
:
"OpcUa-Server"
,
"types"
:
[
"OpcUa-Server"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/104-opcuaserver.js"
},
"OpcUa-Endpoint"
:
{
"name"
:
"OpcUa-Endpoint"
,
"types"
:
[
"OpcUa-Endpoint"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/105-opcuaendpoint.js"
},
"OpcUa-Event"
:
{
"name"
:
"OpcUa-Event"
,
"types"
:
[
"OpcUa-Event"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/106-opcuaevent.js"
},
"OpcUa-Method"
:
{
"name"
:
"OpcUa-Method"
,
"types"
:
[
"OpcUa-Method"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/107-opcuamethod.js"
},
"OpcUa-Rights"
:
{
"name"
:
"OpcUa-Rights"
,
"types"
:
[
"OpcUa-Rights"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/108-opcuarights.js"
},
"OpcUa-Discovery"
:
{
"name"
:
"OpcUa-Discovery"
,
"types"
:
[
"OpcUa-Discovery"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-opcua"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-opcua/opcua/109-opcuadiscovery.js"
}
}
},
"node-red-contrib-s7"
:
{
"name"
:
"node-red-contrib-s7"
,
"version"
:
"3.1.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"s7"
:
{
"name"
:
"s7"
,
"types"
:
[
"s7 endpoint"
,
"s7 in"
,
"s7 out"
,
"s7 control"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-contrib-s7"
,
"file"
:
"/app/nr/commonNode/node-red-contrib-s7/red/s7.js"
}
}
},
"node-red-node-ping"
:
{
"name"
:
"node-red-node-ping"
,
"version"
:
"0.3.3"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"ping"
:
{
"name"
:
"ping"
,
"types"
:
[
"ping"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-node-ping"
,
"file"
:
"/app/nr/commonNode/node-red-node-ping/88-ping.js"
}
}
},
"node-red-node-random"
:
{
"name"
:
"node-red-node-random"
,
"version"
:
"0.4.1"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"random"
:
{
"name"
:
"random"
,
"types"
:
[
"random"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-node-random"
,
"file"
:
"/app/nr/commonNode/node-red-node-random/random.js"
}
}
},
"node-red-node-snmp"
:
{
"name"
:
"node-red-node-snmp"
,
"version"
:
"2.0.0"
,
"local"
:
false
,
"user"
:
false
,
"nodes"
:
{
"snmp"
:
{
"name"
:
"snmp"
,
"types"
:
[
"snmp"
,
"snmp set"
,
"snmp table"
,
"snmp subtree"
,
"snmp walker"
],
"enabled"
:
true
,
"local"
:
false
,
"user"
:
false
,
"module"
:
"node-red-node-snmp"
,
"file"
:
"/app/nr/commonNode/node-red-node-snmp/snmp.js"
}
}
}
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.runtime.json
0 → 100644
View file @
9af0fb5b
{
"instanceId"
:
"6e08c38235eec014"
,
"_credentialSecret"
:
"016d031e4d5543774d289981c0504749a665c4168b60155c9461366b21e3ec2a"
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.runtime.json.backup
0 → 100644
View file @
9af0fb5b
{
"instanceId": "6e08c38235eec014"
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.users.json
0 → 100644
View file @
9af0fb5b
{
"_"
:
{
"editor"
:
{
"view"
:
{
"view-store-zoom"
:
false
,
"view-store-position"
:
false
,
"view-show-grid"
:
true
,
"view-snap-grid"
:
true
,
"view-grid-size"
:
20
,
"view-node-status"
:
true
,
"view-node-show-label"
:
true
,
"view-show-tips"
:
true
,
"view-show-welcome-tours"
:
true
},
"tours"
:
{
"welcome"
:
"4.0.2"
},
"dialog"
:
{
"export"
:
{
"pretty"
:
true
,
"json-view"
:
true
}
}
}
}
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.config.users.json.backup
0 → 100644
View file @
9af0fb5b
{
"_": {
"editor": {
"view": {
"view-store-zoom": false,
"view-store-position": false,
"view-show-grid": true,
"view-snap-grid": true,
"view-grid-size": 20,
"view-node-status": true,
"view-node-show-label": true,
"view-show-tips": true,
"view-show-welcome-tours": true
},
"tours": {
"welcome": "4.0.2"
},
"dialog": {
"export": {
"pretty": true
}
}
}
}
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.flows.json.backup
0 → 100644
View file @
9af0fb5b
[
{
"id": "ea956f407a58bf27",
"type": "tab",
"label": "测试",
"disabled": false,
"info": "",
"env": []
},
{
"id": "1cceeb709e78b6fb",
"type": "modbus-client",
"name": "",
"clienttype": "simpleser",
"bufferCommands": true,
"stateLogEnabled": false,
"queueLogEnabled": false,
"failureLogEnabled": true,
"tcpHost": "127.0.0.1",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyS4",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "100",
"serialAsciiResponseStartDelimiter": "0x3A",
"unit_id": "1",
"commandDelay": "1",
"clientTimeout": "1000",
"reconnectOnTimeout": true,
"reconnectTimeout": "2000",
"parallelUnitIdsAllowed": true,
"showErrors": false,
"showWarnings": true,
"showLogs": true
},
{
"id": "d9b71c412099d4dc",
"type": "mqtt-broker",
"name": "",
"broker": "",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "c76e7bc587cfaf7f",
"type": "mqtt-broker",
"name": "君正M300",
"broker": "192.168.0.113",
"port": "1883",
"clientid": "cs001",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "aab80c0fd2e56720",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 360,
"wires": [
[
"94fe48429d2f6b7d",
"31ed29f7643a7a96"
]
]
},
{
"id": "94fe48429d2f6b7d",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 1",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 320,
"wires": []
},
{
"id": "73ce95880afe5da6",
"type": "interval-multiples-timer",
"z": "ea956f407a58bf27",
"interval": "1000",
"payload": "",
"topic": "",
"name": "周期触发",
"x": 200,
"y": 360,
"wires": [
[
"aab80c0fd2e56720",
"2e2b56c893be96fe",
"279c3639d1a3ee08",
"815141ce5a7a1a2f",
"9487b0199e8276dd",
"752a93ccea7d54ed",
"75e6d77f84556a74",
"b6199096cf1de5de",
"34e94a775b21899c",
"31b91eb7964a2733"
]
]
},
{
"id": "31ed29f7643a7a96",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP001",
"host": "192.168.0.125",
"port": "2001",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 380,
"wires": []
},
{
"id": "2e2b56c893be96fe",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 480,
"wires": [
[
"ea0d4fed4471529a",
"2cacc24619e838d7"
]
]
},
{
"id": "ea0d4fed4471529a",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 2",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 440,
"wires": []
},
{
"id": "2cacc24619e838d7",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP002",
"host": "192.168.0.125",
"port": "2002",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 500,
"wires": []
},
{
"id": "279c3639d1a3ee08",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 600,
"wires": [
[
"8616f45bc80fdea1",
"1a970e06dfce1f53"
]
]
},
{
"id": "8616f45bc80fdea1",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 3",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 560,
"wires": []
},
{
"id": "1a970e06dfce1f53",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP003",
"host": "192.168.0.125",
"port": "2003",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 620,
"wires": []
},
{
"id": "815141ce5a7a1a2f",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 720,
"wires": [
[
"9d1caf732f5171df",
"2cf4eaee407860ca"
]
]
},
{
"id": "9d1caf732f5171df",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 4",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 680,
"wires": []
},
{
"id": "2cf4eaee407860ca",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP004",
"host": "192.168.0.125",
"port": "2004",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 740,
"wires": []
},
{
"id": "9487b0199e8276dd",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 840,
"wires": [
[
"c000cb84cd17fa7a",
"70aed141a010091f"
]
]
},
{
"id": "c000cb84cd17fa7a",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 5",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 800,
"wires": []
},
{
"id": "70aed141a010091f",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP005",
"host": "192.168.0.125",
"port": "2005",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 860,
"wires": []
},
{
"id": "752a93ccea7d54ed",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 960,
"wires": [
[
"0e0ac9b7e62a559a",
"7142147fd7aa2e2a"
]
]
},
{
"id": "0e0ac9b7e62a559a",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 6",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 920,
"wires": []
},
{
"id": "7142147fd7aa2e2a",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP006",
"host": "192.168.0.125",
"port": "2006",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 980,
"wires": []
},
{
"id": "75e6d77f84556a74",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 1080,
"wires": [
[
"4392ec60043050c8",
"072dfb31e1843314"
]
]
},
{
"id": "4392ec60043050c8",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 7",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 1040,
"wires": []
},
{
"id": "072dfb31e1843314",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP007",
"host": "192.168.0.125",
"port": "2007",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 1100,
"wires": []
},
{
"id": "b6199096cf1de5de",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 1200,
"wires": [
[
"4df7323213bf3942",
"64e84ab50f4b7681"
]
]
},
{
"id": "4df7323213bf3942",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 8",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 1160,
"wires": []
},
{
"id": "64e84ab50f4b7681",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP008",
"host": "192.168.0.125",
"port": "2008",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 1220,
"wires": []
},
{
"id": "34e94a775b21899c",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 1320,
"wires": [
[
"50823b20a24c47f0",
"d69a8b09f42ba902"
]
]
},
{
"id": "50823b20a24c47f0",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 9",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 1280,
"wires": []
},
{
"id": "d69a8b09f42ba902",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP009",
"host": "192.168.0.125",
"port": "2009",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 1340,
"wires": []
},
{
"id": "31b91eb7964a2733",
"type": "function",
"z": "ea956f407a58bf27",
"name": "数据生成",
"func": "msg.payload = {\n \"CO2\": Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=\"1,3\" data=\"citationList\"}\n \"CH2O\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"TVOC\": Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=\"4,6\" data=\"citationList\"}\n \"PM2_5\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"PM1_0\": Math.floor(Math.random() * 501), \n \"PM10\": Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=\"3,6\" data=\"citationList\"}\n \"Temperature\": (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n \"Humidity\": (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=\"4,5\" data=\"citationList\"}\n};\nmsg.payload = JSON.stringify(msg.payload);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 1440,
"wires": [
[
"7bdfa9680f3da0aa",
"18a4d10967da2c97"
]
]
},
{
"id": "7bdfa9680f3da0aa",
"type": "debug",
"z": "ea956f407a58bf27",
"name": "debug 10",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 620,
"y": 1400,
"wires": []
},
{
"id": "18a4d10967da2c97",
"type": "tcp out",
"z": "ea956f407a58bf27",
"name": "君正M300-TCP010",
"host": "192.168.0.125",
"port": "2010",
"beserver": "client",
"base64": false,
"end": false,
"tls": "",
"x": 650,
"y": 1460,
"wires": []
}
]
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/.flows_cred.json.backup
0 → 100644
View file @
9af0fb5b
{
"$": "9f90cdadef642aa2a609f672d4f25bb5kzg+V0+Wd2AMQQZF9GdywfptzzuuYf259j1Y+Imx7cVudkVUIpp8iMfiF9Nl"
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/flows.json
0 → 100644
View file @
9af0fb5b
[
{
"id"
:
"ea956f407a58bf27"
,
"type"
:
"tab"
,
"label"
:
"测试"
,
"disabled"
:
false
,
"info"
:
""
,
"env"
:
[]
},
{
"id"
:
"1cceeb709e78b6fb"
,
"type"
:
"modbus-client"
,
"name"
:
""
,
"clienttype"
:
"simpleser"
,
"bufferCommands"
:
true
,
"stateLogEnabled"
:
false
,
"queueLogEnabled"
:
false
,
"failureLogEnabled"
:
true
,
"tcpHost"
:
"127.0.0.1"
,
"tcpPort"
:
"502"
,
"tcpType"
:
"DEFAULT"
,
"serialPort"
:
"/dev/ttyS4"
,
"serialType"
:
"RTU-BUFFERD"
,
"serialBaudrate"
:
"9600"
,
"serialDatabits"
:
"8"
,
"serialStopbits"
:
"1"
,
"serialParity"
:
"none"
,
"serialConnectionDelay"
:
"100"
,
"serialAsciiResponseStartDelimiter"
:
"0x3A"
,
"unit_id"
:
"1"
,
"commandDelay"
:
"1"
,
"clientTimeout"
:
"1000"
,
"reconnectOnTimeout"
:
true
,
"reconnectTimeout"
:
"2000"
,
"parallelUnitIdsAllowed"
:
true
,
"showErrors"
:
false
,
"showWarnings"
:
true
,
"showLogs"
:
true
},
{
"id"
:
"d9b71c412099d4dc"
,
"type"
:
"mqtt-broker"
,
"name"
:
""
,
"broker"
:
""
,
"port"
:
"1883"
,
"clientid"
:
""
,
"autoConnect"
:
true
,
"usetls"
:
false
,
"protocolVersion"
:
"4"
,
"keepalive"
:
"60"
,
"cleansession"
:
true
,
"autoUnsubscribe"
:
true
,
"birthTopic"
:
""
,
"birthQos"
:
"0"
,
"birthRetain"
:
"false"
,
"birthPayload"
:
""
,
"birthMsg"
:
{},
"closeTopic"
:
""
,
"closeQos"
:
"0"
,
"closeRetain"
:
"false"
,
"closePayload"
:
""
,
"closeMsg"
:
{},
"willTopic"
:
""
,
"willQos"
:
"0"
,
"willRetain"
:
"false"
,
"willPayload"
:
""
,
"willMsg"
:
{},
"userProps"
:
""
,
"sessionExpiry"
:
""
},
{
"id"
:
"c76e7bc587cfaf7f"
,
"type"
:
"mqtt-broker"
,
"name"
:
"君正M300"
,
"broker"
:
"192.168.0.113"
,
"port"
:
"1883"
,
"clientid"
:
"cs001"
,
"autoConnect"
:
true
,
"usetls"
:
false
,
"protocolVersion"
:
"4"
,
"keepalive"
:
"60"
,
"cleansession"
:
true
,
"autoUnsubscribe"
:
true
,
"birthTopic"
:
""
,
"birthQos"
:
"0"
,
"birthRetain"
:
"false"
,
"birthPayload"
:
""
,
"birthMsg"
:
{},
"closeTopic"
:
""
,
"closeQos"
:
"0"
,
"closeRetain"
:
"false"
,
"closePayload"
:
""
,
"closeMsg"
:
{},
"willTopic"
:
""
,
"willQos"
:
"0"
,
"willRetain"
:
"false"
,
"willPayload"
:
""
,
"willMsg"
:
{},
"userProps"
:
""
,
"sessionExpiry"
:
""
},
{
"id"
:
"aab80c0fd2e56720"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
360
,
"wires"
:
[
[
"94fe48429d2f6b7d"
,
"31ed29f7643a7a96"
]
]
},
{
"id"
:
"94fe48429d2f6b7d"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 1"
,
"active"
:
true
,
"tosidebar"
:
true
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
320
,
"wires"
:
[]
},
{
"id"
:
"73ce95880afe5da6"
,
"type"
:
"interval-multiples-timer"
,
"z"
:
"ea956f407a58bf27"
,
"interval"
:
"1000"
,
"payload"
:
""
,
"topic"
:
""
,
"name"
:
"周期触发"
,
"x"
:
200
,
"y"
:
360
,
"wires"
:
[
[
"aab80c0fd2e56720"
,
"2e2b56c893be96fe"
,
"279c3639d1a3ee08"
,
"815141ce5a7a1a2f"
,
"9487b0199e8276dd"
,
"752a93ccea7d54ed"
,
"75e6d77f84556a74"
,
"b6199096cf1de5de"
,
"34e94a775b21899c"
,
"31b91eb7964a2733"
]
]
},
{
"id"
:
"31ed29f7643a7a96"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP001"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2001"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
380
,
"wires"
:
[]
},
{
"id"
:
"2e2b56c893be96fe"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
480
,
"wires"
:
[
[
"ea0d4fed4471529a"
,
"2cacc24619e838d7"
]
]
},
{
"id"
:
"ea0d4fed4471529a"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 2"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
440
,
"wires"
:
[]
},
{
"id"
:
"2cacc24619e838d7"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP002"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2002"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
500
,
"wires"
:
[]
},
{
"id"
:
"279c3639d1a3ee08"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
600
,
"wires"
:
[
[
"8616f45bc80fdea1"
,
"1a970e06dfce1f53"
]
]
},
{
"id"
:
"8616f45bc80fdea1"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 3"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
560
,
"wires"
:
[]
},
{
"id"
:
"1a970e06dfce1f53"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP003"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2003"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
620
,
"wires"
:
[]
},
{
"id"
:
"815141ce5a7a1a2f"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
720
,
"wires"
:
[
[
"9d1caf732f5171df"
,
"2cf4eaee407860ca"
]
]
},
{
"id"
:
"9d1caf732f5171df"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 4"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
680
,
"wires"
:
[]
},
{
"id"
:
"2cf4eaee407860ca"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP004"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2004"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
740
,
"wires"
:
[]
},
{
"id"
:
"9487b0199e8276dd"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
840
,
"wires"
:
[
[
"c000cb84cd17fa7a"
,
"70aed141a010091f"
]
]
},
{
"id"
:
"c000cb84cd17fa7a"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 5"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
800
,
"wires"
:
[]
},
{
"id"
:
"70aed141a010091f"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP005"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2005"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
860
,
"wires"
:
[]
},
{
"id"
:
"752a93ccea7d54ed"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
960
,
"wires"
:
[
[
"0e0ac9b7e62a559a"
,
"7142147fd7aa2e2a"
]
]
},
{
"id"
:
"0e0ac9b7e62a559a"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 6"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
920
,
"wires"
:
[]
},
{
"id"
:
"7142147fd7aa2e2a"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP006"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2006"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
980
,
"wires"
:
[]
},
{
"id"
:
"75e6d77f84556a74"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
1080
,
"wires"
:
[
[
"4392ec60043050c8"
,
"072dfb31e1843314"
]
]
},
{
"id"
:
"4392ec60043050c8"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 7"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
1040
,
"wires"
:
[]
},
{
"id"
:
"072dfb31e1843314"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP007"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2007"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
1100
,
"wires"
:
[]
},
{
"id"
:
"b6199096cf1de5de"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
1200
,
"wires"
:
[
[
"4df7323213bf3942"
,
"64e84ab50f4b7681"
]
]
},
{
"id"
:
"4df7323213bf3942"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 8"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
1160
,
"wires"
:
[]
},
{
"id"
:
"64e84ab50f4b7681"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP008"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2008"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
1220
,
"wires"
:
[]
},
{
"id"
:
"34e94a775b21899c"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
1320
,
"wires"
:
[
[
"50823b20a24c47f0"
,
"d69a8b09f42ba902"
]
]
},
{
"id"
:
"50823b20a24c47f0"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 9"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
1280
,
"wires"
:
[]
},
{
"id"
:
"d69a8b09f42ba902"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP009"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2009"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
1340
,
"wires"
:
[]
},
{
"id"
:
"31b91eb7964a2733"
,
"type"
:
"function"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"数据生成"
,
"func"
:
"msg.payload = {
\n
\"
CO2
\"
: Math.floor(Math.random() * 1601) + 400, // 400-2000整数:ml-citation{ref=
\"
1,3
\"
data=
\"
citationList
\"
}
\n
\"
CH2O
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
TVOC
\"
: Math.floor(Math.random() * 1001), // 0-1000整数:ml-citation{ref=
\"
4,6
\"
data=
\"
citationList
\"
}
\n
\"
PM2_5
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
PM1_0
\"
: Math.floor(Math.random() * 501),
\n
\"
PM10
\"
: Math.floor(Math.random() * 501), // 0-500整数:ml-citation{ref=
\"
3,6
\"
data=
\"
citationList
\"
}
\n
\"
Temperature
\"
: (Math.floor(Math.random() * 401) / 10), // 0.0-40.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
\"
Humidity
\"
: (Math.floor(Math.random() * 1001) / 10) // 0.0-100.0(保留一位小数):ml-citation{ref=
\"
4,5
\"
data=
\"
citationList
\"
}
\n
};
\n
msg.payload = JSON.stringify(msg.payload);
\n
return msg;"
,
"outputs"
:
1
,
"timeout"
:
0
,
"noerr"
:
0
,
"initialize"
:
""
,
"finalize"
:
""
,
"libs"
:
[],
"x"
:
400
,
"y"
:
1440
,
"wires"
:
[
[
"7bdfa9680f3da0aa"
,
"18a4d10967da2c97"
]
]
},
{
"id"
:
"7bdfa9680f3da0aa"
,
"type"
:
"debug"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"debug 10"
,
"active"
:
true
,
"tosidebar"
:
false
,
"console"
:
false
,
"tostatus"
:
true
,
"complete"
:
"payload"
,
"targetType"
:
"msg"
,
"statusVal"
:
"payload"
,
"statusType"
:
"auto"
,
"x"
:
620
,
"y"
:
1400
,
"wires"
:
[]
},
{
"id"
:
"18a4d10967da2c97"
,
"type"
:
"tcp out"
,
"z"
:
"ea956f407a58bf27"
,
"name"
:
"君正M300-TCP010"
,
"host"
:
"192.168.0.125"
,
"port"
:
"2010"
,
"beserver"
:
"client"
,
"base64"
:
false
,
"end"
:
false
,
"tls"
:
""
,
"x"
:
650
,
"y"
:
1460
,
"wires"
:
[]
}
]
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/flows_cred.json
0 → 100644
View file @
9af0fb5b
{
"$"
:
"8d48266387c670db5da3b7f234e2c8f29R+vwTx5sr2km5mITcutjpTJh9BeUJVsbt+wCOhjx/nutwRRUb14Q4Z4AnmKP3geWZcAG8IOX61xvklabD6/viFNOO7O+oJg7y0hC6E3"
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/package.json
0 → 100644
View file @
9af0fb5b
{
"name"
:
"node-red-project"
,
"description"
:
"A Node-RED Project"
,
"version"
:
"0.0.1"
,
"private"
:
true
}
\ No newline at end of file
nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/settings.js
0 → 100644
View file @
9af0fb5b
module
.
exports
=
{
"flowFile"
:
"flows.json"
,
"flowFilePretty"
:
true
,
"uiPort"
:
1903
,
"httpStatic"
:
"/app/nr"
,
"diagnostics"
:
{
"enabled"
:
true
,
"ui"
:
true
},
"runtimeState"
:
{
"enabled"
:
false
,
"ui"
:
false
},
"logging"
:
{
"console"
:
{
"level"
:
"info"
,
"metrics"
:
false
,
"audit"
:
false
}
},
"exportGlobalContextKeys"
:
false
,
"externalModules"
:
{},
"editorTheme"
:
{
"theme"
:
"light-theme"
,
"palette"
:
{
"categories"
:
[
"AIoTedge"
,
"subflows"
,
"common"
,
"function"
,
"network"
,
"sequence"
,
"parser"
,
"storage"
]
},
"projects"
:
{
"enabled"
:
false
,
"workflow"
:
{
"mode"
:
"manual"
}
},
"codeEditor"
:
{
"lib"
:
"monaco"
,
"options"
:
{}
},
"markdownEditor"
:
{
"mermaid"
:
{
"enabled"
:
true
}
}
},
"functionExternalModules"
:
true
,
"functionTimeout"
:
0
,
"functionGlobalContext"
:
{},
"debugMaxLength"
:
1000
,
"mqttReconnectTime"
:
15000
,
"serialReconnectTime"
:
15000
,
"userDir"
:
"/app/nr/database/entity/bd7729fe-de3a-4c43-a7a4-d3b9b006b937/settings.js"
,
"nodesDir"
:
"/app/nr/commonNode"
,
"protocolTemplateDir"
:
"/app/nr/protocol-template"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment