|
@@ -181,9 +181,9 @@ public class readFloorplan {
|
|
|
String startPointId = wall.getString("start");
|
|
|
String endPointId = wall.getString("end");
|
|
|
String wallId = wall.getString("vectorId");
|
|
|
- readFloorplan.log.info("wallId-={},startPointId={},endPointId={}", wallId, startPointId, endPointId);
|
|
|
JSONObject start = jsonPoints.getJSONObject(startPointId);
|
|
|
JSONObject end = jsonPoints.getJSONObject(endPointId);
|
|
|
+ readFloorplan.log.info("watch-wallId-={},startPointId={},endPointId={}", wallId, startPointId, endPointId);
|
|
|
|
|
|
|
|
|
JSONObject startParent = start.getJSONObject("parent");
|
|
@@ -191,6 +191,7 @@ public class readFloorplan {
|
|
|
if (ObjectUtil.isNotNull(startParent) && !startParent.isEmpty()) {
|
|
|
startParent.put(wallId, "start");
|
|
|
} else {
|
|
|
+ readFloorplan.log.info("watch-startParent{},json={}", ObjectUtil.isNull(startParent), startParent.toJSONString());
|
|
|
startParent = new JSONObject();
|
|
|
startParent.put(wallId, "start");
|
|
|
}
|
|
@@ -200,6 +201,7 @@ public class readFloorplan {
|
|
|
if (ObjectUtil.isNotNull(endParent) && !endParent.isEmpty()) {
|
|
|
endParent.put(wallId, "end");
|
|
|
} else {
|
|
|
+ readFloorplan.log.info("watch-endParent{},json={}", ObjectUtil.isNull(endParent), endParent.toJSONString());
|
|
|
endParent = new JSONObject();
|
|
|
endParent.put(wallId, "end");
|
|
|
}
|