| | |
| | | package com.dy.common.mw.protocol.p206V202404.parse.global; |
| | | |
| | | import com.dy.common.mw.protocol.p206V202404.CommonV202404; |
| | | import com.dy.common.mw.protocol.p206V202404.ProtocolConstantV206V202404; |
| | | import com.dy.common.mw.protocol.p206V202404.upVos.*; |
| | | import com.dy.common.util.ByteUtil; |
| | |
| | | |
| | | index ++ ; |
| | | cdData.clType = bs[index]; |
| | | //进行兼容转换 |
| | | cdData.clType = CommonV202404.closeType2P206V1(cdData.clType) ; |
| | | |
| | | index++ ; |
| | | cdData.icCardAddr = ByteUtil.bytes2Hex(bs, false, index, 4) ; |
| | |
| | | cdData.projectNo = (int)bs[index]; |
| | | |
| | | index ++ ; |
| | | cdData.opResult = bs[index]; |
| | | cdData.clResult = bs[index]; |
| | | |
| | | index ++ ; |
| | | cdData.opType = bs[index]; |
| | | cdData.clType = bs[index]; |
| | | |
| | | index++ ; |
| | | cdData.icCardAddr = ByteUtil.bytes2Hex(bs, false, index, 4) ; |
| | |
| | | index += 8 ; |
| | | cdData.startDt = GlParse.parseRtuDt(bs, index) ; |
| | | |
| | | if(cdData.opResult == (byte)0x81){ |
| | | if(cdData.clResult == (byte)0x81){ |
| | | //失败了,下面就没有数据了 |
| | | return ; |
| | | } |