123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include "GlobalVariable.h"
- /* ====================================================================
- * CompareItemInfo_t对比项结构体
- * ==================================================================== */
- CompareItemDetectParam_t& CompareItemDetectParam_t::operator=(const CompareItemDetectParam_t &other)
- {
- if(this == &other)
- {
- return *this;
- }
- isEnable = other.isEnable;
- threshold = other.threshold;
- nLen = other.nLen;
- nSensibility = other.nSensibility;
- return *this;
- }
- CompareItemInfo_t::CompareItemInfo_t(const CompareItemInfo_t &other)
- {
- *this = other;
- }
- CompareItemInfo_t& CompareItemInfo_t::operator=(const CompareItemInfo_t &other)
- {
- if(this == &other)
- {
- return *this;
- }
- nID = other.nID;
- strName = other.strName;
- isEnable = other.isEnable;
- listChannels = other.listChannels;
- muteParam = other.muteParam;
- overloadParam = other.overloadParam;
- phaseParam = other.phaseParam;
- return *this;
- }
|