35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
|
//*******************************************************************************
|
||
|
// SmartThings Arduino Library Base Class
|
||
|
//
|
||
|
// License
|
||
|
// (C) Copyright 2017 Dan Ogorchock
|
||
|
//
|
||
|
// History
|
||
|
// 2017-02-04 Dan Ogorchock Created
|
||
|
//*******************************************************************************
|
||
|
#include <SmartThings.h>
|
||
|
|
||
|
namespace st
|
||
|
{
|
||
|
//*******************************************************************************
|
||
|
// SmartThings Constructor
|
||
|
//*******************************************************************************
|
||
|
SmartThings::SmartThings(SmartThingsCallout_t *callout, String shieldType, bool enableDebug, int transmitInterval) :
|
||
|
_calloutFunction(callout),
|
||
|
_shieldType(shieldType),
|
||
|
_isDebugEnabled(enableDebug),
|
||
|
m_nTransmitInterval(transmitInterval)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
//*****************************************************************************
|
||
|
//SmartThings::~SmartThings()
|
||
|
//*****************************************************************************
|
||
|
SmartThings::~SmartThings()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|