示例#1
0
        public IDevice Create()
        {
            IDevice newDevice = _serializerService.DeserializeFromFile <IDevice>(DeviceDescriptionFilePath);

            newDevice.DeviceLogger = _deviceLoggerGettingFunc();
            _logService.AddLogger(newDevice.DeviceLogger, newDevice.Name);
            return(newDevice);
        }