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

Method CreateVars

cpp/src/command_classes/ThermostatOperatingState.cpp:144–153  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

142// Create the values managed by this command class
143//-----------------------------------------------------------------------------
144void ThermostatOperatingState::CreateVars
145(
146 uint8 const _instance
147)
148{
149 if( Node* node = GetNodeUnsafe() )
150 {
151 node->CreateValueString( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Operating State", "", true, false, c_stateName[0], 0 );
152 }
153}
154

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueStringMethod · 0.80

Tested by

no test coverage detected