Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / service / ITermiteService.java
@yanghui yanghui on 20 May 1 KB 白蚁代码提交
package com.newfiber.termite.service;

import com.newfiber.termite.domain.dto.*;
import com.newfiber.termite.domain.request.*;
import com.newfiber.termite.domain.response.DataUpResponse;
import com.newfiber.termite.domain.response.TermiteInfoResponse;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ITermiteService {

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

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

    List<TermiteInfoResponse> querytermiteData(TermiteInfoQueryRequest request);

    TermiteInfoResponse queryMonitorData(TermiteHistoryQueryRequest request);

    boolean updateMonitorData(TermiteInfoUpdateyRequest request);

    boolean updateMonitorDevice(DeviceInfoUpdateRequest request);

    List<TermiteInfoResponse> queryhistoryData(TermiteHistoryQueryRequest request);

    boolean insertMonitorDevice(TermiteInfoSaveRequest request);

    boolean removeMonitorDevice(String id);

    boolean updateModlefirstData(String sn);

    UnitInfoDto queryUnitdata();

    List<AlarmDataDto> queryAlarmdata(String projectCode);

    List<SnAlarmStatisticDto> querySnalarmStatistic(String projectCode);

    Object queryNowWeather();
}