/// <summary>
 /// 执行操作
 /// </summary>
 /// <param name="interval"></param>
 /// <param name="bookId"></param>
 public void Execute(int interval)
 {
     Log.ShowLine(string.Format("<C{0}> 开始采集:{1}", collModel.CollectionId, collModel.Name));
     plugin.Execute(interval);
     Log.ShowLine(string.Format("<C{0}> -------------------------------本轮作业完成------------------------------", collModel.CollectionId), ConsoleColor.DarkYellow);
 }
Exemple #2
0
 /// <summary>
 /// 执行操作
 /// </summary>
 /// <param name="interval"></param>
 /// <param name="bookId"></param>
 public void Execute(int interval)
 {
     Log.ShowLine(string.Format("开始采集:{0}", plugin.BaseUrl));
     plugin.Execute(interval);
     Log.ShowLine(string.Format("<C> -------------------------------本轮作业完成------------------------------"), ConsoleColor.DarkYellow);
 }