Class: BuildingSync::Lighting

Inherits:
Object
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://www.gbxml.org/schemaLighting

generalGeometry - BuildingSync::GeneralGeometry
shellGeometry - BuildingSync::ShellGeometry
coefficientOfUtilization - BuildingSync::CoefficientOfUtilization
photometryOrientation - BuildingSync::PhotometryOrientation
xmlattr_id - SOAP::SOAPID
xmlattr_lightingSystemIdRef - SOAP::SOAPIDREF
xmlattr_lightingControlIdRef - SOAP::SOAPIDREF
xmlattr_meterIdRef - SOAP::SOAPIDREF
xmlattr_programId - SOAP::SOAPIDREF

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrLightingControlIdRef =
XSD::QName.new(nil, "lightingControlIdRef")
AttrLightingSystemIdRef =
XSD::QName.new(nil, "lightingSystemIdRef")
AttrMeterIdRef =
XSD::QName.new(nil, "meterIdRef")
AttrProgramId =
XSD::QName.new(nil, "programId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(generalGeometry = [], shellGeometry = [], coefficientOfUtilization = [], photometryOrientation = []) ⇒ Lighting

Returns a new instance of Lighting.



29166
29167
29168
29169
29170
29171
29172
# File 'lib/BuildingSync.rb', line 29166

def initialize(generalGeometry = [], shellGeometry = [], coefficientOfUtilization = [], photometryOrientation = [])
  @generalGeometry = generalGeometry
  @shellGeometry = shellGeometry
  @coefficientOfUtilization = coefficientOfUtilization
  @photometryOrientation = photometryOrientation
  @__xmlattr = {}
end

Instance Attribute Details

#coefficientOfUtilizationObject

Returns the value of attribute coefficientOfUtilization.



29119
29120
29121
# File 'lib/BuildingSync.rb', line 29119

def coefficientOfUtilization
  @coefficientOfUtilization
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



29117
29118
29119
# File 'lib/BuildingSync.rb', line 29117

def generalGeometry
  @generalGeometry
end

#photometryOrientationObject

Returns the value of attribute photometryOrientation.



29120
29121
29122
# File 'lib/BuildingSync.rb', line 29120

def photometryOrientation
  @photometryOrientation
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



29118
29119
29120
# File 'lib/BuildingSync.rb', line 29118

def shellGeometry
  @shellGeometry
end

Instance Method Details

#__xmlattrObject



29122
29123
29124
# File 'lib/BuildingSync.rb', line 29122

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



29126
29127
29128
# File 'lib/BuildingSync.rb', line 29126

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



29130
29131
29132
# File 'lib/BuildingSync.rb', line 29130

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_lightingControlIdRefObject



29142
29143
29144
# File 'lib/BuildingSync.rb', line 29142

def xmlattr_lightingControlIdRef
  __xmlattr[AttrLightingControlIdRef]
end

#xmlattr_lightingControlIdRef=(value) ⇒ Object



29146
29147
29148
# File 'lib/BuildingSync.rb', line 29146

def xmlattr_lightingControlIdRef=(value)
  __xmlattr[AttrLightingControlIdRef] = value
end

#xmlattr_lightingSystemIdRefObject



29134
29135
29136
# File 'lib/BuildingSync.rb', line 29134

def xmlattr_lightingSystemIdRef
  __xmlattr[AttrLightingSystemIdRef]
end

#xmlattr_lightingSystemIdRef=(value) ⇒ Object



29138
29139
29140
# File 'lib/BuildingSync.rb', line 29138

def xmlattr_lightingSystemIdRef=(value)
  __xmlattr[AttrLightingSystemIdRef] = value
end

#xmlattr_meterIdRefObject



29150
29151
29152
# File 'lib/BuildingSync.rb', line 29150

def xmlattr_meterIdRef
  __xmlattr[AttrMeterIdRef]
end

#xmlattr_meterIdRef=(value) ⇒ Object



29154
29155
29156
# File 'lib/BuildingSync.rb', line 29154

def xmlattr_meterIdRef=(value)
  __xmlattr[AttrMeterIdRef] = value
end

#xmlattr_programIdObject



29158
29159
29160
# File 'lib/BuildingSync.rb', line 29158

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



29162
29163
29164
# File 'lib/BuildingSync.rb', line 29162

def xmlattr_programId=(value)
  __xmlattr[AttrProgramId] = value
end