epb_view_models 1.0.25 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epb_view_models.rb +1 -1
- data/lib/presenter/dec/report.rb +1 -0
- data/lib/view_model/rd_sap_schema_170/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_171/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_180/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_190/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_200/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_173/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_174/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_180/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_190/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_200/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_102/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_110/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_112/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_120/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_130/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_140/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_141/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_142/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_150/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_160/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_161/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_162/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_163/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_170/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_171/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_1800/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_1900/common_schema.rb +5 -3
- data/lib/view_model/sap_schema_ni_112/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_120/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_130/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_140/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_141/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_142/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_150/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_160/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_161/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_170/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_171/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_172/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_173/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_174/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_1800/common_schema.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d66420e4399665145614fa73db2e1a4a51abe8b9a43fe764c1fc04ec969bf38
|
4
|
+
data.tar.gz: 0f6b225279c28213c176e3627cefe6a2924933fb6e1f7b9bc8ca6ceb3d83f7f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739ceac66bbc9ac6c1370b22492267929255c440c87d4537ff642aeb1dea7e16643223bea6353ae5ad5a09a98c3fb7670fe90f75b47a558b6f177573d7e8b0f8
|
7
|
+
data.tar.gz: f3b48fcca7d93605d8bce9b522337ffb32f1b037c221663a487a15e0adc5fca357569a53f2016097246e82f9bd1ed6791beae451d071332d730e3d5c1807316c
|
data/lib/epb_view_models.rb
CHANGED
data/lib/presenter/dec/report.rb
CHANGED
@@ -69,6 +69,7 @@ module Presenter
|
|
69
69
|
building_environment: @view_model.building_environment,
|
70
70
|
building_category: @view_model.building_category,
|
71
71
|
report_type: @view_model.report_type,
|
72
|
+
reason_type: @view_model.all_reason_types.first,
|
72
73
|
other_fuel: @view_model.other_fuel,
|
73
74
|
}
|
74
75
|
end
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -171,9 +171,7 @@ module ViewModel
|
|
171
171
|
xpath(%w[Energy-Rating-Current]).to_i
|
172
172
|
end
|
173
173
|
|
174
|
-
def estimated_energy_cost
|
175
|
-
xpath(%w[Estimated-Energy-Cost])
|
176
|
-
end
|
174
|
+
def estimated_energy_cost; end
|
177
175
|
|
178
176
|
def total_floor_area
|
179
177
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -158,9 +158,7 @@ module ViewModel
|
|
158
158
|
xpath(%w[Energy-Rating-Current]).to_i
|
159
159
|
end
|
160
160
|
|
161
|
-
def estimated_energy_cost
|
162
|
-
xpath(%w[Estimated-Energy-Cost])
|
163
|
-
end
|
161
|
+
def estimated_energy_cost; end
|
164
162
|
|
165
163
|
def total_floor_area
|
166
164
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -176,9 +176,7 @@ module ViewModel
|
|
176
176
|
xpath(%w[Energy-Consumption-Potential])
|
177
177
|
end
|
178
178
|
|
179
|
-
def estimated_energy_cost
|
180
|
-
xpath(%w[Estimated-Energy-Cost])
|
181
|
-
end
|
179
|
+
def estimated_energy_cost; end
|
182
180
|
|
183
181
|
def total_floor_area
|
184
182
|
xpath(%w[Property-Summary Total-Floor-Area]).to_i
|
@@ -395,6 +393,10 @@ module ViewModel
|
|
395
393
|
total_energy_outlet_count << outlet[:lighting_outlets].to_f
|
396
394
|
end
|
397
395
|
|
396
|
+
if total_energy_outlet_count.sum.zero?
|
397
|
+
return 0
|
398
|
+
end
|
399
|
+
|
398
400
|
(low_energy_outlet_count.sum / total_energy_outlet_count.sum * 100).round
|
399
401
|
end
|
400
402
|
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -159,9 +159,7 @@ module ViewModel
|
|
159
159
|
xpath(%w[Energy-Consumption-Potential])
|
160
160
|
end
|
161
161
|
|
162
|
-
def estimated_energy_cost
|
163
|
-
xpath(%w[Estimated-Energy-Cost])
|
164
|
-
end
|
162
|
+
def estimated_energy_cost; end
|
165
163
|
|
166
164
|
def total_floor_area
|
167
165
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -155,9 +155,7 @@ module ViewModel
|
|
155
155
|
xpath(%w[Energy-Consumption-Potential])
|
156
156
|
end
|
157
157
|
|
158
|
-
def estimated_energy_cost
|
159
|
-
xpath(%w[Estimated-Energy-Cost])
|
160
|
-
end
|
158
|
+
def estimated_energy_cost; end
|
161
159
|
|
162
160
|
def total_floor_area
|
163
161
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -168,9 +168,7 @@ module ViewModel
|
|
168
168
|
xpath(%w[Energy-Consumption-Potential])
|
169
169
|
end
|
170
170
|
|
171
|
-
def estimated_energy_cost
|
172
|
-
xpath(%w[Estimated-Energy-Cost])
|
173
|
-
end
|
171
|
+
def estimated_energy_cost; end
|
174
172
|
|
175
173
|
def total_floor_area
|
176
174
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -168,9 +168,7 @@ module ViewModel
|
|
168
168
|
xpath(%w[Energy-Consumption-Potential])
|
169
169
|
end
|
170
170
|
|
171
|
-
def estimated_energy_cost
|
172
|
-
xpath(%w[Estimated-Energy-Cost])
|
173
|
-
end
|
171
|
+
def estimated_energy_cost; end
|
174
172
|
|
175
173
|
def total_floor_area
|
176
174
|
xpath(%w[Property-Summary Total-Floor-Area])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epb_view_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MHCLG Energy Performance of Buildings
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|