public override BaseEvent Clone()
        {
            GetSubObjectDuration getSubObjectDuration = ClassObjPool <GetSubObjectDuration> .Get();

            getSubObjectDuration.CopyData(this);
            return(getSubObjectDuration);
        }
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            GetSubObjectDuration getSubObjectDuration = src as GetSubObjectDuration;

            this.targetId      = getSubObjectDuration.targetId;
            this.parentId      = getSubObjectDuration.parentId;
            this.isGetByName   = getSubObjectDuration.isGetByName;
            this.subObjectName = getSubObjectDuration.subObjectName;
        }