Beispiel #1
0
 public ModbusServerDemo()
 {
     InitializeComponent();
     m_Server = new ModbusServer("", 502);
     modbusLog1.SetServerToLog(m_Server);
 }
Beispiel #2
0
 public void SetServerToLog(ModbusServer ServerToLog)
 {
     ServerToLog.ConnectToEvent(new ModbusServer.OnRequestReceivedHandler(OnReceiveServer));
 }