AllenBradleySLCNetBuildWriteCommand 方法 (String, Boolean) |
构建写入的报文内容,变成实际的数据
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteCommand(
string address,
bool value
)
Public Shared Function BuildWriteCommand (
address As String,
value As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteCommand(
String^ address,
bool value
)
static member BuildWriteCommand :
address : string *
value : bool -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
地址信息 - value
- 类型:SystemBoolean
数据值
返回值
类型:
OperateResultByte是否成功的结果对象
参见