public BrainReceiver(string com, BrainReceiverCallback cb, SectionCallback scb, brainCallback acb) { this.aCallback = cb; this.aSectionCallback = scb; this.abrainCallback = acb; this.COM = com; this.bluetoothConnection = new SerialPort(); bluetoothConnection.PortName = com; bluetoothConnection.BaudRate = 115200; this.isRun = true; }