类 KeyedModbusLocator<K>
java.lang.Object
com.huangjian.modbus4j.base.KeyedModbusLocator<K>
KeyedModbusLocator class.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明bytesToValue(byte[] data, int requestOffset) bytesToValue.intgetDataType.intgetEndOffset.getKey()Getter for the fieldkey.BaseLocator<?> Getter for the fieldlocator.intgetOffset.intgetRegisterCount.getSlaveAndRange.toString()
-
构造器详细资料
-
KeyedModbusLocator
Constructor for KeyedModbusLocator.
- 参数:
key- a K object.locator- aBaseLocatorobject.
-
-
方法详细资料
-
getKey
Getter for the field
key.- 返回:
- a K object.
-
getLocator
Getter for the field
locator.- 返回:
- a
BaseLocatorobject.
-
toString
-
getDataType
public int getDataType()getDataType.
- 返回:
- a int.
-
getOffset
public int getOffset()getOffset.
- 返回:
- a int.
-
getSlaveAndRange
getSlaveAndRange.
- 返回:
- a
SlaveAndRangeobject.
-
getEndOffset
public int getEndOffset()getEndOffset.
- 返回:
- a int.
-
getRegisterCount
public int getRegisterCount()getRegisterCount.
- 返回:
- a int.
-
bytesToValue
bytesToValue.
- 参数:
data- an array ofobjects.引用无效
byterequestOffset- a int.- 返回:
- a
Objectobject.
-