當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript tasks.selectActiveTasks函數代碼示例

本文整理匯總了TypeScript中app/reducers/tasks.selectActiveTasks函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript selectActiveTasks函數的具體用法?TypeScript selectActiveTasks怎麽用?TypeScript selectActiveTasks使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了selectActiveTasks函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。

示例1: constructor

 constructor(private store: Store<fromRoot.AppState>, private controlService: ControlService) {
   this.controls$ = this.store.select(fromControls.selectControlList);
   this.selectedControl$ = this.store.select(fromControls.selectActiveControl);
   this.selectedBinEstimator$ = this.store.select(fromControls.selectActiveBinEstimator);
   this.activeAlleleSets$ = this.store.select(fromControls.selectActiveAlleleSets);
   this.binEstimators$ = this.store.select(fromDB.selectBinEstimatorProjectList);
   this.activeTasks$ = this.store.select(fromTasks.selectActiveTasks());
   this.failedTasks$ = this.store.select(fromTasks.selectFailedTasks());
 }
開發者ID:Greenhouse-Lab,項目名稱:MicroSPAT,代碼行數:9,代碼來源:controls.ts

示例2: constructor

  constructor(private store: Store<fromRoot.AppState>, private sampleService: SampleService) {
    this.samples$ = this.store.select(fromDB.selectSampleList);
    this.plates$ = this.store.select(fromDB.selectPlateEntities);
    this.loci$ = this.store.select(fromDB.selectLocusEntities);

    this.selectedSample$ = this.store.select(fromSample.selectActiveSample);
    this.samplesLoading$ = this.store.select(fromSample.selectLoadingSamples);
    // this.selectedSampleChannels$ = this.store.select(fromSample.selectSampleChannels);
    this.selectedSampleChannels$ = this.store.select(fromSample.selectSampleChannelList)
    this.selectedChannelID$ = this.store.select(fromSample.selectActiveChannelID);
    this.selectedTrace$ = this.store.select(fromSample.selectActiveTrace);
    this.selectedDomain$ = this.store.select(fromSample.selectActiveDomain);
    this.selectedRange$ = this.store.select(fromSample.selectActiveRange);

    // this.channelLoading$ = this.store.select(fromSample.selectChannelsLoading);

    this.activeTasks$ = this.store.select(fromTasks.selectActiveTasks());

    this.activeUploadSamplesTasks$ = this.store.select(fromTasks.selectActiveTasks('sample', 'upload_samples'));
    this.failedUploadSamplesTasks$ = this.store.select(fromTasks.selectFailedTasks('sample', 'upload_samples'));
  }
開發者ID:Greenhouse-Lab,項目名稱:MicroSPAT,代碼行數:21,代碼來源:samples.ts

示例3: constructor

  constructor(
    private store: Store<fromRoot.AppState>,
    private keyboardService: KeyboardService,
    private plateService: PlateService,
    private wellService: WellService,
    private channelService: ChannelService,
    private ladderService: LadderService,
    private locusService: LocusService,
    private locusSetService: LocusSetService,
    private sampleService: SampleService,
    private controlService: ControlService,
    private projectChannelAnnotationsService: ProjectChannelAnnotationsService,
    private projectSampleAnnotationsService: ProjectSampleAnnotationsService,
    private sampleLocusAnnotationService: SampleLocusAnnotationService,

    private binEstimatorProjectService: BinEstimatorProjectService,
    private binEstimatorLocusParamsService: BinEstimatorLocusParamsService,
    private binService: BinService,
    private locusBinSetService: LocusBinSetService,

    private artifactEstimatorProjectService: ArtifactEstimatorProjectService,
    private artifactEstimatorLocusParamsService: ArtifactEstimatorLocusParamsService,
    private locusArtifactEstimatorService: LocusArtifactEstimatorService,
    private artifactEstimatorService: ArtifactEstimatorService,
    private artifactEquationService: ArtifactEquationService,

    private quantificationBiasEstimatorProjectService: QuantificationBiasEstimatorProjectService,
    private quantifiactiobBiasEstimatorLocusParamsSerice: QuantificationBiasEstimatorLocusParamsService,
    private controlSampleAssociationService: ControlSampleAssociationService,

    private genotypingProjectService: GenotypingProjectService,
    private genotypingLocusParamsService: GenotypingLocusParamsService,
    private genotypeService: GenotypeService
) {
    this.activeTasks$ = this.store.select(fromTasks.selectActiveTasks());
    this.genotypingProjectService.list();
    this.binEstimatorProjectService.list();
    this.artifactEstimatorProjectService.list();
    this.quantificationBiasEstimatorProjectService.list();
    this.plateService.list();
    this.ladderService.list();
    this.locusService.list();
    this.locusSetService.list();
    this.sampleService.list();
    this.controlService.list();
  }
開發者ID:Greenhouse-Lab,項目名稱:MicroSPAT,代碼行數:46,代碼來源:app.ts

示例4: constructor

  constructor(
    private store: Store<fromRoot.AppState>,
    private plateService: PlateService
  ) {
    this.store.dispatch(new plates.LoadingPlatesAction());
    this.plates$ = this.store.select(fromPlates.selectPlateList);
    this.newPlatesLoading$ = this.store.select(fromPlates.selectNewPlatesLoading);
    this.selectedPlate$ = this.store.select(fromPlates.selectActivePlate);
    this.plateLoading$ = this.store.select(fromPlates.selectPlateLoading);
    this.ladderRenderable$ = this.store.select(fromPlates.selectRenderableLadderInfo);
    this.channelRenderable$ = this.store.select(fromPlates.selectRenderableChannelInfo);
    this.activeWell$ = this.store.select(fromPlates.selectActiveWell);
    this.wellLoading$ = this.store.select(fromPlates.selectWellLoading);
    this.ladderData$ = this.store.select(fromPlates.selectLadderData);
    this.baseSizes$ = this.store.select(fromPlates.selectLadderBaseSizes);
    this.peakIndices$ = this.store.select(fromPlates.selectLadderPeakIndices);
    this.ladders$ = this.store.select(fromPlates.selectLadders);
    this.shiftDown$ = this.store.select(fromKeyboard.selectShiftDown);
    this.wellEntities$ = this.store.select(fromDB.selectWellEntities);
    this.activeChannelTraces$ = this.store.select(fromPlates.selectActiveChannelTraces);
    this.activeChannelsRange$ = this.store.select(fromPlates.selectActiveChannelRange);
    this.activePlateDiagnosticTraces$ = this.store.select(fromPlates.selectActivePlateDiagnosticTraces);
    this.activePlateDiagnosticDomain$ = this.store.select(fromPlates.selectActivePlateDiagnosticDomain);
    this.activePlateDiagnosticRange$ = this.store.select(fromPlates.selectActivePlateDiagnosticRange);
    this.activePlateDiagnosticLegend$ = this.store.select(fromPlates.selectActivePlateDiagnosticLegend);
    this.activeLoci$ = this.store.select(fromPlates.selectActiveChannelLociList);
    this.inactiveLoci$ = this.store.select(fromPlates.selectInactiveLoci);
    this.activeLocusDomain$ = this.store.select(fromPlates.selectActiveLocusDomain);
    this.selectedLocus$ = this.store.select(fromPlates.selectSelectedLocus);

    this.activeRecalculatePlateLadderTasks$ = this.store.select(fromTasks.selectActiveTasks('plate', 'recalculate_ladder'));
    this.failedRecalculatePlateLadderTasks$ = this.store.select(fromTasks.selectFailedTasks('plate', 'recalculate_ladder'));

    this.activeRecalculateWellLadderTasks$ = this.store.select(fromTasks.selectActiveTasks('well', 'recalculate_ladder'));
    this.failedRecalculateWellLadderTasks$ = this.store.select(fromTasks.selectFailedTasks('well', 'recalculate_ladder'));

    this.activeUploadPlatesTasks$ = this.store.select(fromTasks.selectActiveTasks('plate', 'upload_plate'));
    this.failedUploadPlatesTasks$ = this.store.select(fromTasks.selectFailedTasks('plate', 'upload_plate'));

    this.activeUploadPlateMapTasks$ = this.store.select(fromTasks.selectActiveTasks('plate', 'upload_plate_map'));
    this.failedUploadPlateMapTasks$ = this.store.select(fromTasks.selectFailedTasks('plate', 'upload_plate_map'));

    this.activeDeletePlateTasks$ = this.store.select(fromTasks.selectActiveTasks('plate', 'delete'));
    this.failedDeletePlateTasks$ = this.store.select(fromTasks.selectFailedTasks('plate', 'delete'));

    this.activeTasks$ = this.store.select(fromTasks.selectActiveTasks());
    this.createNonExistentSamples$ = this.store.select(fromPlates.selectCreateNonExistentSamples);
  }
開發者ID:Greenhouse-Lab,項目名稱:MicroSPAT,代碼行數:48,代碼來源:plates.ts


注:本文中的app/reducers/tasks.selectActiveTasks函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。