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(); } }
void CDataPush::DoWork(const unsigned long long DeviceRowIdxIn) { DeviceRowIdx = DeviceRowIdxIn; int fActive; if (m_sql.GetPreferencesVar("FibaroActive", fActive) && fActive==1) { DoFibaroPush(); } }