|  |  | 
 |  |  |  | 
 |  |  | import com.dy.common.mw.protocol.*; | 
 |  |  | import com.dy.common.mw.protocol.p206V1_0_0.*; | 
 |  |  | import com.dy.common.mw.protocol.p206V1_0_0.upVos.DataCd3BAnd6BVo; | 
 |  |  | import com.dy.common.util.ByteUtil; | 
 |  |  | import com.dy.common.util.ByteUtilUnsigned; | 
 |  |  | import org.apache.logging.log4j.LogManager; | 
 |  |  | import org.apache.logging.log4j.Logger; | 
 |  |  | 
 |  |  |         DataV1_0_1 dV1 = (DataV1_0_1)data.getSubData() ; | 
 |  |  |         DataCd3BAnd6BVo cdData = new DataCd3BAnd6BVo() ; | 
 |  |  |         dV1.subData = cdData ; | 
 |  |  |         int alarm = ByteUtilUnsigned.bytes2Short_LE(bs, ProtocolConstantV206V1_0_0.dataIndex) ; | 
 |  |  |         cdData.second = alarm ; | 
 |  |  |         if(ByteUtil.bytesIsAll0xFF(bs, ProtocolConstantV206V1_0_0.dataIndex, 2)){ | 
 |  |  |             int alarm = ByteUtilUnsigned.bytes2Short_LE(bs, ProtocolConstantV206V1_0_0.dataIndex) ; | 
 |  |  |             cdData.second = alarm ; | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |