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