You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
924 B

#include "hardwareResourceDryContactProvider.h"
#define LOG(X) hardwareResource::m_pLog->Log("HWR_DRYC", this, X)
#ifdef DEBUG
#define LOG_ERROR(X) \
{ \
char _tBfrErrMSG2w34[256]; \
sprintf(_tBfrErrMSG2w34, "In file %s[%d] in func:%s %s", __FILE__, __LINE__, __func__, X); \
hardwareResource::m_pLog->Log("HWR_DRYC", this, _LOG_ERROR, _tBfrErrMSG2w34); \
}
#else
#define LOG_ERROR(X) hardwareResource::m_pLog->Log("HWR_DRYC", this, _LOG_ERROR, X);
#endif
hardwareResourceUSBDCB::hardwareResourceUSBDCB(uint32_t id) :
hardwareResource(id, HARDWARE_PROVIDER_DRY_CONTACT)
{
}
hardwareResourceUSBDCB::~hardwareResourceUSBDCB() {}
#undef LOG
#undef LOG_ERROR