package com.njcn.mapper.configuration;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.njcn.pojo.commons.device.LineInfo;
import com.njcn.pojo.data.ComInformation;
import com.njcn.pojo.pointInfo.PointInfo;

import tk.mybatis.mapper.common.Mapper;

public interface DeviceInfoMapper extends Mapper<LineInfo> {
	LineInfo getDeviceInfo(Long line_index);

	List<ComInformation> getRunInfo(@Param(value = "line_index") Long line_index, @Param(value = "startTime") Date startTime, @Param(value = "endTime") Date endTime);

	LineInfo getFlowInfo(@Param("pointIndex") Long pointIndex);
}