086305325254eeaad21c5354747c3abd81253e29.svn-base 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. namespace Core.LZMes.Client.UIM.UIM05
  11. {
  12. public partial class UIM050011 : FrmBase
  13. {
  14. private string _STYPE = "";
  15. public UIM050011(string stype)
  16. {
  17. _STYPE = stype;
  18. InitializeComponent();
  19. }
  20. private void UIM050011_Load(object sender, EventArgs e)
  21. {
  22. CoreClientParam ccp = new CoreClientParam();
  23. ccp.ServerName = "UIM.UIM05.UIM050010";
  24. switch (_STYPE.ToString())
  25. {
  26. case "PLTCM":
  27. ccp.MethodName = "getPltcmInfo";
  28. break;
  29. case "CAL":
  30. ccp.MethodName = "getCalInfo";
  31. break;
  32. case "RCL":
  33. ccp.MethodName = "getRclInfo";
  34. break;
  35. default:
  36. return;
  37. break;
  38. }
  39. ccp.SourceDataTable = dataSet1.Tables[0];
  40. this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
  41. }
  42. }
  43. }