} // DiscoverOptions #endregion #region ctor // ------------------------------------------------------------------------- /// <summary> /// Default constructor /// </summary> // ------------------------------------------------------------------------- public CommPortOptions(CommPortErrors errorHandler) { commPortError = errorHandler; portNameOptions = new List <string>(); baudRateOptions = new List <string>(AllBaudRates); databitOptions = new List <string>(AllDataBits); parityOptions = new List <string>(); stopbitOptions = new List <string>(); flowControlOptions = new List <string>(); DiscoverOptions(); } // ctor
// ------------------------------------------------------------------------- /// <summary> /// Default constructor /// </summary> // ------------------------------------------------------------------------- public CommPortIO() { errors = new CommPortErrors(); options = new CommPortOptions(errors); } // ctor