예제 #1
0
        public ServiceLifetimeEvent(
            string sourceId,
            LifetimeStages eventStage,
            ServiceType type,
            string customMessage = "")

            : base(sourceId, type, customMessage)
        {
            this.lifeStage = eventStage;
        }
예제 #2
0
        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;
        }