MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / CreateVars

Method CreateVars

cpp/src/command_classes/ThermostatSetpoint.cpp:350–360  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Create the values managed by this command class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

348// Create the values managed by this command class
349//-----------------------------------------------------------------------------
350void ThermostatSetpoint::CreateVars
351(
352 uint8 const _instance,
353 uint8 const _index
354)
355{
356 if( Node* node = GetNodeUnsafe() )
357 {
358 node->CreateValueDecimal( ValueID::ValueGenre_User, GetCommandClassId(), _instance, _index, "Setpoint", "C", false, false, "0.0", 0 );
359 }
360}

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueDecimalMethod · 0.80

Tested by

no test coverage detected