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

ModbusRequestSetValue(Byte) 方法

设置Data的值为数组,同时设置Quantity的数量(即数组长度的1/2)。

Definition

命名空间: TouchSocket.Modbus
程序集: TouchSocket.Modbus (在 TouchSocket.Modbus.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public void SetValue(
	byte[] bytes
)

参数

bytes  Byte
要设置的字节数组

参见