/// <summary> /// 设置感染目标 /// </summary> public void SetInfectionTargets(IList <InfectionTarget> targets) { foreach (var target in targets) { Targets.Enqueue(target); } }
/// <summary> /// 设置感染目标 /// </summary> public void SetInfectionTargets() { foreach (var target in _dataReaderProcessor.Reader()) { //入栈 Targets.Enqueue(target); } }