Class: BuildingSync::LightingSystem

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

Overview

http://www.gbxml.org/schemaLightingSystem

manufacturer - SOAP::SOAPString
numberOfLamps - SOAP::SOAPInteger
lumensPerLamp - SOAP::SOAPDecimal
dimensions - BuildingSync::Dimensions
inputWatts - BuildingSync::InputWatts
ballast - SOAP::SOAPString
lamp - SOAP::SOAPString
luminaire - SOAP::SOAPString
photometry - SOAP::SOAPString
coefficientOfUtilization - BuildingSync::CoefficientOfUtilization
cost - BuildingSync::Cost
generalGeometry - BuildingSync::GeneralGeometry
shellGeometry - BuildingSync::ShellGeometry
reference - SOAP::SOAPString
xmlattr_id - SOAP::SOAPID
xmlattr_programId - SOAP::SOAPIDREF

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrProgramId =
XSD::QName.new(nil, "programId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manufacturer = [], numberOfLamps = [], lumensPerLamp = [], dimensions = [], inputWatts = [], ballast = [], lamp = [], luminaire = [], photometry = [], coefficientOfUtilization = [], cost = [], generalGeometry = [], shellGeometry = [], reference = []) ⇒ LightingSystem

Returns a new instance of LightingSystem.



29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
# File 'lib/BuildingSync.rb', line 29830

def initialize(manufacturer = [], numberOfLamps = [], lumensPerLamp = [], dimensions = [], inputWatts = [], ballast = [], lamp = [], luminaire = [], photometry = [], coefficientOfUtilization = [], cost = [], generalGeometry = [], shellGeometry = [], reference = [])
  @manufacturer = manufacturer
  @numberOfLamps = numberOfLamps
  @lumensPerLamp = lumensPerLamp
  @dimensions = dimensions
  @inputWatts = inputWatts
  @ballast = ballast
  @lamp = lamp
  @luminaire = luminaire
  @photometry = photometry
  @coefficientOfUtilization = coefficientOfUtilization
  @cost = cost
  @generalGeometry = generalGeometry
  @shellGeometry = shellGeometry
  @reference = reference
  @__xmlattr = {}
end

Instance Attribute Details

#ballastObject

Returns the value of attribute ballast.



29800
29801
29802
# File 'lib/BuildingSync.rb', line 29800

def ballast
  @ballast
end

#coefficientOfUtilizationObject

Returns the value of attribute coefficientOfUtilization.



29804
29805
29806
# File 'lib/BuildingSync.rb', line 29804

def coefficientOfUtilization
  @coefficientOfUtilization
end

#costObject

Returns the value of attribute cost.



29805
29806
29807
# File 'lib/BuildingSync.rb', line 29805

def cost
  @cost
end

#dimensionsObject

Returns the value of attribute dimensions.



29798
29799
29800
# File 'lib/BuildingSync.rb', line 29798

def dimensions
  @dimensions
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



29806
29807
29808
# File 'lib/BuildingSync.rb', line 29806

def generalGeometry
  @generalGeometry
end

#inputWattsObject

Returns the value of attribute inputWatts.



29799
29800
29801
# File 'lib/BuildingSync.rb', line 29799

def inputWatts
  @inputWatts
end

#lampObject

Returns the value of attribute lamp.



29801
29802
29803
# File 'lib/BuildingSync.rb', line 29801

def lamp
  @lamp
end

#lumensPerLampObject

Returns the value of attribute lumensPerLamp.



29797
29798
29799
# File 'lib/BuildingSync.rb', line 29797

def lumensPerLamp
  @lumensPerLamp
end

#luminaireObject

Returns the value of attribute luminaire.



29802
29803
29804
# File 'lib/BuildingSync.rb', line 29802

def luminaire
  @luminaire
end

#manufacturerObject

Returns the value of attribute manufacturer.



29795
29796
29797
# File 'lib/BuildingSync.rb', line 29795

def manufacturer
  @manufacturer
end

#numberOfLampsObject

Returns the value of attribute numberOfLamps.



29796
29797
29798
# File 'lib/BuildingSync.rb', line 29796

def numberOfLamps
  @numberOfLamps
end

#photometryObject

Returns the value of attribute photometry.



29803
29804
29805
# File 'lib/BuildingSync.rb', line 29803

def photometry
  @photometry
end

#referenceObject

Returns the value of attribute reference.



29808
29809
29810
# File 'lib/BuildingSync.rb', line 29808

def reference
  @reference
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



29807
29808
29809
# File 'lib/BuildingSync.rb', line 29807

def shellGeometry
  @shellGeometry
end

Instance Method Details

#__xmlattrObject



29810
29811
29812
# File 'lib/BuildingSync.rb', line 29810

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



29814
29815
29816
# File 'lib/BuildingSync.rb', line 29814

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



29818
29819
29820
# File 'lib/BuildingSync.rb', line 29818

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

#xmlattr_programIdObject



29822
29823
29824
# File 'lib/BuildingSync.rb', line 29822

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



29826
29827
29828
# File 'lib/BuildingSync.rb', line 29826

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