Exemplo n.º 1
0
        IRealtime StartRealtime()
        {
            IAsynchronousCalculation animation =
                collection.StartAnimation(new string[] { StaticExtensionEventInterfaces.Realtime,
                                                         AnimationType.GetReason() }, AnimationType, new TimeSpan(0), 1, true, isAbsoluteTime);

            if (animation != null)
            {
                StaticExtensionEventPortable.OnceStop(animation.Interrupt);
            }
            return(StaticExtensionEventPortable.StartRealtime(collection, timeUnit, isAbsoluteTime, animation,
                                                              dataConsumer, StaticExtensionEventInterfaces.NewLog,
                                                              StaticExtensionEventInterfaces.Realtime));
        }