package com.multictrl.modules.business.service;

import java.util.List;
import java.util.Map;

/**
 * influxdb操作接口
 *
 * @author Sdy
 * @since 1.0.0 2026/5/3
 */
public interface InfluxService {

    //插入数据
    <T> void addRecord(T record);

    //查询数据
    <T> List<T> queryData(String startTime, String endTime, String measurement, Map<String, Object> params, Class<T> clazz, String... fields);
}
