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

ShortDataPartitionWrite(Int32, Int16) 方法

写入单个数据

Definition

命名空间: TouchSocket.Modbus
程序集: TouchSocketPro.Modbus (在 TouchSocketPro.Modbus.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public override ModbusResult Write(
	int startingAddress,
	short value
)

参数

startingAddress  Int32

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

value  Int16

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

返回值

ModbusResult

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

参见