public class GeSRTPAddress extends DeviceAddressDataBase
| 构造器和说明 |
|---|
GeSRTPAddress() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte |
getDataCode()
获取等待读取的数据的代码
Get the code of the data waiting to be read
|
void |
Parse(String address,
int length)
从指定的地址信息解析成真正的设备地址信息
Parsing from the specified address information into real device address information
|
static OperateResultExOne<GeSRTPAddress> |
ParseFrom(String address,
boolean isBit) |
static OperateResultExOne<GeSRTPAddress> |
ParseFrom(String address,
short length,
boolean isBit)
从GE的地址里,解析出实际的带数据码的
GeSRTPAddress 地址信息,起始地址会自动减一,和实际的地址相匹配 |
void |
setDataCode(byte dataCode)
设置等待读取的数据的代码
Set the code of the data waiting to be read
|
getAddressStart, getLength, setAddressOffset, setAddressStart, setLength, toStringpublic byte getDataCode()
public void setDataCode(byte dataCode)
dataCode - 数据代码public void Parse(String address, int length)
DeviceAddressDataBaseParse 在类中 DeviceAddressDataBaseaddress - 地址信息length - 数据长度public static OperateResultExOne<GeSRTPAddress> ParseFrom(String address, boolean isBit)
public static OperateResultExOne<GeSRTPAddress> ParseFrom(String address, short length, boolean isBit)
GeSRTPAddress 地址信息,起始地址会自动减一,和实际的地址相匹配address - 实际的地址数据length - 读取的长度信息isBit - 是否位操作Copyright © 2022. All rights reserved.