using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Collections; using CoreFS.CA06; using Core.StlMes.Client.LgCommon; namespace Core.StlMes.Client.LgResMgt { public partial class FrmSetCutHeatno : frmStyleBase { public string Ccmno = ""; public string CutHeatno = ""; public string Flux = ""; public FrmSetCutHeatno(OpeBase ob_) { InitializeComponent(); this.ob = ob_; } private void FrmSetCutHeatno_Load(object sender, EventArgs e) { cbo_ccmno.Text = Ccmno; textBox1.Text = CutHeatno; txt_weight.Text = Flux; } private void btn_enter_Click(object sender, EventArgs e) { try { string strHeatNo = this.txt_setheatno.Text.Trim(); if (strHeatNo.Length < 8) { MessageBox.Show("炉号不正确,请重开此界面操作!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); return; } string strOut = ""; string ccmheatno = "G0" + Ccmno + "01" + strHeatNo; ArrayList arry = new ArrayList(); arry.Add("FrmCutBilletDetails_UPdate"); arry.Add(ccmheatno); arry.Add(Ccmno); CommonClientToServer ccs = new CommonClientToServer(); ccs.ob = this.ob; string strReturn = ccs.NoQueryFunctions("Core.LgMes.Server.Common.ComDBSave", "doSimpleSave", arry, out strOut); if (strOut != "") { MessageBox.Show("操作失败!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } else { MessageBox.Show("操作成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } } catch { } } } }