{"d":[{"tag":"运行时间","value":18825.00},{"tag":"当前收线长度","value":0.00},{"tag":"实际长度","value":0.00},{"tag":"实际速度","value":0.00},{"tag":"主速设定","value":5.00},{"tag":"长度设定","value":207100.00},{"tag":"U1故障","value":0},{"tag":"U2故障","value":0},{"tag":"乳化液温度","value":0.00},{"tag":"线径不在范围内","value":0},{"tag":"U3故障报警","value":0},{"tag":"电源故障","value":0},{"tag":"放线断丝故障","value":0},{"tag":"校准故障报警","value":1},{"tag":"设定长度大于剩余长度","value":0},{"tag":"上限位故障","value":0},{"tag":"下限位故障","value":1},{"tag":"收线断丝故障","value":1},{"tag":"快停报警","value":0},{"tag":"收线未制动","value":1},{"tag":"急停报警","value":0},{"tag":"排距","value":0.60},{"tag":"线径","value":0.05},{"tag":"记米到定长","value":256.00},{"tag":"当前收线长度2","value":0.00},{"tag":"设备开机","value":0},{"tag":"设备关机","value":1},{"tag":"#DEVICE_ERROR_C600000211","value":0.00}],"sn":"C600000211","ts":"2020-10-13T03:54:23+0000"} 怎么获取value值为1的所有tag? 拼接到一个字符串里 https://bbs.fanruan.com/wenda/question/57553.html接上一贴 @zsh331召唤大佬!~ |