Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / service / ITermiteService.java
@xiongkai xiongkai on 4 Jun 1 KB 设备状态同步接口
package com.newfiber.termite.service;

import com.newfiber.termite.domain.dto.*;
import com.newfiber.termite.domain.request.*;
import com.newfiber.termite.domain.request.deviceInfo.DeviceInfoStateSyncRequest;
import com.newfiber.termite.domain.response.DataUpResponse;
import com.newfiber.termite.domain.response.DeviceInfoStateSyncResponse;
import com.newfiber.termite.domain.response.TermiteInfoResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ITermiteService {

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

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

    DeviceInfoStateSyncResponse syncDeviceState(DeviceInfoStateSyncRequest request);

    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();
}