コード例 #1
0
ファイル: TaskItem.cs プロジェクト: Pinkuburu/NETSpider
 public TaskItem()
 {
     this.TaskID           = 0;
     this.TaskName         = CDataItem.Instance("");
     this.ExcuteType       = EnumGloabParas.EnumExcuteType.GetOnly;
     this.TaskType         = EnumGloabParas.EnumTaskType.Normal;
     this.WaitMinutes      = this.WaitUrlCount = this.UrlCount = 0;
     this.DownFilePath     = CDataItem.Instance(Program.GetConfigPath("data"));
     this.LoginFlag        = false;
     this.IsAjax           = false;
     this.LoginUrl         = CDataItem.Instance("");
     this.WebCookie        = CDataItem.Instance("");
     this.WebEncode        = EnumGloabParas.EnumEncodeType.AUTO;
     this.UrlEncode        = EnumGloabParas.EnumEncodeType.AUTO;
     this.UrlList          = new List <TaskItemUrl>();
     this.ColumnItemList   = new List <TaskColumnItem>();
     this.ThreadNum        = 3;
     this.TryAgainCount    = 3;
     this.TryAgainFlag     = true;
     this.TempUrl          = CDataItem.Instance("");
     this.Remark           = CDataItem.Instance("");
     this.LastStartPos     = CDataItem.Instance("");
     this.LastEndPos       = CDataItem.Instance("");
     this.AutoLog          = false;
     this.TaskPlanItemList = new List <TaskPlanItem>();
 }
コード例 #2
0
 public TaskItemUrl()
 {
     this.LevelUrlList = new List <TaskItemLevelUrl>();
     this.MainUrl      = "";
     this.NextPageFlag = this.NavigateFlag = false;
     this.LevelCount   = 0;
     this.NextPageText = CDataItem.Instance("");
     this.StartPos     = CDataItem.Instance("");
     this.EndPos       = CDataItem.Instance("");
 }
コード例 #3
0
 public TaskPlan()
 {
     this.TaskPlanID       = 0;
     this.PlanName         = CDataItem.Instance("");
     this.Remark           = CDataItem.Instance("");
     this.ExpireFlag       = false;
     this.ExpireTime       = StaticConst.DateMin;
     this.ExpireType       = EnumGloabParas.EnumExpireType.None;
     this.ExpireCount      = 0;
     this.PlanExcuteString = CDataItem.Instance("");
     this.PlanExcuteType   = EnumGloabParas.EnumPlanExcuteType.Day;
     this.PlanItemList     = new List <TaskPlanItem>();
     this.StartDate        = DateTime.Now;
     this.StartTime        = DateTime.Now;//默认执行时间
 }
コード例 #4
0
ファイル: Dict.cs プロジェクト: Pinkuburu/NETSpider
 public DictItem()
 {
     this.DictName = CDataItem.Instance("");
 }
コード例 #5
0
ファイル: Dict.cs プロジェクト: Pinkuburu/NETSpider
 public Dict()
 {
     this.CategoryName = CDataItem.Instance("");
     this.DictItemList = new List <DictItem>();
 }