一款简单易用的基础网络通讯组件库。

BooleanDataPartitionWrite(Int32, Boolean) 方法

写入单个数据

Definition

命名空间: TouchSocket.Modbus
程序集: TouchSocketPro.Modbus (在 TouchSocketPro.Modbus.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public override ModbusResult Write(
	int startingAddress,
	bool value
)

参数

startingAddress  Int32

[缺少 "M:TouchSocket.Modbus.BooleanDataPartition.Write(System.Int32,System.Boolean)" 的 <param name="startingAddress"/> 文档]

value  Boolean

[缺少 "M:TouchSocket.Modbus.BooleanDataPartition.Write(System.Int32,System.Boolean)" 的 <param name="value"/> 文档]

返回值

ModbusResult

[缺少 "M:TouchSocket.Modbus.BooleanDataPartition.Write(System.Int32,System.Boolean)" 的 <returns> 文档]

参见