Class: BuildingSync::Power

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

Overview

http://www.gbxml.org/schemaPower

xmlattr_unit - SOAP::SOAPNMTOKEN
xmlattr_powerType - SOAP::SOAPNMTOKEN
xmlattr_useType - SOAP::SOAPNMTOKEN
xmlattr_meterIdRef - SOAP::SOAPIDREF

Constant Summary collapse

AttrMeterIdRef =
XSD::QName.new(nil, "meterIdRef")
AttrPowerType =
XSD::QName.new(nil, "powerType")
AttrUnit =
XSD::QName.new(nil, "unit")
AttrUseType =
XSD::QName.new(nil, "useType")

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ Power

Returns a new instance of Power.



31380
31381
31382
31383
# File 'lib/BuildingSync.rb', line 31380

def initialize(*arg)
  super
  @__xmlattr = {}
end

Instance Method Details

#__xmlattrObject



31344
31345
31346
# File 'lib/BuildingSync.rb', line 31344

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_meterIdRefObject



31372
31373
31374
# File 'lib/BuildingSync.rb', line 31372

def xmlattr_meterIdRef
  __xmlattr[AttrMeterIdRef]
end

#xmlattr_meterIdRef=(value) ⇒ Object



31376
31377
31378
# File 'lib/BuildingSync.rb', line 31376

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

#xmlattr_powerTypeObject



31356
31357
31358
# File 'lib/BuildingSync.rb', line 31356

def xmlattr_powerType
  __xmlattr[AttrPowerType]
end

#xmlattr_powerType=(value) ⇒ Object



31360
31361
31362
# File 'lib/BuildingSync.rb', line 31360

def xmlattr_powerType=(value)
  __xmlattr[AttrPowerType] = value
end

#xmlattr_unitObject



31348
31349
31350
# File 'lib/BuildingSync.rb', line 31348

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



31352
31353
31354
# File 'lib/BuildingSync.rb', line 31352

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end

#xmlattr_useTypeObject



31364
31365
31366
# File 'lib/BuildingSync.rb', line 31364

def xmlattr_useType
  __xmlattr[AttrUseType]
end

#xmlattr_useType=(value) ⇒ Object



31368
31369
31370
# File 'lib/BuildingSync.rb', line 31368

def xmlattr_useType=(value)
  __xmlattr[AttrUseType] = value
end