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.



29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
# File 'lib/BuildingSync.rb', line 29305

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.



29275
29276
29277
# File 'lib/BuildingSync.rb', line 29275

def ballast
  @ballast
end

#coefficientOfUtilizationObject

Returns the value of attribute coefficientOfUtilization.



29279
29280
29281
# File 'lib/BuildingSync.rb', line 29279

def coefficientOfUtilization
  @coefficientOfUtilization
end

#costObject

Returns the value of attribute cost.



29280
29281
29282
# File 'lib/BuildingSync.rb', line 29280

def cost
  @cost
end

#dimensionsObject

Returns the value of attribute dimensions.



29273
29274
29275
# File 'lib/BuildingSync.rb', line 29273

def dimensions
  @dimensions
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



29281
29282
29283
# File 'lib/BuildingSync.rb', line 29281

def generalGeometry
  @generalGeometry
end

#inputWattsObject

Returns the value of attribute inputWatts.



29274
29275
29276
# File 'lib/BuildingSync.rb', line 29274

def inputWatts
  @inputWatts
end

#lampObject

Returns the value of attribute lamp.



29276
29277
29278
# File 'lib/BuildingSync.rb', line 29276

def lamp
  @lamp
end

#lumensPerLampObject

Returns the value of attribute lumensPerLamp.



29272
29273
29274
# File 'lib/BuildingSync.rb', line 29272

def lumensPerLamp
  @lumensPerLamp
end

#luminaireObject

Returns the value of attribute luminaire.



29277
29278
29279
# File 'lib/BuildingSync.rb', line 29277

def luminaire
  @luminaire
end

#manufacturerObject

Returns the value of attribute manufacturer.



29270
29271
29272
# File 'lib/BuildingSync.rb', line 29270

def manufacturer
  @manufacturer
end

#numberOfLampsObject

Returns the value of attribute numberOfLamps.



29271
29272
29273
# File 'lib/BuildingSync.rb', line 29271

def numberOfLamps
  @numberOfLamps
end

#photometryObject

Returns the value of attribute photometry.



29278
29279
29280
# File 'lib/BuildingSync.rb', line 29278

def photometry
  @photometry
end

#referenceObject

Returns the value of attribute reference.



29283
29284
29285
# File 'lib/BuildingSync.rb', line 29283

def reference
  @reference
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



29282
29283
29284
# File 'lib/BuildingSync.rb', line 29282

def shellGeometry
  @shellGeometry
end

Instance Method Details

#__xmlattrObject



29285
29286
29287
# File 'lib/BuildingSync.rb', line 29285

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



29289
29290
29291
# File 'lib/BuildingSync.rb', line 29289

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



29293
29294
29295
# File 'lib/BuildingSync.rb', line 29293

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

#xmlattr_programIdObject



29297
29298
29299
# File 'lib/BuildingSync.rb', line 29297

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



29301
29302
29303
# File 'lib/BuildingSync.rb', line 29301

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