private bool ShouldReconfigureAssembler(IFpgaAssemblerConfig config) { var oldReceiverConfig = _config as IFpgaAssemblerConfig; return(config.OutputTarget != oldReceiverConfig.OutputTarget || config.SamplesPerPacket != oldReceiverConfig.SamplesPerPacket || Enumerable.SequenceEqual(config.ChannelList, oldReceiverConfig.ChannelList)); }
private IActorRef CreateAssemblerChild(IFpgaAssemblerConfig config) { return(Context.ActorOf(FpgaSampleAssemblerActor.GetProps(config.ChannelList, config.SamplesPerPacket, config.OutputTarget))); }