public SignalTriggerController(
            ITimecodeSettingUseCase timecodeSettingUseCase,
            ITimecodeDecodeUseCase timecodeDecodeUseCase,
            IEndPointSettingUseCase endPointSettingUseCase,
            ISendToEndpointUseCase sendToEndpointUseCase,
            ICommandSettingUseCase commandSettingUseCase,
            IOnAirSettingUseCase onAirSettingUseCase,
            ICommandTriggerUseCase commandTriggerUseCase,
            IGlobalFrameOffsetSettingUseCase globalFrameOffsetSettingUseCase,
            IObsWebsocketSettingUseCase obsSettingUseCase,
            IObsWebsocketCommunicationUseCase obsCommunucationUseCase,
            IOverlayUseCase overlayUseCase)
        {
            this.timecodeSettingUseCase          = timecodeSettingUseCase;
            this.globalFrameOffsetSettingUseCase = globalFrameOffsetSettingUseCase;

            this.endPointSettingUseCase = endPointSettingUseCase;
            this.sendToEndpointUseCase  = sendToEndpointUseCase;
            this.commandSettingUseCase  = commandSettingUseCase;
            this.onAirSettingUseCase    = onAirSettingUseCase;

            this.obsSettingUseCase       = obsSettingUseCase;
            this.obsCommunucationUseCase = obsCommunucationUseCase;

            this.overlayUseCase = overlayUseCase;

            timecodeDecodeUseCase.OnTimecodeUpdatedAsObservable.Subscribe(OnTimecodeUpdated).AddTo(disposable);

            commandTriggerUseCase.OnCommandTriggeredAsObservable.Subscribe(Send).AddTo(disposable);
        }
Beispiel #2
0
        public MidiOscConversionController(
            ISendToEndpointUseCase sendToEndpointUseCase,
            IEndPointSettingUseCase endPointSettingUseCase,
            IMidiCommunicationUseCase midiCommunicationUseCase,
            IMidiMappingSettingUseCase midiSettingUseCase)
        {
            this.endPointSettingUseCase = endPointSettingUseCase;
            this.sendToEndpointUseCase  = sendToEndpointUseCase;

            this.midiSettingUseCase = midiSettingUseCase;

            midiCommunicationUseCase.OnMidiAsObservable.Subscribe(OnMidiData).AddTo(disposable);
        }
 public EndpointSettingListController(IEndPointSettingUseCase endPointSettingUseCase)
 {
     this.endPointSettingUseCase = endPointSettingUseCase;
 }