| package com.dy.common.mw.protocol; | 
|   | 
| public class ProtocolConstant { | 
|   | 
|     /** | 
|      * 第一个优先级为1, | 
|      * 应用于上行数据完整性检查及上线数据处理类 | 
|      */ | 
|     public static final int firstPriority = 1 ; | 
|      | 
|     /** | 
|      * 当通过注解查找功能码解析类时,若未找到,那么采用anyCode注解的功能码解析类 | 
|      * anyCode表示除的专门注解的功能码解析类外,其他功能码其都能解析 | 
|      * AnnotationCode默认注解是anyCode | 
|      */ | 
|     public static final String anyCode = "anyCode" ; | 
|      | 
|     /** | 
|      * 非法数据长度 | 
|      * 例如:数据头部是正确的,但合法数据结尾总不出现,认为此数据垃圾数据 | 
|      */ | 
|     public static final int errorMaxLength = 1280 ; | 
|   | 
|   | 
| } |