NetworkConnectedCipExtractActualData 方法 |
从PLC反馈的数据解析出真实的数据内容,结果内容分别是原始字节数据,数据类型代码,是否有很多的数据
The real data content is parsed from the data fed back by the PLC. The result content is the original byte data,
the data type code, and whether there is a lot of data.
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[], ushort, bool> ExtractActualData(
byte[] response,
bool isRead
)
Public Shared Function ExtractActualData (
response As Byte(),
isRead As Boolean
) As OperateResult(Of Byte(), UShort, Boolean)
public:
static OperateResult<array<unsigned char>^, unsigned short, bool>^ ExtractActualData(
array<unsigned char>^ response,
bool isRead
)
static member ExtractActualData :
response : byte[] *
isRead : bool -> OperateResult<byte[], uint16, bool>
参数
- response
- 类型:SystemByte
PLC的反馈数据 - isRead
- 类型:SystemBoolean
是否是返回的操作
返回值
类型:
OperateResultByte,
UInt16,
Boolean带有结果标识的最终数据
参见