Пример #1
0
 public ReplayFileController(
     IReplayFileService replayFileService,
     ILogger logger)
 {
     this.replayFileService = replayFileService;
     this.log = logger;
 }
        public DeviceReplayActor(
            ILogger logger,
            IActorsLogger actorLogger,
            IServicesConfig config,
            IEngines engines,
            IInstance instance)
        {
            this.log         = logger;
            this.actorLogger = actorLogger;
            this.instance    = instance;

            this.status            = ActorStatus.None;
            this.deviceModel       = null;
            this.currentLine       = "";
            this.whenToRun         = 0;
            this.prevInterval      = 0;
            this.emptySchema       = new DeviceModelMessageSchema();
            this.replayFileService = new ReplayFileService(config, engines, logger);
        }