|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | protected void doParse(byte[] bs, int bsLen, String dataCode, Data data) throws Exception { | 
|---|
|  |  |  | DataV202404 dV1 = (DataV202404)data.getSubData() ; | 
|---|
|  |  |  | DataCd86Vo cdData = new DataCd86Vo() ; | 
|---|
|  |  |  | DataCd86Vo cdData = new DataCd86Vo(CodeV202404.getCodeName(dataCode)) ; | 
|---|
|  |  |  | dV1.subData = cdData ; | 
|---|
|  |  |  | int index = ProtocolConstantV206V202404.dataIndex ; | 
|---|
|  |  |  | cdData.controllerType = ByteUtil.bytes2Hex(bs, false, index, 1) ; | 
|---|
|  |  |  | 
|---|
|  |  |  | cdData.ip = ByteUtil.bytes2String_BE(bs, index, index + ipLen - 1) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index += ipLen ; | 
|---|
|  |  |  | cdData.port = Integer.parseInt(ByteUtil.bytes2String_LE(bs, index, index + portLen - 1)) ; | 
|---|
|  |  |  | cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|