济菏高速数据中心代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

141 lines
3.7 KiB

package com.zc.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.zc.business.domain.DcDevice;
import com.zc.business.domain.DcDoor;
import com.zc.business.domain.DcEvent;
import com.zc.business.domain.DcStakeMark;
import com.zc.common.core.httpclient.exception.HttpException;
import io.swagger.v3.oas.models.security.SecurityScheme;
import org.apache.ibatis.annotations.Param;
import sun.reflect.generics.tree.VoidDescriptor;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 设备Service接口
*
* @author zhaoxianglong
*/
public interface IDcDeviceService extends IService<DcDevice> {
/**
* 添加设备信息
*
* @param dcDevice 设备信息
* @return 操作结果
*/
boolean addDevice(DcDevice dcDevice);
/**
* 修改设备信息
*
* @param dcDevice 设备信息
* @return 操作结果
*/
boolean editDevice(DcDevice dcDevice);
/**
* 删除设备
*
* @param ids 设备ID
* @return 操作结果
*/
boolean removeDevice(List<String> ids);
/**
* 获取设备列表
*
* @param dcDevice 参数
* @return 结果
*/
List<DcDevice> pageDevice(DcDevice dcDevice);
/**
* 获取设备列表
*
* @param dcDevice 参数
* @return 结果
*/
List<DcDevice> listDevice(DcDevice dcDevice);
/**
* 根据事件数据查询可用设备
*/
List<DcDevice> deviceListByEvent(DcEvent dcEvent, String deviceType);
/**
* 批量修改设备
*
* @param listDevice 参数
* @return 结果
*/
boolean batchUpdate(List<DcDevice> listDevice);
/**
* 根据id查询设备信息
*
* @param id 设备ID
* @return 设备信息
*/
DcDevice getDevice(String id);
/**
* 根据网段查询设备
* @param networkSegment
* @return
*/
List<DcDevice> getDeviceByNetworkSegment(String networkSegment);
/**
* 根据网段分组查询分组设备
* @return
*/
Map<String,List<DcDevice>> getGroupingDeviceByNetworkSegment();
DcStakeMark exampleQueryTheAssociatedPileNumber(DcDevice dcDevice);
Long statisticalAnomalyDevice();
List<DcDevice> devicePileNumberQueryDevice(Map<String,Object> parameter);
List<DcDevice> numberOfDevicesByType(DcDevice dcDevice);
List<DcDevice> numberOfDevicesByType();
List<Map<String, String>> countTheNumberOfEligibleItems();
List<DcDevice> selectNearCamPile(String direction, String startMileage, String endMileage);
/**
* 查询上游10公里内的情报板
*/
AjaxResult selectNearBoard(String stakeMark, String direction);
//设备查询-设备名称列表
public List<HashMap<String,Object>> selectDeviceNameList(DcDevice dcDevice);
//设备查询-设备参数属性列表
public List<HashMap<String,Object>> selectDeviceParameterProperties(DcDevice dcDevice);
AjaxResult getDeviceByIotDeviceId(String iotDeviceId) throws HttpException, IOException;
//查询收费站摄像头
List<DcDevice> selectDeviceTollStationCamera();
//同步收费站摄像头状态
Integer updateTollStationCameraStatus(DcDevice dcDevice);
//获取附近收费站摄像头
List<DcDevice> selectTollStationCamPile(String direction, String startMileage, String endMileage);
//获取设备信息
DcDevice getDcDeviceById(@Param("iotDeviceId") String iotDeviceId);
//新增电子门锁记录
Integer insertDoorMonitor(DcDoor dcDoor);
//查询电子门锁记录
List<DcDoor> selectDcDoorList(DcDoor dcDoor);
}