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

Method CreateVars

cpp/src/command_classes/DoorLockLogging.cpp:328–339  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

326// Create the values managed by this command class
327//-----------------------------------------------------------------------------
328void DoorLockLogging::CreateVars
329(
330 uint8 const _instance
331)
332{
333 if( Node* node = GetNodeUnsafe() )
334 {
335 node->CreateValueByte( ValueID::ValueGenre_System, GetCommandClassId(), _instance, Value_System_Config_MaxRecords, "Max Number of Records", "", true, false, 0x0, 0 );
336 node->CreateValueByte( ValueID::ValueGenre_User, GetCommandClassId(), _instance, Value_GetRecordNo, "Current Record Number", "", false, false, 0x0, 0 );
337 node->CreateValueString( ValueID::ValueGenre_User, GetCommandClassId(), _instance, Value_LogRecord, "Log Record", "", true, false, "", 0 );
338 }
339}
340
341

Callers

nothing calls this directly

Calls 3

GetCommandClassIdFunction · 0.85
CreateValueByteMethod · 0.80
CreateValueStringMethod · 0.80

Tested by

no test coverage detected