public BgApi(string port) { m_port = port; m_rx = new byte[MAX_RECEIVE_MESSAGE]; m_waitHandleResponse = new ManualResetEvent(false); }