| 372 | |
| 373 | } |
| 374 | bool ValueBitSet::SetBitLabel |
| 375 | ( |
| 376 | uint8 _idx, |
| 377 | string label |
| 378 | ) |
| 379 | { |
| 380 | if (isValidBit(_idx)) { |
| 381 | Localization::Get()->SetValueItemLabel(m_id.GetCommandClassId(), m_id.GetIndex(), -1, _idx, label, Localization::Get()->GetSelectedLang()); |
| 382 | return true; |
| 383 | } |
| 384 | Log::Write(LogLevel_Warning, m_id.GetNodeId(), "SetBitLabel: Bit %d is not valid with BitMask %d", _idx, m_BitMask); |
| 385 | return false; |
| 386 | |
| 387 | } |
| 388 | |
| 389 | uint8 ValueBitSet::GetSize |
| 390 | ( |
no test coverage detected