public TickSourceBL(IInstrumBL instrumBL, ITickSourceDA tickSource, IInsStoreBL insStoreBL, ITickHistoryBL tickHistoryBL) { _instrumBL = instrumBL; _tickSourceDA = tickSource; _insStoreBL = insStoreBL; _tickHistoryBL = tickHistoryBL; }
public HistoryCtrl(IConsole console, IInsStoreBL insStoreBL, IInstrumBL instrumBL, ITickHistoryBL tickHistoryBL, HistoryDownloader historyDownloader) : base(console) { _console = console; _insStoreBL = insStoreBL; _instrumBL = instrumBL; _tickHistoryBL = tickHistoryBL; _historyDownloader = historyDownloader; }
public TickSource(IInstrumBL instrumBL, IInsStoreBL insStoreBL, ITickHistoryBL tickHistoryBL, ISyncContext syncContext = null) { _instrumBL = instrumBL; _insStoreBL = insStoreBL; _tickHistoryBL = tickHistoryBL; _syncContext = syncContext; TickSourceID = 0; Name = ""; _instrums = new List <Instrum>(); _ticks = new List <Tick>(); _synTicksCount = 0; _realDays = _synDays = 0; _insID_lastTick = new Dictionary <int, Tick>(); }