comm.cs 842 B

123456789101112131415161718192021222324252627282930
  1. using Core.Mes.Client.Comm.Server;
  2. using CoreFS.CA06;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. namespace Core.StlMes.Client.YdmPipeManage.Entity
  9. {
  10. public class comm
  11. {
  12. /// <summary>
  13. /// 查询结转控制标识
  14. /// </summary>
  15. /// <param name="Code"></param>
  16. /// <param name="ob"></param>
  17. /// <returns></returns>
  18. public static string GetState(string Code, OpeBase ob)
  19. {
  20. string State = "";
  21. DataTable dt = ServerHelper.GetData("com.steering.pss.ydm.pipemanage.FrmRedChong.getState", new Object[] { Code }, ob);
  22. if (dt != null && dt.Rows.Count > 0)
  23. {
  24. State = dt.Rows[0][0].ToString();
  25. }
  26. return State;
  27. }
  28. }
  29. }