예제 #1
0
파일: Task.cs 프로젝트: B3RTG/IMSTemplates
 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;
        }