package com.shining.cloud.service.information;

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

import javax.servlet.http.HttpServletRequest;

import com.njcn.pojo.commons.WaveData;
import com.njcn.pojo.wave.WaveDataDetail;
import com.shining.cloud.pojo.information.SteadyMsg;
import com.shining.cloud.pojo.information.SteadyMsgDetail;
import com.shining.cloud.pojo.information.SteadyTarget;
import com.shining.cloud.pojo.information.SteadyUrl;

/**
 * @description: 稳态消息详情Service
 * @author: denghuajun
 * @time: 2019-10-17 14:13:17
 **/

public interface SteadyAssService {
	/**
	 * @description:获取稳态越限列表
	 * @author gbl
	 * @param userId
	 * @param page
	 * @param num
	 * @return SteadyMsg
	 */
	public List<SteadyMsg> getSteadyState(String userId, int page, int num);
	
	/**
	 * @description:获取稳态越限列表详情
	 * @author gbl
	 * @param steadyIndex
	 * @return SteadyMsgDetail
	 */
	public List<SteadyMsgDetail> getSteadyDetail(String steadyIndex);
	
	/**
	 * @description:获取稳态越限指标
	 * @param lineIndex
	 * @param timeId
	 * @return SteadyTarget
	 */
	public List<SteadyTarget> getSteadyTarget(int lineIndex,Date timeId);

	/**
	 * @description:获取稳态越限指标图形
	 * @param lineIndex
	 * @param timeId
	 * @param typeCode
	 * @return SteadyUrl
	 */
	public SteadyUrl getSteadyTargetUrl(int lineIndex,Date timeId,int typeCode);
	
	public SteadyUrl getUrl(HttpServletRequest request,int lineIndex,Date timeId,int typeCode);

    void generateImageShun(WaveData waveData, List<WaveDataDetail> waveDataDetails, String s, String path) throws Exception;

    void generateImageRMS(WaveData waveData, List<WaveDataDetail> waveDataDetails, String path, String rmspath) throws Exception;
}
