//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------

namespace  Nlc {

public class SerialBaudRate : global::System.IDisposable {
  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  protected bool swigCMemOwn;

  internal SerialBaudRate(global::System.IntPtr cPtr, bool cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  }

  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SerialBaudRate obj) {
    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  }

  ~SerialBaudRate() {
    Dispose(false);
  }

  public void Dispose() {
    Dispose(true);
    global::System.GC.SuppressFinalize(this);
  }

  protected virtual void Dispose(bool disposing) {
    lock(this) {
      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
        if (swigCMemOwn) {
          swigCMemOwn = false;
          NanolibPINVOKE.delete_SerialBaudRate(swigCPtr);
        }
        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
      }
    }
  }

  public string BAUD_RATE_7200 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_7200_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_9600 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_9600_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_14400 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_14400_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_19200 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_19200_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_38400 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_38400_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_56000 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_56000_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_57600 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_57600_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_115200 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_115200_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_128000 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_128000_get(swigCPtr);
      return ret;
    } 
  }

  public string BAUD_RATE_256000 {
    get {
      string ret = NanolibPINVOKE.SerialBaudRate_BAUD_RATE_256000_get(swigCPtr);
      return ret;
    } 
  }

  public SerialBaudRate() : this(NanolibPINVOKE.new_SerialBaudRate(), true) {
  }

}

}
