| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- 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)
- {
- }
- }
- }
- }
|