package com.cico.nest.lcdp.boot.core.qxsd.infrastructure.gatewayimpl.http;

import com.cico.nest.lcdp.boot.core.qxsd.adapter.web.vo.tunnelFacility.TunnelSectionCongestionStatusVO;
import com.cico.nest.lcdp.boot.core.qxsd.infrastructure.gatewayimpl.database.dataobject.TrafficFlowMetricDO;

import java.util.List;

/**
 * @author zws
 * @date 2024/8/8
 */
public interface MetricMapper {

    /**
     * 获取当前隧道的指标数据
     * @param tunnelId 隧道id
     * @return 指标数据
     */
    TrafficFlowMetricDO getTrafficFlowMetric(String tunnelId);

    /**
     * 获取隧道断面拥堵情况
     * @param tunnelId 隧道id
     * @return 拥堵情况
     */
    List<TunnelSectionCongestionStatusVO> getSectionCongestion(String tunnelId);
}
