Пример #1
0
        public override BaseEvent Clone()
        {
            NewbieTlogTick newbieTlogTick = ClassObjPool <NewbieTlogTick> .Get();

            newbieTlogTick.CopyData(this);
            return(newbieTlogTick);
        }
Пример #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            NewbieTlogTick newbieTlogTick = src as NewbieTlogTick;

            this.iStepId     = newbieTlogTick.iStepId;
            this.bIsLastStep = newbieTlogTick.bIsLastStep;
        }