private bool IsEventNotifyAsEventType(MyCommon.EVENTTYPE type) { if (type == MyCommon.EVENTTYPE.None) return true; if (!this._cfgCommon.EventNotifyEnabled) return false; return this._cfgCommon.EventNotifyFlag.HasFlag(type); }