using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; using Core.LgMes.Server.lgClassModel; namespace Core.LgMes.Client.lgGlobalMap { public partial class frmVds : Core.LgMes.Client.lgGlobalMap.frmBaseSite { public frmVds() { InitializeComponent(); } private void frmVds_Load(object sender, EventArgs e) { FillData(); } protected override void FillData() { base.FillData(); SetJobInfo(); SetAdditiveInfo("VdsAdditive"); SetTemperatureInfo("VdsSampling"); } private void SetJobInfo() { if (string.IsNullOrEmpty(HeatProcessNo)) return; DataTable dtJob = _arDataSource[3] as DataTable; if (dtJob != null && dtJob.Rows.Count > 0) { ulblJZSK.Text = !string.IsNullOrEmpty(dtJob.Rows[0]["ARRIVETIME"].ToString()) ? dtJob.Rows[0]["ARRIVETIME"].ToString() : ""; ulblSDKS.Text = !string.IsNullOrEmpty(dtJob.Rows[0]["REPOSEBEGINTIME"].ToString()) ? dtJob.Rows[0]["REPOSEBEGINTIME"].ToString() : ""; ulblJZDY.Text = dtJob.Rows[0]["VAC_TIME"].ToString(); ulblCZDY.Text = dtJob.Rows[0]["AR_TIME"].ToString(); ulblSDSJ.Text = dtJob.Rows[0]["SUM_TIME"].ToString(); this.label1.Text = dtJob.Rows[0]["POTAGE"].ToString(); DataTable ds = ScmLiquidusTemp.LiquidusTemp(dtJob.Rows[0]["PLANSTEEL"].ToString(), this.ob); if (ds != null && ds.Rows.Count != 0) this.label2.Text = ds.Rows[0]["LIQUIDUSTEMP"].ToString(); // this.label2.Text = dtJob.Rows[0]["LMLTEMPT"].ToString(); if (dtJob.Rows[0]["POTNO"].ToString() != null && dtJob.Rows[0]["POTNO"].ToString() != "") { DataTable ds1 = ScmLiquidusTemp.USE_DETAIL(dtJob.Rows[0]["HEATNO"].ToString(), this.ob); this.label3.Text = ds1.Rows[0]["stoppottime"].ToString(); } } } } }