package com.unis.detectionnum.server.service;

import com.github.pagehelper.PageInfo;
import com.unis.detectionnum.common.vo.AlarmGenerateMainVO;

/** 
 * @ClassName: AlarmGenerateService 
 * @Description: 告警规则管理service 
 * @author LiuFeng 
 * @date 2019年9月29日 上午9:31:26  
 */
public interface AlarmGenerateService {

	/** 
	 * @Title: saveAlarmGenerateMain 
	 * @Description: 告警规则保存
	 * @param alarmGenerateMainVO
	 * @return String
	 * @throws 
	 */
	String saveAlarmGenerateMain(AlarmGenerateMainVO alarmGenerateMainVO);

	/** 
	 * @Title: updateAlarmGenerateMain 
	 * @Description: 告警规则信息修改
	 * @param alarmGenerateMainVO
	 * @return void
	 * @throws 
	 */
	void updateAlarmGenerateMain(AlarmGenerateMainVO alarmGenerateMainVO);

	/** 
	 * @Title: deleteAlarmGenerateMain 
	 * @Description: 根据告警编号删除告警信息
	 * @param generateNo
	 * @return void
	 * @throws 
	 */
	void deleteAlarmGenerateMain(String generateNo);

	/** 
	 * @Title: alarmGenerateMainPageList 
	 * @Description: 分页查询告警规则列表信息
	 * @param pageNum
	 * @param pageSize
	 * @param alarmGenerateMainVO
	 * @return PageInfo<AlarmGenerateMainVO>
	 * @throws 
	 */
	PageInfo<AlarmGenerateMainVO> alarmGenerateMainPageList(Integer pageNum, Integer pageSize,
			AlarmGenerateMainVO alarmGenerateMainVO);

}
