|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | private void dealP206V1(byte[] bs){ | 
|---|
|  |  |  | //应该是链路检测数据 | 
|---|
|  |  |  | String cdPre = ByteUtil.bytes2Hex(bs, false, ProtocolConstantV206V1.codeIndex, 1); | 
|---|
|  |  |  | if(cdPre.equals("50")){ | 
|---|
|  |  |  | UpCd50.upData() ; | 
|---|
|  |  |  | }else if(cdPre.equals("66")){ | 
|---|
|  |  |  | UpCd66.upData() ; | 
|---|
|  |  |  | }else if(cdPre.equals("91")){ | 
|---|
|  |  |  | UpCd91.upData() ; | 
|---|
|  |  |  | }else if(cdPre.equals("92")){ | 
|---|
|  |  |  | UpCd92.upData() ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | private void dealUpgrade(byte[] bs){ | 
|---|
|  |  |  | String cdPre = ByteUtil.bytes2Hex(bs, false, ProtocolConstantV206V1.UG_codeIndex, 1); | 
|---|
|  |  |  | 
|---|
|  |  |  | if(ServerProperties.argMultiDie){ | 
|---|
|  |  |  | if(count9602 > 10){ | 
|---|
|  |  |  | int random =  CreateRandom.create_between(10, 100) ; | 
|---|
|  |  |  | if(random > 50){ | 
|---|
|  |  |  | if(random > 90){ | 
|---|
|  |  |  | UpHeartBeat.upHeartBeat = true ;//使能上行心跳 | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | UpCd9602.upData() ; | 
|---|