/// <summary> /// 数据来源 /// </summary> /// <param name="args"></param> private void StockRealTimeDealCrawler_StockRealTimeDealUpdatedEven(StockRealTimeDealUpdatedEventArgs args) { args.AddedItems.ForEach(x => { _cacheBigDealAnalysisStrategy.Enqueue(x); var temp = new StockTransactionModelExtern(x); _cacheQuickUpAnalysisStrategy.Enqueue(temp); }); DispatcherHelper.RunAsync(new Action(() => { args.AddedItems.ForEach(x => { _count++; this.TotalCrawledCount = _count; }); })); }
public StockModel(StockTransactionModelExtern model) : this() { SetData(model); this.QuickUpPercent = model.QuickUpPercent; this.TypeString = ResourceHelper.FindKey("Monitor_TypeString_QuickUp"); }