// constructor public CHopper() { // init SSP handles m_cmd = new SSP_COMMAND(); m_keys = new SSP_KEYS(); m_sspKey = new SSP_FULL_KEY(); m_info = new SSP_COMMAND_INFO(); m_NumberOfChannels = 0; m_ProtocolVersion = 0; m_CoinMechEnabled = true; m_Comms = new CCommsWindow("SMART Hopper"); m_UnitDataList = new List <ChannelData>(); m_CurrentPollResponse = new byte[255]; if (Properties.Settings.Default.Comms) { Comms.Show(); } }