#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; listRoads = other.listRoads; paramMute = other.paramMute; paramOverload = other.paramOverload; paramPhase = other.paramPhase; return *this; }