]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.imports/src/org/simantics/district/imports/CSVImportModel.java
Add conductance to edge properties
[simantics/district.git] / org.simantics.district.imports / src / org / simantics / district / imports / CSVImportModel.java
index 1acae8dec90326ce209476499afdb149e072d753..21815b687f4769978fc1622af474e87e5b1c14e2 100644 (file)
@@ -75,6 +75,15 @@ public class CSVImportModel {
     private int detailedGeometryIndex = -1;
     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;
+    private int conductanceIndex = -1;
     
     // Third page
 
@@ -515,16 +524,88 @@ public class CSVImportModel {
     public void setPeakPowerIndex(int parseInt) {
         this.peakPowerIndex = parseInt;
     }
-    
+
     public int getPeakPowerIndex() {
         return peakPowerIndex;
     }
-    
+
     public int getRegionIndex() {
         return regionIndex;
     }
-    
+
     public void setRegionIndex(int regionIndex) {
         this.regionIndex = regionIndex;
     }
+
+    public int getPipeTypeIndex() {
+        return pipeTypeIndex;
+    }
+
+    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;
+    }
+
+       public int getConductanceIndex() {
+               return conductanceIndex;
+       }
+
+       public void setConductanceIndex(int conductanceIndex) {
+               this.conductanceIndex = conductanceIndex;
+       }
 }