public JobBaseUrl(IJobContext jobContext, JOB_TYPE type) { this.JobContext = jobContext; this.Id = jobContext.f_getTotalJob() + 1; this.Type = type; this.Status = 1; /* 1: init */ }
public JobWorker(IJobContext jobContext, JOB_TYPE type) { this.Messages = new QueueThreadSafe <Message>(); this.JobContext = jobContext; this.Id = jobContext.f_getTotalJob() + 1; this.Type = type; this.Status = 1; /* 1: init */ }
public JobBase(IJobContext jobContext, JOB_TYPE type) { this.Messages = new ConcurrentQueue <Message>(); this.JobContext = jobContext; this.Id = jobContext.f_getTotalJob() + 1; this.Type = type; this.Status = 1; /* 1: init */ }