Class: E3DCMqtt::Battery

Inherits:
Data
  • Object
show all
Defined in:
lib/e3dc_mqtt/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dcb_countObject (readonly)

Returns the value of attribute dcb_count

Returns:

  • (Object)

    the current value of dcb_count



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def dcb_count
  @dcb_count
end

#indexObject (readonly)

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def index
  @index
end

#instance_descriptorObject (readonly)

Returns the value of attribute instance_descriptor

Returns:

  • (Object)

    the current value of instance_descriptor



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def instance_descriptor
  @instance_descriptor
end

#manufacturer_nameObject (readonly)

Returns the value of attribute manufacturer_name

Returns:

  • (Object)

    the current value of manufacturer_name



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def manufacturer_name
  @manufacturer_name
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def name
  @name
end

#numberObject (readonly)

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def number
  @number
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def role
  @role
end

#serial_numberObject (readonly)

Returns the value of attribute serial_number

Returns:

  • (Object)

    the current value of serial_number



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def serial_number
  @serial_number
end

#specified_capacityObject (readonly)

Returns the value of attribute specified_capacity

Returns:

  • (Object)

    the current value of specified_capacity



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def specified_capacity
  @specified_capacity
end

#specified_charge_powerObject (readonly)

Returns the value of attribute specified_charge_power

Returns:

  • (Object)

    the current value of specified_charge_power



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def specified_charge_power
  @specified_charge_power
end

#specified_discharge_powerObject (readonly)

Returns the value of attribute specified_discharge_power

Returns:

  • (Object)

    the current value of specified_discharge_power



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def specified_discharge_power
  @specified_discharge_power
end

#specified_max_dcb_countObject (readonly)

Returns the value of attribute specified_max_dcb_count

Returns:

  • (Object)

    the current value of specified_max_dcb_count



2
3
4
# File 'lib/e3dc_mqtt/types.rb', line 2

def specified_max_dcb_count
  @specified_max_dcb_count
end