----------------------------------------------------------------------------- Create the values managed by this command class -----------------------------------------------------------------------------
| 682 | // Create the values managed by this command class |
| 683 | //----------------------------------------------------------------------------- |
| 684 | void UserCode::CreateVars |
| 685 | ( |
| 686 | uint8 const _instance |
| 687 | |
| 688 | ) |
| 689 | { |
| 690 | if( Node* node = GetNodeUnsafe() ) |
| 691 | { |
| 692 | node->CreateValueShort( ValueID::ValueGenre_System, GetCommandClassId(), _instance, UserCodeIndex_Count, "Code Count", "", true, false, 0, 0 ); |
| 693 | node->CreateValueButton( ValueID::ValueGenre_System, GetCommandClassId(), _instance, UserCodeIndex_Refresh, "Refresh All UserCodes", 0); |
| 694 | node->CreateValueShort( ValueID::ValueGenre_System, GetCommandClassId(), _instance, UserCodeIndex_RemoveCode, "Remove User Code", "", false, true, 0, 0); |
| 695 | } |
| 696 | } |
nothing calls this directly
no test coverage detected