HslHelperSplitReadLength 方法 |
切割当前的地址数据信息,根据读取的长度来分割成多次不同的读取内容,需要指定地址,总的读取长度,切割读取长度
Cut the current address data information, and divide it into multiple different read contents according to the read length.
You need to specify the address, the total read length, and the cut read length
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<int[], int[]> SplitReadLength(
int address,
int length,
int segment
)
Public Shared Function SplitReadLength (
address As Integer,
length As Integer,
segment As Integer
) As OperateResult(Of Integer(), Integer())
public:
static OperateResult<array<int>^, array<int>^>^ SplitReadLength(
int address,
int length,
int segment
)
static member SplitReadLength :
address : int *
length : int *
segment : int -> OperateResult<int[], int[]>
参数
- address
- 类型:SystemInt32
整数的地址信息 - length
- 类型:SystemInt32
读取长度信息 - segment
- 类型:SystemInt32
切割长度信息
返回值
类型:
OperateResultInt32,
Int32切割结果
参见