问题:
只有 数据
A1.OPC.A111TEST.OnOffOperTimeBlister_S 58 true 这一行数据被插入了TD数据库
想实现数组有多大就插入多少行
原始数据:
{
“values”:
[{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:0,“q”:true,“t”:1716866169139},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:1,“q”:true,“t”:1716866170137},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:50,“q”:true,“t”:1716866170641},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:2,“q”:true,“t”:1716866171134},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:51,“q”:true,“t”:1716866171647},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:3,“q”:true,“t”:1716866172142},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:52,“q”:true,“t”:1716866172635},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:4,“q”:true,“t”:1716866173137},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:53,“q”:true,“t”:1716866173641},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:5,“q”:true,“t”:1716866174138},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:54,“q”:true,“t”:1716866174637},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:6,“q”:true,“t”:1716866175147},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:55,“q”:true,“t”:1716866175634},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:7,“q”:true,“t”:1716866176135},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:56,“q”:true,“t”:1716866176637},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:8,“q”:true,“t”:1716866177134},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:57,“q”:true,“t”:1716866177636},
{“id”:“TEST01.T.2”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“TEST01.T.1”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“TEST01.T.4”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“TEST01.T.3”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“TEST01.T.5”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“TEST01.T.6”,“v”:-100,“q”:true,“t”:1716866192057},
{“id”:“A1.OPC.A111TEST.CumOperTimPacking_S”,“v”:9,“q”:true,“t”:1716866178143},
{“id”:“A1.OPC.A111TEST.OnOffOperTimeBlister_S”,“v”:58,“q”:true,“t”:1716866178640}]}