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 frmLfs : Core.LgMes.Client.lgGlobalMap.frmBaseSite { public frmLfs() { InitializeComponent(); } private void frmLfs_Load(object sender, EventArgs e) { FillData(); } protected override void FillData() { base.FillData(); SetJobInfo(); SetAdditiveInfo("LfsAdditive"); SetTemperatureInfo("LfsSampling"); } private void SetJobInfo() { if (string.IsNullOrEmpty(HeatProcessNo)) return; try { 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]["SELESTARTTIME"].ToString()) ? dtJob.Rows[0]["SELESTARTTIME"].ToString() : ""; ulblJZDY.Text = dtJob.Rows[0]["ELETRICITYCONSUME"].ToString();//objJob.ARRIVEO2.ToString(); ulblCZDY.Text = dtJob.Rows[0]["LEAVEO2"].ToString(); ulblSDSJ.Text = dtJob.Rows[0]["SELETIME"].ToString(); ulblDDSJ.Text=dtJob.Rows[0]["WAITTIME"].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(); 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(); } } } catch { } } } }