public void CheckDeviceExistTest() { SunRizModbusTcpDriver.ModbusDriverServer server = new ModbusDriverServer(588); server.Start(); SunRizDriver.SunRizDriverClient client = new SunRizDriver.SunRizDriverClient("127.0.0.1", 588); var result = client.CheckDeviceExist("127.0.0.1/502"); server.Stop(); }
public void CheckDeviceExistTest() { SunRizOpcDriver.OpcDriverServer server = new OpcDriverServer(588); server.Start(); SunRizDriver.SunRizDriverClient client = new SunRizDriver.SunRizDriverClient("127.0.0.1", 588); var result = client.CheckDeviceExist("127.0.0.1|Matrikon.OPC.Simulation.1"); server.Stop(); }