public ServiceLifetimeEvent( string sourceId, LifetimeStages eventStage, ServiceType type, string customMessage = "") : base(sourceId, type, customMessage) { this.lifeStage = eventStage; }
public SensorLifetimeEvent( string serviceId, LifetimeStages eventStage, string SensorName, string IpAddress, int ListeningPort, int LastReadIndex, string customMessage = "") : base(serviceId, eventStage, ServiceType.SensorReader, customMessage) { this.SensorName = SensorName; this.IpAddress = IpAddress; this.ListeningPort = ListeningPort; this.LastReadIndex = LastReadIndex; }