class ViewModel::SapSchemaNi150::Rdsap

Public Instance Methods

all_wall_descriptions() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 20
def all_wall_descriptions
  @xml_doc.search("Wall/Description").map(&:content)
end
all_wall_energy_efficiency_rating() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 24
def all_wall_energy_efficiency_rating
  @xml_doc.search("Wall/Energy-Efficiency-Rating").map(&:content)
end
all_wall_env_energy_efficiency_rating() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 28
def all_wall_env_energy_efficiency_rating
  @xml_doc.search("Wall/Environmental-Efficiency-Rating").map(&:content)
end
cylinder_insul_thickness() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 64
def cylinder_insul_thickness
  xpath(%w[Cylinder-Insulation-Thickness])
end
cylinder_insulation_type() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 72
def cylinder_insulation_type
  xpath(%w[Cylinder-Insulation-Type])
end
cylinder_size() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 76
def cylinder_size
  xpath(%w[Cylinder-Size])
end
energy_tariff() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 60
def energy_tariff
  xpath(%w[Meter-Type])
end
floor_height() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 52
def floor_height
  @xml_doc.search("Room-Height").map(&:content)
end
glazed_area() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 68
def glazed_area
  xpath(%w[Glazed-Area])
end
habitable_room_count() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 32
def habitable_room_count
  xpath(%w[Habitable-Room-Count])
end
has_cylinder_thermostat() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 80
def has_cylinder_thermostat
  xpath(%w[Cylinder-Thermostat])
end
heated_room_count() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 36
def heated_room_count
  xpath(%w[Heated-Room-Count])
end
mech_vent_sys_index_number() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 84
def mech_vent_sys_index_number
  nil
end
mechanical_vent_data_source() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 88
def mechanical_vent_data_source
  nil
end
mechanical_ventilation() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 48
def mechanical_ventilation
  xpath(%w[Mechanical-Ventilation])
end
photovoltaic_roof_area_percent() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 40
def photovoltaic_roof_area_percent
  xpath(%w[Photovoltaic-Supply Percent-Roof-Area])
end
property_age_band() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 4
def property_age_band
  xpath(%w[Construction-Age-Band])
end
solar_water_heating_flag() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 44
def solar_water_heating_flag
  xpath(%w[Solar-Water-Heating])
end
storey_count() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 56
def storey_count
  xpath(%w[Storey-Count])
end
thermal_store() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 92
def thermal_store
  nil
end
ventilation_type() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 96
def ventilation_type
  nil
end
water_heating_fuel() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 100
def water_heating_fuel
  xpath(%w[Water-Heating-Fuel])
end
window_description() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 8
def window_description
  xpath(%w[Window Description])
end
window_energy_efficiency_rating() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 12
def window_energy_efficiency_rating
  xpath(%w[Window Energy-Efficiency-Rating])
end
window_environmental_efficiency_rating() click to toggle source
# File lib/view_model/sap_schema_ni_150/rdsap.rb, line 16
def window_environmental_efficiency_rating
  xpath(%w[Window Environmental-Efficiency-Rating])
end