ComMscBLL.cs 952 B

12345678910111213141516171819202122232425262728293031
  1. using Core.Mes.Client.Comm.Format;
  2. using Core.Mes.Client.Comm.Tool;
  3. using Core.StlMes.Client.Qcm.model;
  4. using CoreFS.CA06;
  5. using System.Collections.Generic;
  6. namespace Core.StlMes.Client.Qcm.BLL
  7. {
  8. public class ComMscBLL
  9. {
  10. private OpeBase _ob;
  11. public ComMscBLL(OpeBase ob)
  12. {
  13. _ob = ob;
  14. }
  15. public List<ComMscEntity> query(ComMscEntity mscEntity)
  16. {
  17. List<ComMscEntity> mscEntityList = EntityHelper.GetData<ComMscEntity>(
  18. "com.steering.pss.qcm.DAL.ComMscDAL.query", new object[] { JSONFormat.Format(mscEntity) }, _ob);
  19. return mscEntityList;
  20. }
  21. public List<ComMscEntity> queryByPsc(string psc)
  22. {
  23. List<ComMscEntity> mscEntityList = EntityHelper.GetData<ComMscEntity>(
  24. "com.steering.pss.qcm.DAL.ComMscDAL.queryByPsc", new object[] { psc }, _ob);
  25. return mscEntityList;
  26. }
  27. }
  28. }