| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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 frmCas : Core.LgMes.Client.lgGlobalMap.frmBaseSite
- {
- public frmCas()
- {
- InitializeComponent();
- }
- private void frmCas_Load(object sender, EventArgs e)
- {
- FillData();
- }
- protected override void FillData()
- {
- base.FillData();
- SetJobInfo();
- SetAdditiveInfo("CasAdditive");
- SetTemperatureInfo("CasSampling");
- }
- private void SetJobInfo()
- {
- try
- {
- 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() : "";//("yyyy-MM-dd HH:mm:ss").Substring(11, 8) : "";
- ulblCYKS.Text = !string.IsNullOrEmpty(dtJob.Rows[0]["BLOWARSTARTTIME"].ToString()) ? dtJob.Rows[0]["BLOWARSTARTTIME"].ToString() : "";//("yyyy-MM-dd HH:mm:ss").Substring(11, 8) : "";
- ulblJZDY.Text = dtJob.Rows[0]["ARRIVEO2"].ToString();
- ulblCZDY.Text = dtJob.Rows[0]["LEAVEO2"].ToString();
- this.label1.Text = dtJob.Rows[0]["POTAGE"].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.label2.Text = ds1.Rows[0]["stoppottime"].ToString();
- }
- ulblYXX.Text = dtJob.Rows[0]["LMLTEMPT"].ToString();
- }
- }
- catch
- {
- }
- }
- }
- }
|