public void init()
 {
     accessResult                = null;
     detectBarcode               = null;
     commandComplete             = null;
     changedActionState          = null;
     onAsReaderTriggerKeyEvent   = null;
     onAsReaderLeftModeKeyEvent  = null;
     onAsReaderRightModeKeyEvent = null;
     readerInitialized           = null;
     updateDeviceState           = null;
     readTag = null;
     onAsReaderGUNDisconnected = null;
 }
Exemplo n.º 2
0
        public DeviceActor(
            ILogger logger,
            Connect connectLogic,
            DeviceBootstrap deviceBootstrapLogic,
            UpdateDeviceState updateDeviceStateLogic,
            UpdateReportedProperties updateReportedPropertiesLogic,
            SendTelemetry sendTelemetryLogic,
            IRateLimiting rateLimiting,
            ITimer cancellationCheckTimer)
        {
            this.log          = logger;
            this.rateLimiting = rateLimiting;

            this.connectLogic                  = connectLogic;
            this.deviceBootstrapLogic          = deviceBootstrapLogic;
            this.updateDeviceStateLogic        = updateDeviceStateLogic;
            this.updateReportedPropertiesLogic = updateReportedPropertiesLogic;
            this.sendTelemetryLogic            = sendTelemetryLogic;

            this.cancellationCheckTimer = cancellationCheckTimer;
            this.cancellationCheckTimer.Setup(CancellationCheck, this);

            this.ActorStatus = Status.None;
        }