SlmOrdDesignMscPlStiCtrl.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using Core.StlMes.Client.SaleOrder.BLL;
  10. using CoreFS.CA06;
  11. using Core.Mes.Client.Comm.Tool;
  12. namespace Core.StlMes.Client.SaleOrder.Control
  13. {
  14. public partial class SlmOrdDesignMscPlStiCtrl : UserControl
  15. {
  16. private SlmOrdDesignMscPlStiBLL _designMscPlStiBLL;
  17. public SlmOrdDesignMscPlStiCtrl(System.Windows.Forms.Control container, OpeBase ob)
  18. {
  19. InitializeComponent();
  20. _designMscPlStiBLL = new SlmOrdDesignMscPlStiBLL(ob);
  21. container.Controls.Add(this);
  22. EntityHelper.ShowGridCaption<SlmOrdDesignMscPlStiEntity>(ultraGrid1.DisplayLayout.Bands[0]);
  23. }
  24. /// <summary>
  25. /// 查询质量设计工序点
  26. /// </summary>
  27. /// <param name="designMscPlStiEntity"></param>
  28. public void Query(SlmOrdDesignMscPlStiEntity designMscPlStiEntity)
  29. {
  30. this.slmOrdDesignMscPlStiEntityBindingSource.DataSource = _designMscPlStiBLL.Query(designMscPlStiEntity);
  31. }
  32. }
  33. }