Exemplo n.º 1
0
        /// <summary>
        /// Constructor - Construct the event for a given event type and timespan
        /// </summary>
        /// <param name="type">EventType</param>
        /// <param name="timeSpan">TimeSpan</param>
        public Event(EventType type, TimeSpan timeSpan)
        {
            guid = Guid.NewGuid();

            EventType = type;

            TimeSpan = timeSpan;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor - Construct the event for a given event type
        /// </summary>
        /// <param name="type">EventType</param>
        public Event(EventType type)
        {
            guid = Guid.NewGuid();

            EventType = type;

            TimeSpan = new VS.TimeSpan(0, EventSimulator.SimulationTicks);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Constructor - Construct the event for a given event type
        /// </summary>
        /// <param name="type">EventType</param>
        public Event(EventType type)
        {
            guid = Guid.NewGuid();

            EventType = type;

            TimeSpan = new VS.TimeSpan(0, 3600);
        }
Exemplo n.º 4
0
        public Event(EventType type, TimeSpan timeSpan)
        {
            EventType = type;

            TimeSpan = TimeSpan;
        }
Exemplo n.º 5
0
        public Event() 
        {
            EventType = EventFactory.CreateEventType();

            TimeSpan = EventFactory.CreateTimeSpan();
        }