]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.imports/src/org/simantics/district/imports/CSVImportModel.java
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / org.simantics.district.imports / src / org / simantics / district / imports / CSVImportModel.java
index 9f85225f3302fe51b83f6a65a9563932b22d7e9f..ac422300f8b65a4c9586302b355cf3332e3a7ce0 100644 (file)
@@ -74,6 +74,15 @@ public class CSVImportModel {
     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;
     
     // Third page
 
@@ -514,8 +523,80 @@ 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;
+    }
 }