1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using FCS.Common;
- using FCS.Interface;
- using Quartz;
- namespace FCS.Crawler.ZCLotteryIP
- {
- public class IPJob : CommonJob, IJob
- {
- public IPJob()
- {
- log = new LogHelper();
- }
- public void Execute(IJobExecutionContext context)
- {
- Config = CommonHelper.GetConfigFromDataMap(context.JobDetail.JobDataMap);
- GetIP();
- }
- public void GetIP()
- {
- IPHelper.GetIp();
- }
- }
- }
|