diff --git a/.node-red-data/projects/zsy/flows.json b/.node-red-data/projects/zsy/flows.json new file mode 100644 index 0000000..3f71a16 --- /dev/null +++ b/.node-red-data/projects/zsy/flows.json @@ -0,0 +1,261 @@ +[ + { + "id": "0ac020c7380665e7", + "type": "tab", + "label": "流程 1", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "460931c33cd05cf4", + "type": "tab", + "label": "流程 2", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "c06c5e3af1cf4806", + "type": "inject", + "z": "0ac020c7380665e7", + "name": "井数据", + "props": [ + { + "p": "payload" + }, + { + "p": "topic", + "vt": "str" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "", + "payloadType": "date", + "x": 250, + "y": 280, + "wires": [ + [ + "b111c6c8b79fa87a" + ] + ] + }, + { + "id": "b111c6c8b79fa87a", + "type": "http request", + "z": "0ac020c7380665e7", + "name": "创建井", + "method": "POST", + "ret": "txt", + "paytoqs": "ignore", + "url": "", + "tls": "", + "persist": false, + "proxy": "", + "insecureHTTPParser": false, + "authType": "", + "senderr": false, + "headers": [], + "x": 410, + "y": 300, + "wires": [ + [ + "273b9a8fdcb455b0" + ] + ] + }, + { + "id": "273b9a8fdcb455b0", + "type": "http request", + "z": "0ac020c7380665e7", + "name": "列出井信息", + "method": "GET", + "ret": "txt", + "paytoqs": "ignore", + "url": "", + "tls": "", + "persist": false, + "proxy": "", + "insecureHTTPParser": false, + "authType": "", + "senderr": false, + "headers": [], + "x": 570, + "y": 300, + "wires": [ + [ + "3411cd813b8257da", + "5d9b263c1c44249b" + ] + ] + }, + { + "id": "3411cd813b8257da", + "type": "http request", + "z": "0ac020c7380665e7", + "name": "修改井", + "method": "POST", + "ret": "txt", + "paytoqs": "ignore", + "url": "", + "tls": "", + "persist": false, + "proxy": "", + "insecureHTTPParser": false, + "authType": "", + "senderr": false, + "headers": [], + "x": 490, + "y": 440, + "wires": [ + [ + "5b2d1fbd24b9e670" + ] + ] + }, + { + "id": "5b2d1fbd24b9e670", + "type": "http request", + "z": "0ac020c7380665e7", + "name": "列出井信息", + "method": "GET", + "ret": "txt", + "paytoqs": "ignore", + "url": "", + "tls": "", + "persist": false, + "proxy": "", + "insecureHTTPParser": false, + "authType": "", + "senderr": false, + "headers": [], + "x": 650, + "y": 420, + "wires": [ + [ + "52a8205b9bf42110", + "5a3ba7b68b7f09d8" + ] + ] + }, + { + "id": "52a8205b9bf42110", + "type": "http request", + "z": "0ac020c7380665e7", + "name": "删除井", + "method": "POST", + "ret": "txt", + "paytoqs": "ignore", + "url": "", + "tls": "", + "persist": false, + "proxy": "", + "insecureHTTPParser": false, + "authType": "", + "senderr": false, + "headers": [], + "x": 610, + "y": 520, + "wires": [ + [] + ] + }, + { + "id": "5d9b263c1c44249b", + "type": "json", + "z": "0ac020c7380665e7", + "name": "展示井信息", + "property": "payload", + "action": "", + "pretty": false, + "x": 690, + "y": 140, + "wires": [ + [] + ] + }, + { + "id": "5a3ba7b68b7f09d8", + "type": "json", + "z": "0ac020c7380665e7", + "name": "展示井信息", + "property": "payload", + "action": "", + "pretty": false, + "x": 830, + "y": 260, + "wires": [ + [] + ] + }, + { + "id": "c70a7fe74cd7b831", + "type": "inject", + "z": "460931c33cd05cf4", + "name": "", + "props": [ + { + "p": "payload" + }, + { + "p": "topic", + "vt": "str" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "", + "payloadType": "date", + "x": 150, + "y": 120, + "wires": [ + [ + "23163fb7c2ad16f6" + ] + ] + }, + { + "id": "d8b420cdec2db062", + "type": "debug", + "z": "460931c33cd05cf4", + "name": "debug 1", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "payload", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 560, + "y": 160, + "wires": [] + }, + { + "id": "23163fb7c2ad16f6", + "type": "function", + "z": "460931c33cd05cf4", + "name": "function 1", + "func": "var t=new Date(msg.payload);\nmsg.payload=t;\nreturn msg;", + "outputs": 1, + "timeout": 0, + "noerr": 0, + "initialize": "", + "finalize": "", + "libs": [], + "x": 300, + "y": 180, + "wires": [ + [ + "d8b420cdec2db062" + ] + ] + } +] \ No newline at end of file diff --git a/.node-red-data/projects/zsy/flows_cred.json b/.node-red-data/projects/zsy/flows_cred.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.node-red-data/projects/zsy/flows_cred.json @@ -0,0 +1 @@ +{} \ No newline at end of file