|
@@ -26,6 +26,7 @@ import com.fdkankan.scene.service.*;
|
|
|
import com.fdkankan.scene.vo.*;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -55,6 +56,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<SceneEditInfoMapper, S
|
|
|
// private int maxCheckTimes;
|
|
|
// @Value("${ecs.checkFile.waitTime:1000}")
|
|
|
// private int waitTime;
|
|
|
+ @Value("${tieta.device-address:#{null}}")
|
|
|
+ private String deviceAddress;
|
|
|
//
|
|
|
@Autowired
|
|
|
private SceneEditControlsService sceneEditControlsService;
|
|
@@ -441,6 +444,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<SceneEditInfoMapper, S
|
|
|
}
|
|
|
sceneInfo.setEntityList(roomList);
|
|
|
}
|
|
|
+ sceneInfo.setDeviceAddress(deviceAddress);
|
|
|
|
|
|
return sceneInfo;
|
|
|
}
|