| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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 frmBof : Core.LgMes.Client.lgGlobalMap.frmBaseSite
- {
- public frmBof()
- {
- InitializeComponent();
- }
- private void frmBof_Load(object sender, EventArgs e)
- {
- FillData();
- }
-
- protected override void FillData()
- {
- base.FillData();
- SetJobInfo();
- SetAdditiveInfo("BofAdditive");
- SetTemperatureInfo("BofSampling");
- }
- private void SetJobInfo()
- {
- try
- {
- if (string.IsNullOrEmpty(HeatProcessNo))
- return;
-
- DataTable dtJob = _arDataSource[3] as DataTable;
- if (dtJob != null && dtJob.Rows.Count > 0)
- {
- ulblFGZL.Text = dtJob.Rows[0]["WSTEELWGT"].ToString();
- ulblTSZL.Text = dtJob.Rows[0]["IRONPOTWGT"].ToString();
- //ulblGBH.Text = dtJob.Rows[0]["POTNO"].ToString();
- ulblGBDJ.Text = dtJob.Rows[0]["POTDISTINCTION"].ToString();
- ulblGBBK.Text = dtJob.Rows[0]["POTWRAPSTATE"].ToString();
- lblPotTemp.Text = dtJob.Rows[0]["POTTEMP"].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
- {
- }
- }
-
- }
- }
|