]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.imports/src/org/simantics/district/imports/CSVImportModel.java
Support for new edge properties in district import wizard
[simantics/district.git] / org.simantics.district.imports / src / org / simantics / district / imports / CSVImportModel.java
index ffcf5ae9263b18f32a0e979e0064b51275d63ccf..ac422300f8b65a4c9586302b355cf3332e3a7ce0 100644 (file)
@@ -76,6 +76,13 @@ public class CSVImportModel {
     private int peakPowerIndex = -1;
     private int regionIndex = -1;
     private int pipeTypeIndex = -1;
+    private int pipeCodeIndex = -1;
+    private int installationYearIndex = -1;
+    private int wallThicknessIndex = -1;
+    private int insulationConductivityIndex = -1;
+    private int pipeSizeDNIndex = -1;
+    private int roughnessIndex = -1;
+    private int structureIndex = -1;
     
     // Third page
 
@@ -536,4 +543,60 @@ public class CSVImportModel {
     public void setPipeTypeIndex(int pipeTypeIndex) {
         this.pipeTypeIndex = pipeTypeIndex;
     }
+
+    public int getPipeCodeIndex() {
+        return pipeCodeIndex;
+    }
+
+    public void setPipeCodeIndex(int pipeCodeIndex) {
+        this.pipeCodeIndex = pipeCodeIndex;
+    }
+
+    public int getInstallationYearIndex() {
+        return installationYearIndex;
+    }
+
+    public void setInstallationYearIndex(int installationYearIndex) {
+        this.installationYearIndex = installationYearIndex;
+    }
+
+    public int getWallThicknessIndex() {
+        return wallThicknessIndex;
+    }
+
+    public void setWallThicknessIndex(int wallThicknessIndex) {
+        this.wallThicknessIndex = wallThicknessIndex;
+    }
+
+    public int getInsulationConductivityIndex() {
+        return insulationConductivityIndex;
+    }
+
+    public void setInsulationConductivityIndex(int insulationConductivityIndex) {
+        this.insulationConductivityIndex = insulationConductivityIndex;
+    }
+
+    public int getPipeSizeDNIndex() {
+        return pipeSizeDNIndex;
+    }
+
+    public void setPipeSizeDNIndex(int pipeSizeDNIndex) {
+        this.pipeSizeDNIndex = pipeSizeDNIndex;
+    }
+
+    public int getRoughnessIndex() {
+        return roughnessIndex;
+    }
+
+    public void setRoughnessIndex(int roughnessIndex) {
+        this.roughnessIndex = roughnessIndex;
+    }
+
+    public int getStructureIndex() {
+        return structureIndex;
+    }
+
+    public void setStructureIndex(int structureIndex) {
+        this.structureIndex = structureIndex;
+    }
 }