package org.jeecg.modules.iot.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.iot.entity.EmptyParameter;
|
|
import java.util.List;
|
import java.util.Set;
|
|
/**
|
* @Description: 虚设备参数
|
* @Author: cuikaidong
|
* @Date: 2025-1-7
|
* @Version: V1.0
|
*/
|
public interface IEmptyParameterService extends IService<EmptyParameter> {
|
|
/**
|
* 根据设备ids,查询参数列表
|
*
|
* @param ids
|
* @return
|
*/
|
List<EmptyParameter> findParameterByEquipmentIds(Set<String> ids);
|
|
/**
|
* 脚本编译
|
*
|
* @param emptyParameter
|
*/
|
Result<?> handleCompile(EmptyParameter emptyParameter);
|
|
/**
|
* 保存脚本
|
*
|
* @param emptyParameter
|
*/
|
Result<?> preserveScript(EmptyParameter emptyParameter);
|
|
/**
|
* 根据设备id查询设备下有多少个参数
|
*
|
* @param equipmentId
|
* @return
|
*/
|
Integer findEmptyParameterCode(String equipmentId);
|
|
/**
|
* 查询虚设备下参数名称是否重复
|
*
|
* @return
|
*/
|
Boolean findEmptyParameterByName(EmptyParameter emptyParameter);
|
|
/**
|
* 根据生成配置时间,创建对应的字段
|
*/
|
void createEmptyEmptyField(java.util.Date deployDate, String serverId);
|
}
|