[{"id":"a2e3e56883a63827","type":"inject","z":"bdb1dbdacc480490","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1410,"y":6240,"wires":[["5014ae978bfadb00"]]},{"id":"d8d0a987b20825d6","type":"debug","z":"bdb1dbdacc480490","name":"debug 89","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2020,"y":6220,"wires":[]},{"id":"5014ae978bfadb00","type":"file in","z":"bdb1dbdacc480490","name":"读取数据","filename":"C:\\Users\\lvlinhu\\Desktop\\实验数据.txt","filenameType":"str","format":"utf8","chunk":false,"sendError":false,"encoding":"utf8","allProps":false,"x":1600,"y":6220,"wires":[["641ae3e65045e232","b5659d2484c54291"]]},{"id":"641ae3e65045e232","type":"function","z":"bdb1dbdacc480490","name":"function 33","func":"msg.payload = JSON.parse(msg.payload);\n// msg.payload.tem_night = msg.payload.tem_night + \"级\";\n\nlet obj1 = Object.keys(msg.payload)\nlet obj2 = {}\nfor(let i=0;i<obj1.length;i++){\n    if(i >= 6){\n        obj2[obj1[i]] = msg.payload[obj1[i]];\n    }else{\n        continue;\n    }\n}\nmsg.payload = obj2\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1790,"y":6220,"wires":[["d8d0a987b20825d6"]]},{"id":"b5659d2484c54291","type":"debug","z":"bdb1dbdacc480490","name":"debug 90","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1780,"y":6120,"wires":[]},{"id":"65cff2461f15e630","type":"file in","z":"bdb1dbdacc480490","name":"","filename":"C:\\Users\\lvlinhu\\Desktop\\模拟数据.txt","filenameType":"str","format":"utf8","chunk":false,"sendError":false,"encoding":"utf8","allProps":false,"x":1630,"y":6300,"wires":[["b64cc4126d2caf50"]]},{"id":"aa4c97b22ce0424e","type":"inject","z":"bdb1dbdacc480490","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1430,"y":6360,"wires":[["65cff2461f15e630"]]},{"id":"0271520e37957501","type":"debug","z":"bdb1dbdacc480490","name":"debug 91","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1980,"y":6360,"wires":[]},{"id":"b64cc4126d2caf50","type":"function","z":"bdb1dbdacc480490","name":"function 34","func":"msg.payload = JSON.parse(msg.payload)\nmsg.payload = msg.payload[50]\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1790,"y":6420,"wires":[["0271520e37957501"]]},{"id":"7c52724da65c96ea","type":"inject","z":"bdb1dbdacc480490","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"234","payloadType":"num","x":1470,"y":5980,"wires":[["11084e9eae22442b"]]},{"id":"11084e9eae22442b","type":"function","z":"bdb1dbdacc480490","name":"function 35","func":"// msg.payload = msg.payload * 88\n\nlet time = new Date()\ntime.setFullYear(time.getFullYear()*5);\nmsg.payload = time\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1650,"y":5980,"wires":[["51ae268505db3ea3"]]},{"id":"51ae268505db3ea3","type":"debug","z":"bdb1dbdacc480490","name":"debug 92","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1840,"y":5980,"wires":[]}]