| | |
| | | @Override |
| | | public MidResult[] parse(Boolean isLowPower, CodeParseParams params, CodeParseCallback callback)throws Exception { |
| | | ParseParamsForUpV1 para = (ParseParamsForUpV1)params ; |
| | | int bsLen = new CommonV1().parseDataLen(para.upBuffer) ; |
| | | int bsLen = new CommonV1().parseDataLen4P206(para.upBuffer) ; |
| | | if(bsLen > 0){ |
| | | this.doParse(para.upBuffer, |
| | | bsLen, |
| | |
| | | DataV1 dV1 = (DataV1)data.getSubData() ; |
| | | DataCd10Vo cdData = new DataCd10Vo() ; |
| | | dV1.subData = cdData ; |
| | | cdData.newRtuAddr = new CommonV1().parseRtuAddr(bs, ProtocolConstantV206V1.dataIndex) ; |
| | | cdData.newRtuAddr = new CommonV1().parseRtuAddr(bs, ProtocolConstantV206V1.dataIndex, true) ; |
| | | } |
| | | |
| | | } |