mil.dod.th.ose.bbb.platform/src/mil/dod/th/ose/bbb/platform/BeagleBoneBlackWakeManager.java
public void update(final BeagleBoneBlackPowerManagerConfig config)
    {
        m_MinWakeTimeMs = config.minWakeTimeMs();
        m_MaxSleepTimeMs = config.maxSleepTimeMs();
        m_StandbyNoticeTimeMs = config.standbyNoticeTimeMs();
        m_StandbyBackoffTimeMs = config.standbyBackoffTimeMs();
        m_StandbyMode = config.standbyMode();
        if (!m_IsEnabled && config.enabled())
        {
            m_WakeTime = currentElapsedTimeMs();
        }
        m_IsEnabled = config.enabled();
    }
/**
     * Updates the beaglebone wake timer with the specified configuration properties.
     * 
     * @param config
     *      Configuration that contains the properties the wake timer should be updated with.
     */
Updates the beaglebone wake timer with the specified configuration properties.

@param config
Configuration that contains the properties the wake timer should be updated with.
Updates the beaglebone wake timer with the specified configuration properties . @param config Configuration that contains the properties the wake timer should be updated with .
public void update(final BeagleBoneBlackPowerManagerConfig config)
    {
        m_MinWakeTimeMs = config.minWakeTimeMs();
        m_MaxSleepTimeMs = config.maxSleepTimeMs();
        m_StandbyNoticeTimeMs = config.standbyNoticeTimeMs();
        m_StandbyBackoffTimeMs = config.standbyBackoffTimeMs();
        m_StandbyMode = config.standbyMode();
        if (!m_IsEnabled && config.enabled())
        {
            m_WakeTime = currentElapsedTimeMs();
        }
        m_IsEnabled = config.enabled();
    }
public void update ( final BeagleBoneBlackPowerManagerConfig config ) { m_MinWakeTimeMs = config . minWakeTimeMs ( ) ; m_MaxSleepTimeMs = config . maxSleepTimeMs ( ) ; m_StandbyNoticeTimeMs = config . standbyNoticeTimeMs ( ) ; m_StandbyBackoffTimeMs = config . standbyBackoffTimeMs ( ) ; m_StandbyMode = config . standbyMode ( ) ; if ( ! m_IsEnabled && config . enabled ( ) ) { m_WakeTime = currentElapsedTimeMs ( ) ; } m_IsEnabled = config . enabled ( ) ; }
Updates the beaglebone wake timer with the specified configuration properties.
Updates the beaglebone wake timer with the specified configuration properties .