Sha256: e988d3287b2decdf0545b959952ffe6115ee980bf780d32058dcf9ac0e45f8f5

Contents?: true

Size: 710 Bytes

Versions: 3

Compression:

Stored size: 710 Bytes

Contents

# This class will hold methods that apply OEESC 2014
# to a given model.
# @todo OEESC 2014 is incomplete and will default to the logic
# in the default Standard class methods
# @ref [References::OEESC2014]
class OEESC2014 < OEESC
  register_standard 'OEESC 2014'
  attr_reader :template

  def initialize
    super()
    @template = 'OEESC 2014'
    load_standards_database
  end

  # Loads the openstudio standards dataset for this standard.
  #
  # @param data_directories [Array<String>] array of file paths that contain standards data
  # @return [Hash] a hash of standards data
  def load_standards_database(data_directories = [])
    super([__dir__] + data_directories)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openstudio-standards-0.7.0 lib/openstudio-standards/standards/oeesc/oeesc_2014/oeesc_2014.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/oeesc/oeesc_2014/oeesc_2014.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/oeesc/oeesc_2014/oeesc_2014.rb