/// <summary> /// Применение конфигурации /// </summary> /// <param name="configuration">конфигурация</param> /// <returns></returns> public bool ApplyConfiguration(ConnectConfiguration configuration) { SetPort(configuration.PortName, configuration.BaudRate); return(true); }
public Modem(ILogger logService, ConnectConfiguration configurationService) { var configuration = configurationService; SetPort(configuration.PortName, configuration.BaudRate); }