epb_view_models 1.1.6 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/api/schemas/xml/RdSAP-Schema-21.0.0/RdSAP/Templates/EPC-Certificate.xsd +1 -1
- data/api/schemas/xml/RdSAP-Schema-21.0.0/RdSAP/Templates/EPC-CollectedData.xsd +31 -11
- data/api/schemas/xml/RdSAP-Schema-21.0.0/RdSAP/UDT/SAP-Domains.xsd +74 -25
- data/lib/epb_view_models.rb +1 -1
- data/lib/presenter/rd_sap/summary.rb +2 -0
- data/lib/presenter/sap/summary.rb +2 -0
- data/lib/view_model/rd_sap_schema_170/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_171/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_180/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_190/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_200/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_210/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_ni_173/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_ni_174/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_ni_180/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_ni_190/common_schema.rb +8 -0
- data/lib/view_model/rd_sap_schema_ni_200/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_102/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_110/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_112/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_120/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_130/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_140/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_141/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_142/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_150/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_160/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_161/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_162/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_163/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_170/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_171/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_1800/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_1900/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_1910/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_112/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_120/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_130/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_140/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_141/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_142/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_150/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_160/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_161/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_170/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_171/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_172/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_173/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_174/common_schema.rb +8 -0
- data/lib/view_model/sap_schema_ni_1800/common_schema.rb +8 -0
- 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: 69842d75696d6f7e922b3b3d93c4301da15017f63ecfac51eeddcbe0dc10ba81
|
|
4
|
+
data.tar.gz: 0337bc45cffd6c0b3d61f7eb6e1c759597395b7c40c7187c6f7e274c9e25f22c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de4ef827342f795a028984f6be18a36b99ebc07eff4aedeb8f72bf3a16a115e21fc22ec1b0e8fff66ca7d43f55904b157d6cbf4697854246691a7608cb959c46
|
|
7
|
+
data.tar.gz: cc548ce387bf14fcd410311c19e37fbe23ad1cabc54a75494649fe476ef200effcb27843de97bd840d4ef134624c00c263a1d200d905d68124677496bd36cbd0
|
|
@@ -47,6 +47,7 @@ The report also identifies a number of potential improvements that may be made t
|
|
|
47
47
|
<xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
|
|
48
48
|
<xs:element name="Floor" type="PropertySummaryType" maxOccurs="unbounded"/>
|
|
49
49
|
<xs:element name="Window" type="PropertySummaryType"/>
|
|
50
|
+
<xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0"/>
|
|
50
51
|
<xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
|
|
51
52
|
<xs:element name="Main-Heating-Controls" type="PropertySummaryType" maxOccurs="2"/>
|
|
52
53
|
<xs:element name="Hot-Water" type="PropertySummaryType"/>
|
|
@@ -179,7 +180,6 @@ If windows not measured, same as SAP-Data\Energy-Assessment\Property-Summary\Mul
|
|
|
179
180
|
</xs:complexType>
|
|
180
181
|
<xs:element name="Improvement" type="Improvement"/>
|
|
181
182
|
<xs:complexType name="Improvement">
|
|
182
|
-
|
|
183
183
|
<xs:all>
|
|
184
184
|
<xs:element name="Sequence" type="xs:integer">
|
|
185
185
|
<xs:annotation>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<xs:element name="SAP-Property-Details" type="SAP-Property-Details"/>
|
|
21
21
|
<xs:complexType name="SAP-Property-Details">
|
|
22
22
|
<xs:all>
|
|
23
|
-
<xs:element name="Built-Form" type="SAP-BuiltFormCode">
|
|
23
|
+
<xs:element name="Built-Form" type="SAP-BuiltFormCode" minOccurs="0">
|
|
24
24
|
<xs:annotation>
|
|
25
25
|
<xs:documentation>The building type of the Property e.g. Detached, Semi-Detached, Terrace etc.
|
|
26
26
|
|
|
@@ -147,19 +147,44 @@ This is actually the type differentiator for Property but only a limited number
|
|
|
147
147
|
<xs:documentation>The number of flueless gas fires in the Property.</xs:documentation>
|
|
148
148
|
</xs:annotation>
|
|
149
149
|
</xs:element>
|
|
150
|
-
<xs:element name="Mechanical-Ventilation-
|
|
150
|
+
<xs:element name="Mechanical-Ventilation-Index-Number" type="xs:positiveInteger" minOccurs="0">
|
|
151
151
|
<xs:annotation>
|
|
152
152
|
<xs:documentation>Relevant when mechanical ventilation system is from PCDB.</xs:documentation>
|
|
153
153
|
</xs:annotation>
|
|
154
154
|
</xs:element>
|
|
155
|
-
<xs:element name="Mechanical-Ventilation
|
|
155
|
+
<xs:element name="Mechanical-Ventilation" type="VentilationTypeCode">
|
|
156
|
+
<xs:annotation>
|
|
157
|
+
<xs:documentation>Identifies the type of mechanical ventilation the property has. This is required for the RdSAP calculation.</xs:documentation>
|
|
158
|
+
</xs:annotation>
|
|
159
|
+
</xs:element>
|
|
160
|
+
<xs:element name="Mechanical-Vent-Duct-Type" type="SAP-DuctTypeCode" minOccurs="0">
|
|
161
|
+
<xs:annotation>
|
|
162
|
+
<xs:documentation>Mechanical vent duct type; if MEV c, MV or MVHR from PCDB.</xs:documentation>
|
|
163
|
+
</xs:annotation>
|
|
164
|
+
</xs:element>
|
|
165
|
+
<xs:element name="Mechanical-Vent-Duct-Placement" type="SAP-DuctPlacement" minOccurs="0">
|
|
166
|
+
<xs:annotation>
|
|
167
|
+
<xs:documentation>Mechanical ventilation duct insulation; if MVHR from PCDB.</xs:documentation>
|
|
168
|
+
</xs:annotation>
|
|
169
|
+
</xs:element>
|
|
170
|
+
<xs:element name="Mechanical-Ventilation-Duct-Insulation" type="SAP-DuctInsulationCode" minOccurs="0">
|
|
156
171
|
<xs:annotation>
|
|
157
172
|
<xs:documentation>Relevant when mechanical ventilation system is from PCDB.</xs:documentation>
|
|
158
173
|
</xs:annotation>
|
|
159
174
|
</xs:element>
|
|
160
|
-
<xs:element name="Mechanical-
|
|
175
|
+
<xs:element name="Mechanical-Vent-Duct-Insulation-Level" type="SAP-DuctInsulationLevel" minOccurs="0">
|
|
161
176
|
<xs:annotation>
|
|
162
|
-
<xs:documentation>
|
|
177
|
+
<xs:documentation>Mechanical vent duct insulation; if MVHR from PCDB.</xs:documentation>
|
|
178
|
+
</xs:annotation>
|
|
179
|
+
</xs:element>
|
|
180
|
+
<xs:element name="Mechanical-Vent-Measured-Installation" type="xs:boolean" minOccurs="0">
|
|
181
|
+
<xs:annotation>
|
|
182
|
+
<xs:documentation>Mechanical ventilation SPF measured in situ; if MVHR or balanced from pcdb.</xs:documentation>
|
|
183
|
+
</xs:annotation>
|
|
184
|
+
</xs:element>
|
|
185
|
+
<xs:element name="Is-Mechanical-Vent-Approved-Installer-Scheme" type="xs:boolean" minOccurs="0">
|
|
186
|
+
<xs:annotation>
|
|
187
|
+
<xs:documentation>If MVHR from pcdb.</xs:documentation>
|
|
163
188
|
</xs:annotation>
|
|
164
189
|
</xs:element>
|
|
165
190
|
<xs:element name="Conservatory-Type" type="SAP-ConservatoryTypeCode">
|
|
@@ -867,11 +892,6 @@ For the purpose of calculating the overall Energy Assessment for the property de
|
|
|
867
892
|
</xs:annotation>
|
|
868
893
|
</xs:element>
|
|
869
894
|
<xs:element name="Community-Heat-Distribution-Type" type="SAP-HeatingDistributionCode" minOccurs="0"/>
|
|
870
|
-
<xs:element name="Community-Generator-Type" type="CommunityGeneratorTypeCode" minOccurs="0">
|
|
871
|
-
<xs:annotation>
|
|
872
|
-
<xs:documentation>Only required if index number not available.</xs:documentation>
|
|
873
|
-
</xs:annotation>
|
|
874
|
-
</xs:element>
|
|
875
895
|
<xs:element name="Community-Heat-CHP-Electricity-Generation" type="SAP-CHPElectricityGenerationCode" minOccurs="0">
|
|
876
896
|
<xs:annotation>
|
|
877
897
|
<xs:documentation>Only if community heating not from pcdb and a heat source with CHP. CHP Electricity generation options from table 12f.</xs:documentation>
|
|
@@ -951,7 +971,7 @@ If the total peak power has been apportioned between different dwellings within
|
|
|
951
971
|
<xs:element name="PV-Batteries" type="PV-Batteries"/>
|
|
952
972
|
<xs:complexType name="PV-Batteries">
|
|
953
973
|
<xs:sequence>
|
|
954
|
-
<xs:element name="PV-Battery" type="PV-Battery"/>
|
|
974
|
+
<xs:element name="PV-Battery" type="PV-Battery" maxOccurs="20"/>
|
|
955
975
|
</xs:sequence>
|
|
956
976
|
</xs:complexType>
|
|
957
977
|
<xs:element name="PV-Battery" type="PV-Battery"/>
|
|
@@ -52,6 +52,79 @@
|
|
|
52
52
|
</xs:enumeration>
|
|
53
53
|
</xs:restriction>
|
|
54
54
|
</xs:simpleType>
|
|
55
|
+
<xs:simpleType name="SAP-DuctTypeCode">
|
|
56
|
+
<xs:annotation>
|
|
57
|
+
<xs:documentation>Code which indicates the type of duct.</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
<xs:restriction base="xs:string">
|
|
60
|
+
<xs:enumeration value="1">
|
|
61
|
+
<xs:annotation>
|
|
62
|
+
<xs:documentation>flexible</xs:documentation>
|
|
63
|
+
</xs:annotation>
|
|
64
|
+
</xs:enumeration>
|
|
65
|
+
<xs:enumeration value="2">
|
|
66
|
+
<xs:annotation>
|
|
67
|
+
<xs:documentation>rigid</xs:documentation>
|
|
68
|
+
</xs:annotation>
|
|
69
|
+
</xs:enumeration>
|
|
70
|
+
<xs:enumeration value="3">
|
|
71
|
+
<xs:annotation>
|
|
72
|
+
<xs:documentation>semi-rigid</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
</xs:enumeration>
|
|
75
|
+
</xs:restriction>
|
|
76
|
+
</xs:simpleType>
|
|
77
|
+
<xs:simpleType name="SAP-DuctPlacement">
|
|
78
|
+
<xs:annotation>
|
|
79
|
+
<xs:documentation>Code which indicates the duct placement.</xs:documentation>
|
|
80
|
+
</xs:annotation>
|
|
81
|
+
<xs:restriction base="xs:string">
|
|
82
|
+
<xs:enumeration value="1">
|
|
83
|
+
<xs:annotation>
|
|
84
|
+
<xs:documentation>inside heated envelope</xs:documentation>
|
|
85
|
+
</xs:annotation>
|
|
86
|
+
</xs:enumeration>
|
|
87
|
+
<xs:enumeration value="2">
|
|
88
|
+
<xs:annotation>
|
|
89
|
+
<xs:documentation>outside heated envelope</xs:documentation>
|
|
90
|
+
</xs:annotation>
|
|
91
|
+
</xs:enumeration>
|
|
92
|
+
</xs:restriction>
|
|
93
|
+
</xs:simpleType>
|
|
94
|
+
<xs:simpleType name="SAP-DuctInsulationLevel">
|
|
95
|
+
<xs:annotation>
|
|
96
|
+
<xs:documentation>Code which indicates the level of duct insulation.</xs:documentation>
|
|
97
|
+
</xs:annotation>
|
|
98
|
+
<xs:restriction base="xs:string">
|
|
99
|
+
<xs:enumeration value="1">
|
|
100
|
+
<xs:annotation>
|
|
101
|
+
<xs:documentation>level 1</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
</xs:enumeration>
|
|
104
|
+
<xs:enumeration value="2">
|
|
105
|
+
<xs:annotation>
|
|
106
|
+
<xs:documentation>level 2</xs:documentation>
|
|
107
|
+
</xs:annotation>
|
|
108
|
+
</xs:enumeration>
|
|
109
|
+
</xs:restriction>
|
|
110
|
+
</xs:simpleType>
|
|
111
|
+
<xs:simpleType name="SAP-DuctInsulationCode">
|
|
112
|
+
<xs:annotation>
|
|
113
|
+
<xs:documentation>Code which indicates the type of duct insulation.</xs:documentation>
|
|
114
|
+
</xs:annotation>
|
|
115
|
+
<xs:restriction base="xs:string">
|
|
116
|
+
<xs:enumeration value="1">
|
|
117
|
+
<xs:annotation>
|
|
118
|
+
<xs:documentation>not insulated</xs:documentation>
|
|
119
|
+
</xs:annotation>
|
|
120
|
+
</xs:enumeration>
|
|
121
|
+
<xs:enumeration value="2">
|
|
122
|
+
<xs:annotation>
|
|
123
|
+
<xs:documentation>insulated</xs:documentation>
|
|
124
|
+
</xs:annotation>
|
|
125
|
+
</xs:enumeration>
|
|
126
|
+
</xs:restriction>
|
|
127
|
+
</xs:simpleType>
|
|
55
128
|
<xs:simpleType name="HeatEmitterCode">
|
|
56
129
|
<xs:restriction base="xs:string">
|
|
57
130
|
<xs:enumeration value="0">
|
|
@@ -887,7 +960,7 @@ Northern Ireland: 2014 onwards (TBA)</xs:documentation>
|
|
|
887
960
|
</xs:enumeration>
|
|
888
961
|
<xs:enumeration value="3">
|
|
889
962
|
<xs:annotation>
|
|
890
|
-
<xs:documentation>
|
|
963
|
+
<xs:documentation>stairwell</xs:documentation>
|
|
891
964
|
</xs:annotation>
|
|
892
965
|
</xs:enumeration>
|
|
893
966
|
</xs:restriction>
|
|
@@ -2983,30 +3056,6 @@ This is a very similar concept to XML ID datatype but is locally defined because
|
|
|
2983
3056
|
</xs:enumeration>
|
|
2984
3057
|
</xs:restriction>
|
|
2985
3058
|
</xs:simpleType>
|
|
2986
|
-
<xs:simpleType name="CommunityGeneratorTypeCode">
|
|
2987
|
-
<xs:restriction base="xs:string">
|
|
2988
|
-
<xs:enumeration value="0">
|
|
2989
|
-
<xs:annotation>
|
|
2990
|
-
<xs:documentation>unknown</xs:documentation>
|
|
2991
|
-
</xs:annotation>
|
|
2992
|
-
</xs:enumeration>
|
|
2993
|
-
<xs:enumeration value="1">
|
|
2994
|
-
<xs:annotation>
|
|
2995
|
-
<xs:documentation>boilers</xs:documentation>
|
|
2996
|
-
</xs:annotation>
|
|
2997
|
-
</xs:enumeration>
|
|
2998
|
-
<xs:enumeration value="3">
|
|
2999
|
-
<xs:annotation>
|
|
3000
|
-
<xs:documentation>CHP and boilers</xs:documentation>
|
|
3001
|
-
</xs:annotation>
|
|
3002
|
-
</xs:enumeration>
|
|
3003
|
-
<xs:enumeration value="4">
|
|
3004
|
-
<xs:annotation>
|
|
3005
|
-
<xs:documentation>heat pump</xs:documentation>
|
|
3006
|
-
</xs:annotation>
|
|
3007
|
-
</xs:enumeration>
|
|
3008
|
-
</xs:restriction>
|
|
3009
|
-
</xs:simpleType>
|
|
3010
3059
|
<xs:simpleType name="PumpAge">
|
|
3011
3060
|
<xs:restriction base="xs:string">
|
|
3012
3061
|
<xs:enumeration value="0">
|
data/lib/epb_view_models.rb
CHANGED
|
@@ -112,6 +112,8 @@ module Presenter
|
|
|
112
112
|
environmental_impact_potential:
|
|
113
113
|
@view_model.environmental_impact_potential,
|
|
114
114
|
addendum: @view_model.addendum,
|
|
115
|
+
gas_smart_meter_present: @view_model.gas_smart_meter_present,
|
|
116
|
+
electricity_smart_meter_present: @view_model.electricity_smart_meter_present,
|
|
115
117
|
}
|
|
116
118
|
end
|
|
117
119
|
|
|
@@ -159,6 +159,8 @@ module Presenter
|
|
|
159
159
|
@view_model.extensions_count
|
|
160
160
|
end,
|
|
161
161
|
addendum: @view_model.addendum,
|
|
162
|
+
gas_smart_meter_present: @view_model.gas_smart_meter_present,
|
|
163
|
+
electricity_smart_meter_present: @view_model.electricity_smart_meter_present,
|
|
162
164
|
}
|
|
163
165
|
end
|
|
164
166
|
|
|
@@ -582,6 +582,14 @@ module ViewModel
|
|
|
582
582
|
def has_cylinder_thermostat
|
|
583
583
|
xpath(%w[Cylinder-Thermostat])
|
|
584
584
|
end
|
|
585
|
+
|
|
586
|
+
def gas_smart_meter_present
|
|
587
|
+
xpath(%w[Gas-Smart-Meter-Present])
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
def electricity_smart_meter_present
|
|
591
|
+
xpath(%w[Electricity-Smart-Meter-Present])
|
|
592
|
+
end
|
|
585
593
|
end
|
|
586
594
|
end
|
|
587
595
|
end
|
|
@@ -487,6 +487,14 @@ module ViewModel
|
|
|
487
487
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
488
488
|
.map(&:content)
|
|
489
489
|
end
|
|
490
|
+
|
|
491
|
+
def gas_smart_meter_present
|
|
492
|
+
nil
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
def electricity_smart_meter_present
|
|
496
|
+
nil
|
|
497
|
+
end
|
|
490
498
|
end
|
|
491
499
|
end
|
|
492
500
|
end
|
|
@@ -501,6 +501,14 @@ module ViewModel
|
|
|
501
501
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
502
502
|
.map(&:content)
|
|
503
503
|
end
|
|
504
|
+
|
|
505
|
+
def gas_smart_meter_present
|
|
506
|
+
nil
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
def electricity_smart_meter_present
|
|
510
|
+
nil
|
|
511
|
+
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
506
514
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Main-Heating/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -500,6 +500,14 @@ module ViewModel
|
|
|
500
500
|
.search("Property-Summary/Floor/Environmental-Efficiency-Rating")
|
|
501
501
|
.map(&:content)
|
|
502
502
|
end
|
|
503
|
+
|
|
504
|
+
def gas_smart_meter_present
|
|
505
|
+
nil
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def electricity_smart_meter_present
|
|
509
|
+
nil
|
|
510
|
+
end
|
|
503
511
|
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
@@ -627,6 +627,14 @@ module ViewModel
|
|
|
627
627
|
def ventilation_type
|
|
628
628
|
xpath(%w[Ventilation-Type])
|
|
629
629
|
end
|
|
630
|
+
|
|
631
|
+
def gas_smart_meter_present
|
|
632
|
+
xpath(%w[Gas-Smart-Meter-Present])
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
def electricity_smart_meter_present
|
|
636
|
+
xpath(%w[Electricity-Smart-Meter-Present])
|
|
637
|
+
end
|
|
630
638
|
end
|
|
631
639
|
end
|
|
632
640
|
end
|
|
@@ -627,6 +627,14 @@ module ViewModel
|
|
|
627
627
|
def ventilation_type
|
|
628
628
|
xpath(%w[Ventilation-Type])
|
|
629
629
|
end
|
|
630
|
+
|
|
631
|
+
def gas_smart_meter_present
|
|
632
|
+
xpath(%w[Gas-Smart-Meter-Present])
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
def electricity_smart_meter_present
|
|
636
|
+
xpath(%w[Electricity-Smart-Meter-Present])
|
|
637
|
+
end
|
|
630
638
|
end
|
|
631
639
|
end
|
|
632
640
|
end
|
|
@@ -492,6 +492,14 @@ module ViewModel
|
|
|
492
492
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
493
493
|
.map(&:content)
|
|
494
494
|
end
|
|
495
|
+
|
|
496
|
+
def gas_smart_meter_present
|
|
497
|
+
nil
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
def electricity_smart_meter_present
|
|
501
|
+
nil
|
|
502
|
+
end
|
|
495
503
|
end
|
|
496
504
|
end
|
|
497
505
|
end
|
|
@@ -488,6 +488,14 @@ module ViewModel
|
|
|
488
488
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
489
489
|
.map(&:content)
|
|
490
490
|
end
|
|
491
|
+
|
|
492
|
+
def gas_smart_meter_present
|
|
493
|
+
nil
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
def electricity_smart_meter_present
|
|
497
|
+
nil
|
|
498
|
+
end
|
|
491
499
|
end
|
|
492
500
|
end
|
|
493
501
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -480,6 +480,14 @@ module ViewModel
|
|
|
480
480
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
481
481
|
.map(&:content)
|
|
482
482
|
end
|
|
483
|
+
|
|
484
|
+
def gas_smart_meter_present
|
|
485
|
+
nil
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
def electricity_smart_meter_present
|
|
489
|
+
nil
|
|
490
|
+
end
|
|
483
491
|
end
|
|
484
492
|
end
|
|
485
493
|
end
|
|
@@ -476,6 +476,14 @@ module ViewModel
|
|
|
476
476
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
477
477
|
.map(&:content)
|
|
478
478
|
end
|
|
479
|
+
|
|
480
|
+
def gas_smart_meter_present
|
|
481
|
+
nil
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
def electricity_smart_meter_present
|
|
485
|
+
nil
|
|
486
|
+
end
|
|
479
487
|
end
|
|
480
488
|
end
|
|
481
489
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
|
@@ -485,6 +485,14 @@ module ViewModel
|
|
|
485
485
|
.search("Main-Heating-Controls/Environmental-Efficiency-Rating")
|
|
486
486
|
.map(&:content)
|
|
487
487
|
end
|
|
488
|
+
|
|
489
|
+
def gas_smart_meter_present
|
|
490
|
+
nil
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
def electricity_smart_meter_present
|
|
494
|
+
nil
|
|
495
|
+
end
|
|
488
496
|
end
|
|
489
497
|
end
|
|
490
498
|
end
|
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.1
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- DLUHC Energy Performance of Buildings
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|