Parcourir la source

港口测试底图json

huangchunxi il y a 3 mois
Parent
commit
7bbaa204b4
2 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 5 5
      pom.xml
  2. 4 4
      src/main/java/com/ecnu/platform/test/TestPortGraph.groovy

+ 5 - 5
pom.xml

@@ -74,11 +74,11 @@
             <version>1.0-SNAPSHOT</version>
         </dependency>
 
-        <dependency>
-            <groupId>com.cwp</groupId>
-            <artifactId>IOService</artifactId>
-            <version>1.0-SNAPSHOT</version>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>com.cwp</groupId>-->
+<!--            <artifactId>IOService</artifactId>-->
+<!--            <version>1.0-SNAPSHOT</version>-->
+<!--        </dependency>-->
 
     </dependencies>
 

+ 4 - 4
src/main/java/com/ecnu/platform/test/TestPortGraph.groovy

@@ -64,7 +64,7 @@ class TestPortGraph {
             algBaseMapArea.setMapId("testPort")
             String jobLaneId = "JOB" + (i)
             algBaseMapArea.setId(jobLaneId)
-            // algBaseMapArea.setType("lane")
+            algBaseMapArea.setType("lane")
 
             double yNext = yJobLane + i * (heightJobLane + gapJobLane)
             String coordinateJobLane = new String()
@@ -95,7 +95,7 @@ class TestPortGraph {
             algBaseMapArea.setMapId("testPort")
             String bufferAreaId = "BUF" + (i)
             algBaseMapArea.setId(bufferAreaId)
-            // algBaseMapArea.setType("lane")
+            algBaseMapArea.setType("lane")
 
             double xNext = xBufferArea + i * (widthBufferArea + gapBufferArea)
             String coordinateBufferArea = new String()
@@ -126,7 +126,7 @@ class TestPortGraph {
             algBaseMapArea.setMapId("testPort")
             String trafficLaneId = "T" + (i)
             algBaseMapArea.setId(trafficLaneId)
-            // algBaseMapArea.setType("lane")
+            algBaseMapArea.setType("lane")
 
             double yNext = yTrafficLane + i * (heightTrafficLane + gapTrafficLane)
             String coordinateTrafficLane = new String()
@@ -160,7 +160,7 @@ class TestPortGraph {
                 algBaseMapArea.setMapId("testPort")
                 String boxAreaId = "BOX" + (k * sizeBoxArea + i)
                 algBaseMapArea.setId(boxAreaId)
-                // algBaseMapArea.setType("area")
+                algBaseMapArea.setType("area")
 
                 double xNext = xBoxArea + k * gapBlock + i * (widthBoxArea + gapBoxArea)
                 String coordinateBoxArea = new String()