package com.chinaitop.depot.intelligent.ventilation.service;

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

import com.chinaitop.depot.intelligent.ventilation.model.TCtldevinfo;
import com.chinaitop.depot.intelligent.ventilation.model.TVentilation;

public interface AerationRecordService {
    List<TVentilation> getList(String vCfCode, String vDevKindCode,String type, String orgId);

	void save(TCtldevinfo tCtldevinfo, String aerationTaskControl, Integer orgId);

	void saveFumigation(String task, String aerationTaskControl, Integer orgId);

	TVentilation getByCode(String vcfcode, String vdevname, String orgId);

	void insertBatch(List<TVentilation> ventilations);
	 
    List<TVentilation> getByCodeAndTimes(List<String> cDcsCodes,List<Date> cTimes);

	void add(String tVentilationJson, Integer orgId);

	int deleteById(String id);

	TVentilation getById(String id);

}
