添加配置
This commit is contained in:
parent
22eddd52a9
commit
7d632576ea
|
|
@ -885,6 +885,10 @@ public class SynService {
|
||||||
|
|
||||||
log.info("开始同步拓恒设备: deviceName(SN)={}", deviceName);
|
log.info("开始同步拓恒设备: deviceName(SN)={}", deviceName);
|
||||||
|
|
||||||
|
if(!Objects.equals(deviceName, "THJSQ03A2302KSPYGJ2G")){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 获取拓恒设备属性
|
// 获取拓恒设备属性
|
||||||
AttributeMap attributes = iThingsBoardDomain.getPredefinedTuohengDeviceAttributes(deviceId);
|
AttributeMap attributes = iThingsBoardDomain.getPredefinedTuohengDeviceAttributes(deviceId);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue