|
@@ -4,12 +4,13 @@ package com.fdkk.sxz.util;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
import java.io.*;
|
|
import java.io.*;
|
|
import java.util.Iterator;
|
|
import java.util.Iterator;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
-
|
|
|
|
|
|
+@Slf4j
|
|
public class readFloorplan {
|
|
public class readFloorplan {
|
|
|
|
|
|
private static String filePath = "F:\\2021\\����װ\\house.json";
|
|
private static String filePath = "F:\\2021\\����װ\\house.json";
|
|
@@ -180,7 +181,7 @@ public class readFloorplan {
|
|
String startPointId = wall.getString("start");
|
|
String startPointId = wall.getString("start");
|
|
String endPointId = wall.getString("end");
|
|
String endPointId = wall.getString("end");
|
|
String wallId = wall.getString("vectorId");
|
|
String wallId = wall.getString("vectorId");
|
|
-
|
|
|
|
|
|
+ readFloorplan.log.info("wallId-={},startPointId={},endPointId={}", wallId, startPointId, endPointId);
|
|
JSONObject start = jsonPoints.getJSONObject(startPointId);
|
|
JSONObject start = jsonPoints.getJSONObject(startPointId);
|
|
JSONObject end = jsonPoints.getJSONObject(endPointId);
|
|
JSONObject end = jsonPoints.getJSONObject(endPointId);
|
|
|
|
|