CZT
2023-11-27 c206acfaedc69c390fb67daa81bc686f58a212ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
 
}