AllenBradleyHelperPackCommandGetAttributesAll 方法 |
打包一个读取所有特性数据的报文信息,需要传入slot
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static byte[] PackCommandGetAttributesAll(
byte[] portSlot,
uint sessionHandle
)
Public Shared Function PackCommandGetAttributesAll (
portSlot As Byte(),
sessionHandle As UInteger
) As Byte()
public:
static array<unsigned char>^ PackCommandGetAttributesAll(
array<unsigned char>^ portSlot,
unsigned int sessionHandle
)
static member PackCommandGetAttributesAll :
portSlot : byte[] *
sessionHandle : uint32 -> byte[]
参数
- portSlot
- 类型:SystemByte
站号信息 - sessionHandle
- 类型:SystemUInt32
会话的ID信息
返回值
类型:
Byte最终发送的报文数据
参见