| | |
| | | //低功耗时,尽快发送 |
| | | confirmCommand.isQuickSend = true ; |
| | | } |
| | | callback.callback(midRs.reportOrResponse_trueOrFalse); |
| | | callback.callback(midRs.reportOrResponse_trueOrFalse, para.data.subData==null?null:((DataV202404)(para.data.subData)).subData); |
| | | if(para.data != null && para.data.getSubData() != null){ |
| | | DataCdC2Vo subData = (DataCdC2Vo)((DataV202404)para.data.getSubData()).subData ; |
| | | // public Byte opType2 ;//开启关闭:0: 开启 -1:关闭 |
| | |
| | | cdData.success = false ; |
| | | } |
| | | |
| | | if(!cdData.success){ |
| | | return ; |
| | | } |
| | | |
| | | index++ ; |
| | | cdData.orderNo = ByteUtil.BCD2String_BE(bs, index, index + 7) ; |
| | | |
| | | index += 8 ; |
| | | GlParse.parseRtuDt(bs, index); |
| | | cdData.rtuDt = GlParse.parseRtuDt(bs, index); |
| | | |
| | | index+= 6 ; |
| | | GlParse.parseAlarmAndState(bs, index, cdData);//四个字节 |