MesService.java 812 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.warewms.hailiang.MES;
  2. import cn.hutool.json.JSONObject;
  3. import org.springframework.stereotype.Service;
  4. /**
  5. * Created with IntelliJ IDEA.
  6. *
  7. * @author: liuzhifei
  8. * Date: 2023/8/9
  9. * Time: 11:20
  10. * To change this template use File | Settings | File Templates.
  11. * Description: MES对接服务层
  12. **/
  13. public interface MesService {
  14. /**
  15. * 根据重量获取批次号
  16. * @param weight 重量
  17. * @param prodLine 产线编号
  18. * @return
  19. */
  20. public String getBatchNoByWeight(Double weight,String prodLine);
  21. /**
  22. * 获取批次号反馈
  23. * @param batchNo
  24. * @return
  25. */
  26. public JSONObject getBatchNoResult(String batchNo,boolean result);
  27. /**
  28. * 工艺反馈接口
  29. */
  30. public JSONObject processFeedback(String batchNo,String type);
  31. }