Ejemplo n.º 1
0
void CDataPush::OnDeviceReceived(const int m_HwdID, const unsigned long long DeviceRowIdx, const std::string &DeviceName, const unsigned char *pRXCommand)
{
	m_DeviceRowIdx = DeviceRowIdx;
	if (m_bLinkActive)
	{
		DoFibaroPush();
	}
}
Ejemplo n.º 2
0
void CDataPush::DoWork(const unsigned long long DeviceRowIdxIn)
{
	DeviceRowIdx = DeviceRowIdxIn;
	int fActive;
	if (m_sql.GetPreferencesVar("FibaroActive", fActive) && fActive==1) {
		DoFibaroPush();
	}
}