类 RangeAndOffset
java.lang.Object
com.huangjian.modbus4j.base.RangeAndOffset
RangeAndOffset class.
-
构造器概要
构造器构造器说明RangeAndOffset(int registerId) This constructor provides a best guess at the function and offset the user wants, with the assumption that the offset will never go over 9999.RangeAndOffset(int range, int offset) Constructor for RangeAndOffset. -
方法概要
-
构造器详细资料
-
RangeAndOffset
public RangeAndOffset(int range, int offset) Constructor for RangeAndOffset.
- 参数:
range- a int.offset- a int.
-
RangeAndOffset
public RangeAndOffset(int registerId) This constructor provides a best guess at the function and offset the user wants, with the assumption that the offset will never go over 9999.- 参数:
registerId- a int.
-
-
方法详细资料
-
getRange
public int getRange()Getter for the field
range.- 返回:
- a int.
-
getOffset
public int getOffset()Getter for the field
offset.- 返回:
- a int.
-