package com.njcn.mapper.point;

import com.njcn.pojo.pointInfo.LineLedger;
import com.njcn.pojo.pointInfo.LineLedgerVO;
import com.njcn.pojo.pointInfo.PointInfo;
import com.njcn.pojo.terminal.DeviceUnitVO;
import org.apache.ibatis.annotations.Param;

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

/**
 * @Author: Sunwei 【sunW2016@163.com】
 * @Description:
 * @Date: Create in 10:39 2018/5/28
 * @Modified By:
 */
public interface PointBaseInfoMapper {
    PointInfo getPointInfo(@Param("pointIndex") Integer pointIndex);

    PointInfo getInfo(@Param("lineId") Integer lineId);

    PointInfo getFlowInfo(@Param("pointIndex") Integer pointIndex);

    Map<String, Object> getOverLimit(@Param("pointIndex") Integer pointIndex);

    List<Integer> getDeptsLineIndex(@Param("deptsIndex")String deptsIndex,@Param("sysIndex")String sysIndex);

    List<LineLedger> getLineLedger(@Param("lineList")List<Integer> lineList,@Param("loadTypeList")List<String> loadTypeList,@Param("scaleList")List<String> scaleList,@Param("status")Integer status,@Param("type")Integer type,@Param("powerId")Integer powerId);


    DeviceUnitVO lineUnitDetail(@Param("lineId")Integer lineId);

}