Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / service / ITermiteService.java
@xiongkai xiongkai 22 days ago 2 KB bug修复
package com.newfiber.termite.service;

import com.newfiber.common.core.web.page.PageResult;
import com.newfiber.termite.domain.dto.PhotoIdentifyDto;
import com.newfiber.termite.domain.dto.SnAlarmStatisticDto;
import com.newfiber.termite.domain.dto.TermiteDataUpRequest;
import com.newfiber.termite.domain.dto.UnitInfoDto;
import com.newfiber.termite.domain.jingchu.JingChuUploadInfo;
import com.newfiber.termite.domain.request.DeviceInfoUpdateRequest;
import com.newfiber.termite.domain.request.TermiteHistoryQueryRequest;
import com.newfiber.termite.domain.request.TermiteInfoQueryRequest;
import com.newfiber.termite.domain.request.TermiteInfoSaveRequest;
import com.newfiber.termite.domain.request.TermiteInfoUpdateyRequest;
import com.newfiber.termite.domain.request.deviceInfo.DeviceInfoPictureSyncRequest;
import com.newfiber.termite.domain.request.deviceInfo.DeviceInfoStateSyncRequest;
import com.newfiber.termite.domain.request.deviceInfo.ShuikeyuanUploadInfoRequest;
import com.newfiber.termite.domain.response.DataUpResponse;
import com.newfiber.termite.domain.response.DeviceInfoStateSyncResponse;
import com.newfiber.termite.domain.response.TermiteInfoResponse;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

public interface ITermiteService {

    DataUpResponse termiteDataup(TermiteDataUpRequest dataDto, MultipartFile image) throws Exception;

    String photoIdentify(PhotoIdentifyDto dataDto, MultipartFile image)throws Exception;

    DeviceInfoStateSyncResponse syncDeviceState(DeviceInfoStateSyncRequest request);

    boolean termitePictureDataupSync(DeviceInfoPictureSyncRequest request);

    JingChuUploadInfo shuikeyuanUploadInfo(ShuikeyuanUploadInfoRequest request);

    List<TermiteInfoResponse> querytermiteData(TermiteInfoQueryRequest request);

    boolean updateMonitorData(TermiteInfoUpdateyRequest request);

    boolean updateMonitorDevice(DeviceInfoUpdateRequest request);

    PageResult<List<TermiteInfoResponse>> queryhistoryData(TermiteHistoryQueryRequest request);

    List<TermiteInfoResponse> queryhistoryDataList(TermiteHistoryQueryRequest request);

    boolean insertMonitorDevice(TermiteInfoSaveRequest request);

    boolean removeMonitorDevice(String id);

    boolean updateModlefirstData(String sn);

    UnitInfoDto queryUnitdata();

    List<SnAlarmStatisticDto> querySnalarmStatistic(String projectCode);

    Object queryNowWeather();

    void transferMySql2Mongo();

    Boolean reverseDebug();
}