Пример #1
0
 public Task(Int64 iTaskID, DateTime? CreateDate, DateTime? UpdateDate, String CurrentStatus, String FinalStatus, String JobJSON)
 {
     this.TaskID = iTaskID;
     this.CreateDate = CreateDate;
     this.UpdateDate = UpdateDate;
     this.StatusCurrent = CurrentStatus;
     this.StatusFinal = FinalStatus;
     this.oJob = Job.getInstance(JobJSON);
 }
Пример #2
0
        private void ThisWorkbook_Startup(object sender, System.EventArgs e)
        {
            oCfg = new ConfigurationHelpper();
            oDb = new db(oCfg.ConnectionStringSQL.ToString());

            //get the job data
            oJob = IMSClasses.Jobs.Job.getInstance(oDb.getJob(oCfg.JobID)["JSON"].ToString());

            this.RemoveCustomization();
            this.StatusMessage = "";
            this.StatusCorrect = true;
        }