src/SequoiaWiFiStartUpManager.cpp
//Create Device is also start of Device)
Create Device is also start of Device)
Create Device is also start of Device )
bool SequoiaWiFiStartUpManager::CreateDevice()
{
    switch (_deviceType)
    {
    case SequoiaDeviceType::DOOR_BELL:
        m_devicePtr = SmartDoorBell::GetInstance();
        break;
    case SequoiaDeviceType::PET_FEEDER:
        m_devicePtr = SmartPetFeeder::GetInstance();
        break;
    case SequoiaDeviceType::PLANT_CARER:
        m_devicePtr = SmartPlantCarer::GetInstance();
        break;
    }
    return true;
}
bool SequoiaWiFiStartUpManager :: CreateDevice ( ) { switch ( _deviceType ) { case SequoiaDeviceType :: DOOR_BELL : m_devicePtr = SmartDoorBell :: GetInstance ( ) ; break ; case SequoiaDeviceType :: PET_FEEDER : m_devicePtr = SmartPetFeeder :: GetInstance ( ) ; break ; case SequoiaDeviceType :: PLANT_CARER : m_devicePtr = SmartPlantCarer :: GetInstance ( ) ; break ; } return true ; }
Create Device is also start of Device)
Create Device is also start of Device )