IBuildScenePreService.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.fdkankan.scene.service;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.fdkankan.mq.message.BuildSceneMqMessage;
  4. import java.io.IOException;
  5. import java.util.Map;
  6. /**
  7. * <p>
  8. * TODO
  9. * </p>
  10. *
  11. * @author dengsixing
  12. * @since 2022/3/1
  13. **/
  14. public interface IBuildScenePreService {
  15. Map<String, String> getTypeString(String cameraType, String algorithm, String resolution, JSONObject dataJson);
  16. String getPath(BuildSceneMqMessage buildSceneMqMessage) throws Exception;
  17. void downLoadSource(BuildSceneMqMessage buildSceneMqMessage, String path) throws Exception;
  18. void uploadFileMapHandler(String num, int cameraType, Map<String, String> map);
  19. void uploadCaches(String num, Map<String,String> map, String path);
  20. void copyToEditDir(String num) throws IOException;
  21. void sendSms(Integer pushChannel, String pushToken, int cameraType, String sceneName, String webSite);
  22. void handFail(String reason, String serverPath, String num, String hostName, String contentExt);
  23. Long calUseSpace(Map<String, String> uploadFile);
  24. void uploadLogFile(String num, String dataSource);
  25. }