using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; namespace FLY.ModbusModule { /// /// 异常有异常事件 /// public interface IModbusClient { /// /// 读多个 COIL /// /// void Do_01(UInt16 addr, UInt16 cnt, Action AsyncDelegate, object AsyncState); /// /// 读多个REG /// /// void Do_03(UInt16 addr, UInt16 cnt, Action AsyncDelegate, object AsyncState); /// /// 写多个coil /// /// void Do_0F(UInt16 addr, bool[] datas); /// /// 写多个REG /// /// void Do_10(UInt16 addr, UInt16[] datas); } }