123456789101112131415161718192021222324252627282930 |
- #include "SystemConfigStruct.h"
- /* =============================================================================
- * 基础配置结构体
- * ============================================================================= */
- bool BaseConfig_t::operator==(const BaseConfig_t &other) const
- {
- if(&other == this)
- {
- return true; // 自身比较
- }
- if(strServerIP == other.strServerIP &&
- nRecordMode == other.nRecordMode &&
- strDriverName == other.strDriverName &&
- nNotConsistency == other.nNotConsistency &&
- isEnableMultiCore == other.isEnableMultiCore &&
- isEnableDebugLog == other.isEnableDebugLog &&
- isClearDirSystemOn == other.isClearDirSystemOn &&
- isUsingSoundCardName == other.isUsingSoundCardName)
- {
- return true;
- }
- return true;
- }
|