Пример #1
0
        public void GetOpcServersTest()
        {
            //OpcHelper.ClientHelper clientHelper = new ClientHelper();
            var result = OpcClientHelper.GetOpcServers("127.0.17");

            result = OpcClientHelper.GetOpcServers();

            Assert.AreNotEqual(null, result);
        }
Пример #2
0
        public void ConnectTest()
        {
            var servers = OpcClientHelper.GetOpcServers();

            OpcHelper.OpcClientHelper clientHelper = new OpcClientHelper();

            clientHelper.Connect(servers.First());

            Assert.IsTrue(true);
        }