GeHelperBuildWriteCommand 方法 (Int64, GeSRTPAddress, Byte) |
构建一个批量写入 byte 数组变量的报文,需要指定消息号,写入的地址,地址参照
GeSRTPNet 说明。
To construct a message to be written into byte array variables in batches,
you need to specify the message number and write address. For the address, refer to the description of
GeSRTPNet.
命名空间:
HslCommunication.Profinet.GE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteCommand(
long id,
GeSRTPAddress address,
byte[] value
)
Public Shared Function BuildWriteCommand (
id As Long,
address As GeSRTPAddress,
value As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteCommand(
long long id,
GeSRTPAddress^ address,
array<unsigned char>^ value
)
static member BuildWriteCommand :
id : int64 *
address : GeSRTPAddress *
value : byte[] -> OperateResult<byte[]>
参数
- id
- 类型:SystemInt64
消息的序号 - address
- 类型:HslCommunication.Core.AddressGeSRTPAddress
地址信息 - value
- 类型:SystemByte
byte数组的原始数据
返回值
类型:
OperateResultByte包含结果信息的报文内容
参见