| 360 | } |
| 361 | |
| 362 | string ValueBitSet::GetBitLabel |
| 363 | ( |
| 364 | uint8 _idx |
| 365 | ) |
| 366 | { |
| 367 | if (isValidBit(_idx)) { |
| 368 | return Localization::Get()->GetValueItemLabel(m_id.GetCommandClassId(), m_id.GetIndex(), -1, _idx); |
| 369 | } |
| 370 | Log::Write(LogLevel_Warning, m_id.GetNodeId(), "GetBitLabel: Bit %d is not valid with BitMask %d", _idx, m_BitMask); |
| 371 | return "Reserved"; |
| 372 | |
| 373 | } |
| 374 | bool ValueBitSet::SetBitLabel |
| 375 | ( |
| 376 | uint8 _idx, |
no test coverage detected