| 123456789101112131415161718192021222324252627282930313233343536373839 |
- using Core.Mes.Client.Comm.Server;
- using Infragistics.Win.UltraWinGrid;
- using System.Collections;
- using System.Data;
- namespace Core.StlMes.Client.Qcm
- {
- class MscStd_R_Cust
- {
- public static DataTable Query(FrmProPSCMSC2 frm)
- {
- UltraGrid grid = frm.ControlMsc.GridMsc;
- if (grid.ActiveRow == null) return null;
- UltraGridRow row = null;
- if (grid.ActiveRow.HasParent())
- {
- row = grid.ActiveRow.ParentRow;
- }
- else
- {
- row = grid.ActiveRow;
- }
- ArrayList list = new ArrayList();
- list.Add(row.Cells["USE_CODE"].Value.ToString());
- DataTable dt = null;
- try
- {
- dt = ServerHelper.GetData("com.steering.pss.qcm.CoreFrmProPSCMSC2.queryClient",
- new object[] { list }, frm.ob);
- }
- catch
- {
- return null;
- }
- return dt;
- }
- }
- }
|