/// <summary> /// creates the interface object /// </summary> /// <param name="dataPath"></param> public CompanionData(String dataPath) { try { m_CompanionIO = EliteCompanion.Instance; m_CompanionIO.DataPath = dataPath; m_reGetTimer = new System.Timers.Timer(); m_reGetTimer.Interval = 5000; m_reGetTimer.Elapsed += m_reGetTimer_Elapsed; } catch (Exception ex) { throw new Exception("Error while creating the companion data interface", ex); } }