caiaf 3 years ago
parent
commit
7b481a78e9

+ 15 - 0
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/models/entities/Connector.kt

@@ -108,4 +108,19 @@ class Connector : BaseComponent(){
     @JSONField(name = "ConnectId")
     @JsonProperty("ConnectId")
     var connectIdJson: ArrayList<String>? = null
+
+    /** 所属BIMID */
+    @ApiModelProperty(value = "所属BIMID")
+    @Column(name = "belong_bimid")
+    @JSONField(name = "BelongBimId")
+    @JsonProperty("BelongBimId")
+    var belongBimId: String? = null
+
+
+    /** 管道类型 */
+    @ApiModelProperty(value = "管道类型")
+    @Column(name = "riser_state")
+    @JSONField(name = "RiserState")
+    @JsonProperty("RiserState")
+    var riserState: Int? = null
 }

+ 1 - 1
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/services/json/JSONAnalyzerService.kt

@@ -326,7 +326,7 @@ open class JSONAnalyzerService {
                 dataService.connectorService,
                 baseObj,
                 //连接件转换
-//                connectorConvert(baseObj.elements!!.connectors,map),
+                baseObj.elements!!.connectors,
                 bimIdPrefix,
                 revitIdMap
         )