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 CoreFS.CA06; using Infragistics.Win.UltraWinGrid; using System.Collections; namespace Core.LZMes.Client.UIB { public partial class CUIB010360 : FrmBase { string ordUseTp_1 = null; string sTime_1 = null; string eTime_1 = null; string pLine_1 = null; public string pLine { set { pLine_1 = value; } } public string ordUseTp { set { ordUseTp_1 = value; } } public string sTime { set { sTime_1 = value; } } public string eTime { set { eTime_1 = value; DoQuery(); } } public CUIB010360() { InitializeComponent(); } public void DoQuery() { try { CoreClientParam ccp = new CoreClientParam(); this.dataSet1.Clear(); ArrayList al = new ArrayList(); if (pLine_1 == "热轧") { al.Add("UIB010360_02_HOST.SELECT"); } else if (this.pLine_1 == "炼钢") { al.Add("UIB010360_02_LG.SELECT"); } else if (this.pLine_1 == "酸轧") { al.Add("UIB010360_02_SUAN.SELECT"); } else if (this.pLine_1 == "连退") { al.Add("UIB010360_02_LIAN.SELECT"); } al.Add(sTime_1); al.Add(eTime_1); al.Add(ordUseTp_1); ccp.ServerName = "UIB.COM.ComDBQuery"; ccp.MethodName = "doSimpleQuery"; ccp.ServerParams = new object[] { al }; ccp.SourceDataTable = this.dataSet1.Tables[0]; this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal); } catch (Exception ex) { } } } }