GAAS GFrame项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.9 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package api
  3. import (
  4. model "LAPP_GAAS_GFrame_BACKEND/models/api"
  5. "LAPP_GAAS_GFrame_BACKEND/services/api/implments"
  6. "LAPP_GAAS_GFrame_BACKEND/web/models"
  7. )
  8. /******************************************************************************
  9. *
  10. * @Interface Name : AndonService
  11. *-----------------------------------------------------------------------------
  12. *
  13. * @Description : andon接口
  14. *
  15. * @Author : zhangxin
  16. *
  17. * @Date : 2021-05-17
  18. *
  19. ******************************************************************************/
  20. type AndonService interface {
  21. /******************************************************************************
  22. *
  23. * @Function Name : TouchOff
  24. *-----------------------------------------------------------------------------
  25. *
  26. * @Description : 调用mes接口
  27. *
  28. * @Function Parameters : 当前访问人员信息
  29. *
  30. * @Return Value : mes的返回结果
  31. *
  32. * @Return Value : 执行发生的错误
  33. *
  34. * @Author : zhangxin
  35. *
  36. * @Date : 2021-05-17
  37. *
  38. ******************************************************************************/
  39. TouchOff(*models.Usertab) (response model.Andon, err error)
  40. }
  41. /******************************************************************************
  42. *
  43. * @Function Name : NewAndonService
  44. *-----------------------------------------------------------------------------
  45. *
  46. * @Description : 创建一个NewAndonService
  47. *
  48. * @Return Value : NewAndonService实例
  49. *
  50. * @Author : zhangxin
  51. *
  52. * @Date : 2021-05-17
  53. *
  54. ******************************************************************************/
  55. func NewAndonService() AndonService {
  56. return implments.NewAndonServiceImplement()
  57. }