平安校园
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.
 
 
 
 
 
 

40 lines
1.2 KiB

  1. namespace SafeCampus.Application.Services.Business.CameraInfoService;
  2. public interface ICameraInfoService:ITransient
  3. {
  4. /// <summary>
  5. /// 数据同步
  6. /// </summary>
  7. /// <returns></returns>
  8. Task<bool> DataSync();
  9. /// <summary>
  10. /// 获取摄像头列表
  11. /// </summary>
  12. /// <param name="search"></param>
  13. /// <returns></returns>
  14. Task<SqlSugarPagedList<CameraInfoDto>> GetPageList(CameraSearch search);
  15. /// <summary>
  16. /// 批量给摄像头设置分组
  17. /// </summary>
  18. /// <param name="input"></param>
  19. /// <returns></returns>
  20. Task<bool> BatchSetGroup(SetGroupInput input);
  21. /// <summary>
  22. /// 根据分组批量设置推送人
  23. /// </summary>
  24. /// <param name="input"></param>
  25. /// <returns></returns>
  26. Task<bool> BatchSetPushPersonByGroup(SetPushPersonGroupInput input);
  27. /// <summary>
  28. /// 对摄像头批量设置推送人
  29. /// </summary>
  30. /// <param name="input"></param>
  31. /// <returns></returns>
  32. Task<bool> BatchSetPushPerson(SetPushPersonInput input);
  33. /// <summary>
  34. /// 根据预警分组设置推送人
  35. /// </summary>
  36. /// <param name="input"></param>
  37. /// <returns></returns>
  38. Task<bool> BatchSetPushPersonByWarn(SetPushPersonWarnInput input);
  39. }