Beispiel #1
0
        public void FindFirstDevice()
        {
            var discovery = new DeviceDiscovery();
            var dac       = discovery.FindFirstDevice();
            var name      = discovery.GetDeviceName(dac);
            var ip        = discovery.GetDeviceIp(dac);

            Assert.AreEqual("ether dream 8763fa", name);
            Assert.AreEqual("192.168.1.111", ip);
        }
Beispiel #2
0
        public void DacTest()
        {
            var discovery = new DeviceDiscovery();
            var dac       = discovery.FindFirstDevice();
            var name      = discovery.GetDeviceName(dac);
            var ip        = discovery.GetDeviceIp(dac);

            Dac etherDream = new Dac(ip);
            var points     = MakePoints(1000);

            etherDream.StreamPoints(points);
        }