public override void LoadChildInfo() { JobInfoCloudHis job = this.Cur_JobInfo as JobInfoCloudHis; this.txttstr.Text = job.targetdbstring; this.txttmpname.Text = job.tmpname; this.txttmp.Text = job.createtmp; this.rttscript.Text = job.targetsql; this.txturl.Text = job.weburl; this.txtuserid.Text = job.CloudUserId; this.txtpassword.Text = job.CloudUserPassword; this.isencode.Checked = job.isencode; this.txtkey.Text = job.Key; this.rtbxml.Text = job.requestxml; this.txtbzcode.Text = job.businesscode; this.txtbztable.Text = job.businesstable; this.isdbpara.Checked = job.isdbpara; }
public override bool CollectChildJobInfo() { JobInfoCloudHis job = this.Cur_JobInfo as JobInfoCloudHis; job.targetdbstring = this.txttstr.Text.Trim(); job.tmpname = this.txttmpname.Text.Trim(); job.createtmp = this.txttmp.Text.Trim(); job.targetsql = this.rttscript.Text.Trim(); job.weburl = this.txturl.Text.Trim(); job.CloudUserId = this.txtuserid.Text.Trim(); job.CloudUserPassword = this.txtpassword.Text.Trim(); job.isencode = this.isencode.Checked; job.Key = this.txtkey.Text.Trim(); job.requestxml = this.rtbxml.Text.Trim(); job.businesscode = this.txtbzcode.Text.Trim(); job.businesstable = this.txtbztable.Text.Trim(); job.isdbpara = this.isdbpara.Checked; return(true); }