package com.ld.igds.th; import com.ld.igds.common.dto.THDto; public interface CoreThService { String BEAN_ID = "core.thService"; /** * 仓库温湿度存放在缓存中,有效期半小时 * * @param data */ void setCacheTH(THDto data); /** * 根据温湿度分机和通道获取,根据具体协议选择 * * @param companyId * @param serId 温湿度分机 * @param thConf 温湿度通道配置 * @return */ THDto getCacheTH(String companyId, String serId, String thConf); }