Example #1
0
        private DeviceEvent(IDevice device, IEventType type, IEventSource source)
        {
            Device = device;
            Type = type;
            Source = source;

            State = device.Copy();
            TimeStamp = DateTime.UtcNow;
        }