Index

A B C D E F G H I L P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ascii - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
ascii() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
字符串于 ascii 互转
asciiToString(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
16进制ASCII->String a

B

begin - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
begin() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
开始位置 默认-1 不需要指定
binaryToHex(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
二进制转为十六进制
binaryToInt(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
二进制转10进制
bs - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
bs() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
字节位数 -1 表示 未知
byteToHex(byte) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
转换为2Byte 16进制字符
byteToHex(byte, int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
转换为 16进制字符

C

cn.sinozg.applet.instruct.annotate - package cn.sinozg.applet.instruct.annotate
 
cn.sinozg.applet.instruct.model - package cn.sinozg.applet.instruct.model
 
cn.sinozg.applet.instruct.util - package cn.sinozg.applet.instruct.util
 
CodecUtil - Class in cn.sinozg.applet.instruct.util
编码解码相关的工具类
CodecUtil() - Constructor for class cn.sinozg.applet.instruct.util.CodecUtil
 

D

decimalHex - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
decimalHex() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
到设备是十六进制,显示是十进制
decode(String, Field, InstructFieldDetail) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
解码
decodeField(String, Field, InstructFieldDetail) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
编码字段
decodeInstruct(String, T) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
解码指令
decodeInstruct(String, T, boolean) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
解码指令
details - Variable in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
details - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 

E

encodedInstruct(T) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
编码指令
encodedInstruct(T, boolean) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
编码指令
encodeField(Field, Object, InstructFieldDetail) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
编码指令

F

field - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
floatHex - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
floatHex() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
到设备是十六进制,显示是十进制 浮点数 BigDecimal 接收

G

getBegin() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getBs() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getDetails() - Method in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
getDetails() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getField() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getHexToBinInt() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getIndex() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getPattern() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getRatio() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getScale() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
getType() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 

H

HEX - Static variable in class cn.sinozg.applet.instruct.util.CodecUtil
 
hexToBinary - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
hexToBinary() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
十六进制转二进制
hexToBinary(String, int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
16进制转二进制
hexToBinInt - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
hexToBinInt() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
十六进制转二进制再截取后转十进制
hexToFloat(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
十六进制转浮点
hexToInt(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
十六进制转十进制(无符号)
HM - Static variable in class cn.sinozg.applet.instruct.util.CodecUtil
 

I

index - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
InstructField - Annotation Interface in cn.sinozg.applet.instruct.annotate
指令协议 字段注解
InstructFieldCache - Class in cn.sinozg.applet.instruct.model
 
InstructFieldCache(boolean, List<InstructFieldDetail>) - Constructor for class cn.sinozg.applet.instruct.model.InstructFieldCache
 
InstructFieldDetail - Class in cn.sinozg.applet.instruct.model
指令解析字段详情
InstructFieldDetail() - Constructor for class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
InstructFieldDetail(Field, int, int, InstructField) - Constructor for class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
InstructUtil - Class in cn.sinozg.applet.instruct.util
指令解析工具 通用
InstructUtil() - Constructor for class cn.sinozg.applet.instruct.util.InstructUtil
 
intToBin(int, int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
十进制转二进制
intToHex(int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
转换为2Byte 16进制字符
intToHex(int, int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
数字转 16进制字符
isArray - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isArray() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isAscii() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isDecimalHex() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isFloatHex() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isHexToBinary() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isRevert() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
isUnknown() - Method in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
isUnknown() - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
itemDecodeField(List<InstructFieldDetail>, Object, String) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
循环解码
itemEncodeField(List<InstructFieldDetail>, Object, StringBuilder) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
循环编码

L

ldtTime(String, String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
上报过来的时间转为 时间
ldtTime(LocalDateTime, String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
时间转字符串
leftPad(String, int) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
字符左补零
log - Static variable in class cn.sinozg.applet.instruct.util.CodecUtil
 
log - Static variable in class cn.sinozg.applet.instruct.util.InstructUtil
 

P

pattern - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
pattern() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
字符串与日期之间的转化

R

ratio - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
ratio() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
转小数或者整数时候的系数,10的幂次 BigDecimal 接收
revert - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
revert() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
将字符串 按照字节反转
revertStrLen2(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
字符串2位一截取 反转

S

scale - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
scale() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
小数点保留位数 BigDecimal 接收
setArray(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setAscii(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setBegin(int) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setBs(int) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setDecimalHex(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setDetails(List<InstructFieldDetail>) - Method in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
setDetails(List<InstructFieldDetail>) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setField(Field) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setFloatHex(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setHexToBinary(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setHexToBinInt(int[]) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setIndex(int) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setPattern(String) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setRatio(Integer) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setRevert(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setScale(Integer) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setType(Class<?>) - Method in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 
setUnknown(boolean) - Method in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
sort() - Element in annotation interface cn.sinozg.applet.instruct.annotate.InstructField
排序
stringToAscii(String) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
String->16进制ASCII
STRUCTURE_MAP - Static variable in class cn.sinozg.applet.instruct.util.InstructUtil
 
structureInfo(Class<?>) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
获取到指令结构
structureInfo(Class<?>, boolean) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
获取到指令结构

T

toHexString(byte[]) - Static method in class cn.sinozg.applet.instruct.util.CodecUtil
字节码 转字符串
TWO - Static variable in class cn.sinozg.applet.instruct.util.CodecUtil
 
TWO - Static variable in class cn.sinozg.applet.instruct.util.InstructUtil
 
type - Variable in class cn.sinozg.applet.instruct.model.InstructFieldDetail
 

U

unknown - Variable in class cn.sinozg.applet.instruct.model.InstructFieldCache
 
unknownStructure(List<InstructFieldDetail>, int) - Static method in class cn.sinozg.applet.instruct.util.InstructUtil
重新生成数据的结构体
A B C D E F G H I L P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form