public DataUpdate_Old(DataProviderWrap dataProviderWrap) { this.dataProviderWrap = dataProviderWrap; Plugin_DataProvider dataProvider = dataProviderWrap.GetProvider(); update_Code = new DataUpdate_Code(dataProvider); update_KLine = new DataUpdate_KLine(dataProvider); update_Tick = new DataUpdate_Tick(dataProvider); }
public DataUpdate(DataProviderWrap dataProviderWrap) { this.dataProviderWrap = dataProviderWrap; Plugin_DataProvider dataProvider = dataProviderWrap.GetProvider(); update_Code = new DataUpdate_Code(dataProvider); update_OpenDate = new DataUpdate_OpenDate(dataProvider); update_KLine = new DataUpdate_KLine(dataProvider); update_Tick = new DataUpdate_Tick(dataProvider); this.dataReaderFactory = new DataReaderFactory(dataProviderWrap.GetDataPath()); }