public SerialReaderWriter(SerialSettings settings) { _statistics = new Statistics(); spManager.CurrentSerialSettings = settings; }