public Serial(COMPorts port, DataBits dataBits, ParityBits parityBits, StopBits stopBits, BaudRates baudRate, Interrupts interrupts) { this.port = port; this.dataBits = dataBits; this.parityBits = parityBits; this.stopBits = stopBits; this.baudRate = baudRate; this.interrupts = interrupts; Init(); }