----------------------------------------------------------------------------- Constructor -----------------------------------------------------------------------------
| 317 | // Constructor |
| 318 | //----------------------------------------------------------------------------- |
| 319 | UserCode::UserCode |
| 320 | ( |
| 321 | uint32 const _homeId, |
| 322 | uint8 const _nodeId |
| 323 | ): |
| 324 | CommandClass( _homeId, _nodeId ), |
| 325 | m_queryAll( false ), |
| 326 | m_currentCode( 0 ), |
| 327 | m_refreshUserCodes(false) |
| 328 | { |
| 329 | m_com.EnableFlag(COMPAT_FLAG_UC_EXPOSERAWVALUE, false); |
| 330 | m_dom.EnableFlag(STATE_FLAG_USERCODE_COUNT, 0); |
| 331 | SetStaticRequest( StaticRequest_Values ); |
| 332 | Options::Get()->GetOptionAsBool("RefreshAllUserCodes", &m_refreshUserCodes ); |
| 333 | |
| 334 | } |
| 335 | |
| 336 | //----------------------------------------------------------------------------- |
| 337 | // <UserCode::RequestState> |
nothing calls this directly
no test coverage detected