before functional changes by codex
This commit is contained in:
142
examples/integration.flow.json
Normal file
142
examples/integration.flow.json
Normal file
@@ -0,0 +1,142 @@
|
||||
[
|
||||
{
|
||||
"id": "m_tab_int_1",
|
||||
"type": "tab",
|
||||
"label": "Measurement Integration",
|
||||
"disabled": false,
|
||||
"info": "Integration-oriented measurement flow"
|
||||
},
|
||||
{
|
||||
"id": "m_int_parent",
|
||||
"type": "measurement",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "M Parent",
|
||||
"scaling": true,
|
||||
"i_min": 0,
|
||||
"i_max": 100,
|
||||
"i_offset": 0,
|
||||
"o_min": 0,
|
||||
"o_max": 10,
|
||||
"simulator": false,
|
||||
"smooth_method": "mean",
|
||||
"count": 5,
|
||||
"supplier": "vendor",
|
||||
"category": "sensor",
|
||||
"assetType": "pressure",
|
||||
"model": "PT-P",
|
||||
"unit": "bar",
|
||||
"positionVsParent": "atEquipment",
|
||||
"hasDistance": false,
|
||||
"distance": 0,
|
||||
"distanceUnit": "m",
|
||||
"enableLog": false,
|
||||
"logLevel": "error",
|
||||
"x": 560,
|
||||
"y": 220,
|
||||
"wires": [["m_int_dbg_process"],["m_int_dbg_influx"],["m_int_dbg_parent"]]
|
||||
},
|
||||
{
|
||||
"id": "m_int_child",
|
||||
"type": "measurement",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "M Child",
|
||||
"scaling": true,
|
||||
"i_min": 0,
|
||||
"i_max": 100,
|
||||
"i_offset": 0,
|
||||
"o_min": 0,
|
||||
"o_max": 10,
|
||||
"simulator": false,
|
||||
"smooth_method": "none",
|
||||
"count": 3,
|
||||
"supplier": "vendor",
|
||||
"category": "sensor",
|
||||
"assetType": "pressure",
|
||||
"model": "PT-C",
|
||||
"unit": "bar",
|
||||
"positionVsParent": "upstream",
|
||||
"hasDistance": true,
|
||||
"distance": 5,
|
||||
"distanceUnit": "m",
|
||||
"enableLog": false,
|
||||
"logLevel": "error",
|
||||
"x": 560,
|
||||
"y": 360,
|
||||
"wires": [[],[],[]]
|
||||
},
|
||||
{
|
||||
"id": "m_int_register_child",
|
||||
"type": "inject",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "register child",
|
||||
"props": [
|
||||
{"p": "topic", "vt": "str"},
|
||||
{"p": "payload", "vt": "str"},
|
||||
{"p": "positionVsParent", "v": "upstream", "vt": "str"}
|
||||
],
|
||||
"topic": "registerChild",
|
||||
"payload": "m_int_child",
|
||||
"payloadType": "str",
|
||||
"x": 150,
|
||||
"y": 180,
|
||||
"wires": [["m_int_parent"]]
|
||||
},
|
||||
{
|
||||
"id": "m_int_measurement",
|
||||
"type": "inject",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "measurement 55",
|
||||
"props": [{"p": "topic", "vt": "str"},{"p": "payload", "vt": "num"}],
|
||||
"topic": "measurement",
|
||||
"payload": "55",
|
||||
"payloadType": "num",
|
||||
"x": 150,
|
||||
"y": 240,
|
||||
"wires": [["m_int_parent"]]
|
||||
},
|
||||
{
|
||||
"id": "m_int_dbg_process",
|
||||
"type": "debug",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "M int process",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "true",
|
||||
"targetType": "full",
|
||||
"x": 810,
|
||||
"y": 180,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "m_int_dbg_influx",
|
||||
"type": "debug",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "M int influx",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "true",
|
||||
"targetType": "full",
|
||||
"x": 800,
|
||||
"y": 220,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "m_int_dbg_parent",
|
||||
"type": "debug",
|
||||
"z": "m_tab_int_1",
|
||||
"name": "M int parent",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "true",
|
||||
"targetType": "full",
|
||||
"x": 800,
|
||||
"y": 260,
|
||||
"wires": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user