Пример #1
0
        public void PaxHttpConnection()
        {
            device = new PaxDevice(new ConnectionConfig {
                ConnectionMode = ConnectionModes.HTTP,
                IpAddress      = "10.12.220.172",
                Port           = "10009"
            });

            var response = device.Initialize();

            Assert.IsNotNull(response);
            Assert.AreEqual("OK", response.DeviceResponseText);

            device.Dispose();
        }
Пример #2
0
 public void TearDown()
 {
     _device.Dispose();
 }