/// <summary> /// 初始化异步队列 /// </summary> private void InitAsyncQueue(DwonloadEntity item) { MeterInfo info = new MeterInfo(); info.entity = item; DownloadFile(item); AsyncQueues.Enqueue(new MeterAsyncQueue() { MeterInfoTask = info }); }
public MeterAsyncQueue() { MeterInfoTask = new MeterInfo(); }