Ejemplo n.º 1
0
        public void SendAndReadPacketTest()
        {
            var            configService = new ConfigService();
            IDeviceService deviceService = new DeviceService(new ConfigService(), new SerialService(configService));

            deviceService.Open();

            deviceService.DeviceCheck();

            deviceService.Close();
        }
Ejemplo n.º 2
0
        public void Test_DeviceService()
        {
            _service   = new DeviceService();
            _confAppID = Guid.NewGuid();
            _deviceID  = Guid.NewGuid();

            TestCreate();
            TestExists();
            TestRead();
            TestUpdate();
            TestDelete();
            _service.Close();
        }