ISdTcpService.java 601 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.fjhx.rfid.r2000.tcp.service;
  2. import com.fjhx.utils.AjaxResult;
  3. import org.springframework.scheduling.annotation.Async;
  4. import java.util.List;
  5. /**
  6. * @Description:
  7. * @ClassName: TcpService
  8. * @Author: linqt
  9. * @Date: 2022/3/17 10:31
  10. * @Version: 1.0
  11. */
  12. public interface ISdTcpService {
  13. /**
  14. * 启动读写器
  15. *
  16. * @param ips 读写器ip集合
  17. * @return
  18. */
  19. @Async
  20. AjaxResult open(List<String> ips);
  21. /**
  22. * 关闭读写器
  23. *
  24. * @param ips 读写器ip集合
  25. * @return
  26. */
  27. @Async
  28. AjaxResult close(List<String> ips);
  29. }