package com.njcn.product.terminal.mysqlTerminal.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.njcn.product.terminal.mysqlTerminal.pojo.dto.LedgerTreeDTO;
import com.njcn.product.terminal.mysqlTerminal.pojo.param.DeviceInfoParam;
import com.njcn.product.terminal.mysqlTerminal.pojo.po.Line;
import com.njcn.product.terminal.mysqlTerminal.pojo.vo.LineDetailDataVO;
import com.njcn.product.terminal.mysqlTerminal.pojo.vo.TerminalTree;

import java.util.List;


/**
 * 监测点类
 * @author denghuajun
 * @date 2022/2/23
 *
 */
public interface LineService extends IService<Line> {

    List<LedgerTreeDTO> getTree();

    /**
     * 5层树排除设备 母线监测点合并
     *
     * @author cdf
     * @date 2022/1/13
     */
    List<TerminalTree> getTerminalTreeForFive(DeviceInfoParam deviceInfoParam);

    /**
     * 获取监测点详情
     * @param id 监测点id
     * @return 结果
     */
    LineDetailDataVO getLineDetailData(String id);

}
