GeHelperBuildReadCommand 方法 (Int64, GeSRTPAddress) |
构建一个读取数据的报文命令,需要指定消息号,读取的 GE 地址信息
To construct a message command to read data, you need to specify the message number and read GE address information
命名空间:
HslCommunication.Profinet.GE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildReadCommand(
long id,
GeSRTPAddress address
)
Public Shared Function BuildReadCommand (
id As Long,
address As GeSRTPAddress
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildReadCommand(
long long id,
GeSRTPAddress^ address
)
static member BuildReadCommand :
id : int64 *
address : GeSRTPAddress -> OperateResult<byte[]>
参数
- id
- 类型:SystemInt64
消息号 - address
- 类型:HslCommunication.Core.AddressGeSRTPAddress
GE 的地址
返回值
类型:
OperateResultByte包含是否成功的报文信息
参见