package com.njcn.mapper.data;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.njcn.pojo.commons.HistoryData;

import tk.mybatis.mapper.common.Mapper;

public interface HistoryDataMapper extends Mapper<HistoryData> {
	//相电压有效值
	List<HistoryData> getXVrValue(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday") int flagday);
	//线电压有效值
	List<HistoryData> getLVrValue(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电压偏差
	List<HistoryData> getDypc(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//三相电压不平衡度
	List<HistoryData> getSxbphd(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电压不平衡
	List<HistoryData> getBphdy(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电压总谐波畸变率
	List<HistoryData> getDyzjbl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电流有效值
	List<HistoryData> getDlyxz(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//负序电流
	List<HistoryData> getFxdl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//频率
	List<HistoryData> getPl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//谐波电压含有率(基波)
	List<HistoryData> getJbhyl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//谐波电压含有率(N次谐波)
	List<HistoryData> getXbhyl(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//谐波电流幅值
	List<HistoryData> getXbdlfz(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//间谐波电压含有率
	List<HistoryData> getJxbhyl(@Param("innumber")String innumber,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//有功功率
	List<HistoryData> getYggl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//无功功率
	List<HistoryData> getWggl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//视在功率
	List<HistoryData> getSzgl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电流总谐波畸变率
	List<HistoryData> getDlzjbl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//长时闪变
	List<HistoryData> getCssb(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//短时闪变
	List<HistoryData> getDssb(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//电压波动
	List<HistoryData> getDybd(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//有功功率
	List<HistoryData> getYgzgl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//无功功率
	List<HistoryData> getWgzgl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//视在功率
	List<HistoryData> getSzzgl(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//视在功率因数
	List<HistoryData> getSzglys(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//位移功率因数
	List<HistoryData> getWyglys(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//视在功率因数
	List<HistoryData> getZSzglys(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//位移功率因数
	List<HistoryData> getZWyglys(@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);

	//谐波电压相角
	List<HistoryData> getXbVXj(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
	//谐波电流相角
	List<HistoryData> getXbIXj(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);

	//谐波有功功率
	List<HistoryData> getXbYGGl(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);

	//谐波无功功率
	List<HistoryData> getXbWGGl(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);

	//谐波视在功率
	List<HistoryData> getXbSZGl(@Param("number")String number,@Param("lineIndex")Long lineIndex,@Param("startTime")String startTime,@Param("endTime")String endTime, @Param("start")String start,@Param("end")String end,@Param("flagday")int flagday);
}
