]> 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 5041f1bbe69e2fe98356f532f1b98d0bfd626904..21815b687f4769978fc1622af474e87e5b1c14e2 100644 (file)
@@ -28,6 +28,7 @@ public class CSVImportModel {
     private int xCoordIndex = -1;
     private int yCoordIndex = -1;
     private int zCoordIndex = -1;
+    private int altElevationIndex = -1;
     
     // Edge import
     private int startXCoordIndex = -1;
@@ -72,6 +73,17 @@ public class CSVImportModel {
     private int addressIndex = -1;
     private int lengthIndex = -1;
     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
 
@@ -500,4 +512,100 @@ public class CSVImportModel {
     public int getDetailedGeometryIndex() {
         return detailedGeometryIndex;
     }
+
+    public int getAlternativeElevationIndex() {
+        return altElevationIndex;
+    }
+
+    public void setAltElevationIndex(int parseInt) {
+        this.altElevationIndex = parseInt;
+    }
+
+    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;
+       }
 }