类 ReadFunctionGroup<K>
java.lang.Object
com.huangjian.modbus4j.base.ReadFunctionGroup<K>
ReadFunctionGroup class.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidadd(KeyedModbusLocator<K> locator) add.intgetEndOffset.intGetter for the fieldfunctionCode.intGetter for the fieldlength.Getter for the fieldlocators.Getter for the fieldslaveAndRange.intGetter for the fieldstartOffset.
-
构造器详细资料
-
ReadFunctionGroup
Constructor for ReadFunctionGroup.
- 参数:
locator- aKeyedModbusLocatorobject.
-
-
方法详细资料
-
add
add.
- 参数:
locator- aKeyedModbusLocatorobject.
-
getStartOffset
public int getStartOffset()Getter for the field
startOffset.- 返回:
- a int.
-
getEndOffset
public int getEndOffset()getEndOffset.
- 返回:
- a int.
-
getSlaveAndRange
Getter for the field
slaveAndRange.- 返回:
- a
SlaveAndRangeobject.
-
getLength
public int getLength()Getter for the field
length.- 返回:
- a int.
-
getFunctionCode
public int getFunctionCode()Getter for the field
functionCode.- 返回:
- a int.
-
getLocators
Getter for the field
locators.- 返回:
- a
Listobject.
-