Ejemplo n.º 1
0
 public PulseHandler(IUnitOfWork dbCtx, IFindNodeQuery findNodeQuery, ITouchNode touchNode,
                     ITimeProvider timeProvider) : base(dbCtx)
 {
     _touchNode     = touchNode;
     _timeProvider  = timeProvider;
     _findNodeQuery = findNodeQuery;
 }
 public EnvironmentReportHandler(
     IUnitOfWork dbCtx,
     IFindNodeQuery findNodeQuery,
     ITouchNode touchNode,
     ITimeProvider timeProvider)
     : base(dbCtx)
 {
     _findNodeQuery = findNodeQuery;
     _touchNode     = touchNode;
     _timeProvider  = timeProvider;
 }
Ejemplo n.º 3
0
 public PushButtonPressedHandler(IUnitOfWork dbCtx, IFindNodeQuery findNodeQuery,
                                 IFindTriggersForPortQuery findTriggersForPortQuery, ITouchNode touchNode,
                                 ITimeProvider timeProvider, ICoreLogic coreLogic, IActionToCommandMapper actionToCommandMapper) : base(dbCtx)
 {
     _findNodeQuery            = findNodeQuery;
     _findTriggersForPortQuery = findTriggersForPortQuery;
     _touchNode             = touchNode;
     _timeProvider          = timeProvider;
     _coreLogic             = coreLogic;
     _actionToCommandMapper = actionToCommandMapper;
 }
Ejemplo n.º 4
0
 public NodeStartedHandler(
     IHelloHomeDbContext dbCtx,
     IFindNodeQuery findNodeQuery,
     ICreateNodeCommand createNodeCommand,
     ITouchNode touchNode,
     IRfIdGenerationStrategy rfIdGenerationStrategy,
     ITimeProvider timeProvider)
     : base(dbCtx)
 {
     _timeProvider           = timeProvider;
     _findNodeQuery          = findNodeQuery;
     _createNodeCommand      = createNodeCommand;
     _touchNode              = touchNode;
     _rfIdGenerationStrategy = rfIdGenerationStrategy;
 }
Ejemplo n.º 5
0
 public NodeStartedHandler(
     IUnitOfWork dbCtx,
     IFindNodeQuery findNodeQuery,
     ICreateNodeCommand createNodeCommand,
     ITouchNode touchNode,
     IRfAddressStrategy rfIdGenerationStrategy,
     INodeLogger nodeLogger,
     ITimeProvider timeProvider)
     : base(dbCtx)
 {
     _timeProvider           = timeProvider;
     _findNodeQuery          = findNodeQuery;
     _createNodeCommand      = createNodeCommand;
     _touchNode              = touchNode;
     _rfIdGenerationStrategy = rfIdGenerationStrategy;
     _nodeLogger             = nodeLogger;
 }
Ejemplo n.º 6
0
 public NodeInfoHandler(IHelloHomeDbContext dbCtx, IFindNodeQuery findNodeQuery, ITouchNode touchNode) : base(dbCtx)
 {
     _findNodeQuery = findNodeQuery;
     _touchNode     = touchNode;
 }
 public PulseHandler(IHelloHomeDbContext dbCtx, IFindNodeQuery findNodeQuery, ITouchNode touchNode) : base(dbCtx)
 {
     _touchNode     = touchNode;
     _findNodeQuery = findNodeQuery;
 }
 public ActionConfirmedHandler(IUnitOfWork dbCtx, ITouchNode touchNode, IFindPortQuery findPortQuery, ITimeProvider timeProvider) : base(dbCtx)
 {
     _touchNode     = touchNode;
     _findPortQuery = findPortQuery;
     _timeProvider  = timeProvider;
 }