public void AddNewTimeFrameInfo(string isin, EnmTF TF, DateTime date, CTimeFrameAnalyzer tfa) { mx.WaitOne(); if (!this.ContainsKey(TF.ToString())) { this[TF.ToString()] = new SortedDictionary <DateTime, CTimeFrameArray>(); } if (!this[TF.ToString()].ContainsKey(date.Date)) { this[TF.ToString()][date.Date] = new CTimeFrameArray(); } this[TF.ToString()][date.Date].ListTimeFrameInfo.Add(new CTimeFrameInfo(isin, date /*, tfa*/)); mx.ReleaseMutex(); }
public CDictTFArray(CTimeFrameAnalyzer timeFrameAnalyzer) { m_timeFrameAnalyzer = timeFrameAnalyzer; m_GUIBox = m_timeFrameAnalyzer.Plaza2Connector.GUIBox; }