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.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.DeviceInfoStateSyncRequest; 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); List<TermiteInfoResponse> querytermiteData(TermiteInfoQueryRequest request); boolean updateMonitorData(TermiteInfoUpdateyRequest request); boolean updateMonitorDevice(DeviceInfoUpdateRequest request); PageResult<List<TermiteInfoResponse>> queryhistoryData(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(); }