|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public class ProtocolConstantV206V202404 { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String version = "202404" ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 注解相关 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final int headMinLength = 3 ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //帧起始 | 
|---|
|  |  |  | public static final byte P_Head_Byte = (byte)0x68 ; | 
|---|
|  |  |  | public static final byte P_Head_Byte = (byte)0x69 ; | 
|---|
|  |  |  | public static final byte P_Tail_Byte = (byte)0x16 ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //00H时遥测终端在兼容工作状态;01H时遥测终端在自报工作状态;02H时遥测终端在查询/应答工作状态;03H时遥测终端在调试/维修状态。 | 
|---|
|  |  |  | public static final byte P_Default_mode = (byte)0x00 ;//默认工作模式 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String P_Head_Hex = "68" ; | 
|---|
|  |  |  | public static final String P_Head_Hex = "69" ; | 
|---|
|  |  |  | public static final String P_Tail_Hex = "16" ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final byte lenHead2ctrl = 3 ; //从头到控制域(不包括)字节数组长度 | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final int codeIndex = 12 ;//功能码字节数组下标 | 
|---|
|  |  |  | public static final int dataIndex = 13 ;//具体数据字节数组下标 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String vsCardAddr = "00000000";//本系统应用的虚拟卡,卡物理地址采用10个0作为模拟 | 
|---|
|  |  |  | public static final String vsCardAddr = "00000000";//本系统应用的虚拟卡,卡物理地址采用8个0作为模拟 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //////////////////////////////////////////////// | 
|---|
|  |  |  | // | 
|---|