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

ModbusDataLocater(Int32, Int32, Int32, Int32) 构造函数

初始化一个数据定位器

Definition

命名空间: TouchSocket.Modbus
程序集: TouchSocketPro.Modbus (在 TouchSocketPro.Modbus.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public ModbusDataLocater(
	int coilsQuantity,
	int discreteInputsQuantity,
	int holdingRegistersQuantity,
	int inputRegistersQuantity
)

参数

coilsQuantity  Int32

[缺少 "M:TouchSocket.Modbus.ModbusDataLocater.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="coilsQuantity"/> 文档]

discreteInputsQuantity  Int32

[缺少 "M:TouchSocket.Modbus.ModbusDataLocater.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="discreteInputsQuantity"/> 文档]

holdingRegistersQuantity  Int32

[缺少 "M:TouchSocket.Modbus.ModbusDataLocater.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="holdingRegistersQuantity"/> 文档]

inputRegistersQuantity  Int32

[缺少 "M:TouchSocket.Modbus.ModbusDataLocater.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="inputRegistersQuantity"/> 文档]

参见