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); }
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); }