Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / service / ITermiteService.java
package com.newfiber.termite.service;

import com.newfiber.termite.domain.dto.*;
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.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);

    List<TermiteInfoResponse> queryhistoryData(TermiteHistoryQueryRequest request);

    boolean insertMonitorDevice(TermiteInfoSaveRequest request);

    boolean removeMonitorDevice(String id);

    boolean updateModlefirstData(String sn);

    UnitInfoDto queryUnitdata();

    List<AlarmDataDto> queryAlarmdata();

    List<SnAlarmStatisticDto> querySnalarmStatistic();
}