/// <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; }
/// <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); }
/// <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); }
public Event(EventType type, TimeSpan timeSpan) { EventType = type; TimeSpan = TimeSpan; }
public Event() { EventType = EventFactory.CreateEventType(); TimeSpan = EventFactory.CreateTimeSpan(); }