| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using Core.Mes.Client.Comm.Control;
- using Core.Mes.Client.Comm.Tool;
- using Core.StlMes.Client.Lims.Data.PipeAndOutdec.封装类.实体类;
- using CoreFS.CA06;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace Core.StlMes.Client.Lims.Data.PipeAndOutdec.数据管理.钢管实验管理
- {
- public partial class FrmChemDataManageNewSon : FrmBase
- {
- private OpeBase _ob;
- private string CHECK_NO = "";
- public FrmChemDataManageNewSon(string checkNo, string type, OpeBase ob)
- {
- InitializeComponent();
- EntityHelper.ShowGridCaption<PipeCheckconsignChemdetailEntity2>(ultraGrid1.DisplayLayout.Bands[0]);
- CHECK_NO = checkNo;
- _ob = ob;
- Query();
- if (type.Equals("ONH"))
- {
- //加载氧氮氢分析原始记录受控编号
- DataTable jjDt = PublicServer.GetData("com.steering.lims.data.pipe.FrmChemDataManage.initMeeting", new Object[] { "100128%" }, ob);
- if (jjDt.Rows.Count > 0 && jjDt != null)
- {
- ultraLabel14.Text = "氧氮氢分析原始记录:" + jjDt.Rows[0][0].ToString();
- }
- }
- if (type.Equals("HX"))
- {
- //加载发射光谱分析原始记录受控编号
- DataTable jjDt = PublicServer.GetData("com.steering.lims.data.pipe.FrmChemDataManage.initMeeting", new Object[] { "100127%" }, ob);
- if (jjDt.Rows.Count > 0 && jjDt != null)
- {
- ultraLabel14.Text = "发射光谱分析原始记录:" + jjDt.Rows[0][0].ToString();
- }
- }
- }
- private void Query()
- {
- List<PipeCheckconsignChemdetailEntity2> listSource = EntityHelper.GetData<PipeCheckconsignChemdetailEntity2>(
- "com.steering.lims.data.pipe.FrmChemDataManage.selectStdSteelNo", new object[] { CHECK_NO }, this._ob);
- bindingSource1.DataSource = listSource;
- GridHelper.RefreshAndAutoSize(this.ultraGrid1);
- }
- }
- }
|