Пример #1
0
        void IBMDSwitcherTransitionDVEParametersCallback.Notify(_BMDSwitcherTransitionDVEParametersEventType eventType)
        {
            this._switcherTransitionDVEParametersEventArgs = new SwitcherTransitionDVEParametersEventArgs();
            switch (eventType)
            {
            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeClipChanged:
                SwitcherTransitionDVEParametersEventTypeClipChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeEnableKeyChanged:
                SwitcherTransitionDVEParametersEventTypeEnableKeyChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeFlipFlopChanged:
                SwitcherTransitionDVEParametersEventTypeFlipFlopChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeGainChanged:
                SwitcherTransitionDVEParametersEventTypeGainChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInputCutChanged:
                SwitcherTransitionDVEParametersEventTypeInputCutChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInputFillChanged:
                SwitcherTransitionDVEParametersEventTypeInputFillChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInverseChanged:
                SwitcherTransitionDVEParametersEventTypeInverseChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeLogoRateChanged:
                SwitcherTransitionDVEParametersEventTypeLogoRateChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypePreMultipliedChanged:
                SwitcherTransitionDVEParametersEventTypePreMultipliedChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeRateChanged:
                SwitcherTransitionDVEParametersEventTypeRateChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeReverseChanged:
                SwitcherTransitionDVEParametersEventTypeReverseChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;

            case _BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeStyleChanged:
                SwitcherTransitionDVEParametersEventTypeStyleChanged?.Invoke(this, this._switcherTransitionDVEParametersEventArgs);
                break;
            }
        }
Пример #2
0
        void IBMDSwitcherTransitionDVEParametersCallback.Notify(_BMDSwitcherTransitionDVEParametersEventType EventType)
        {
            switch (EventType)
            {
                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeClipChanged):
                    if (ClipChanged != null)
                        ClipChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeEnableKeyChanged):
                    if (EnableKeyChanged != null)
                        EnableKeyChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeFlipFlopChanged):
                    if (FlipFlopChanged != null)
                        FlipFlopChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeGainChanged):
                    if (GainChanged != null)
                        GainChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInputCutChanged):
                    if (InputCutChanged != null)
                        InputCutChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInputFillChanged):
                    if (InputFillChanged != null)
                        InputFillChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeInverseChanged):
                    if (InverseChanged != null)
                        InverseChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeLogoRateChanged):
                    if (LogoRateChanged != null)
                        LogoRateChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypePreMultipliedChanged):
                    if (PreMultipliedChanged != null)
                        PreMultipliedChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeRateChanged):
                    if (RateChanged != null)
                        RateChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeReverseChanged):
                    if (ReverseChanged != null)
                        ReverseChanged(this, null);
                    break;

                case (_BMDSwitcherTransitionDVEParametersEventType.bmdSwitcherTransitionDVEParametersEventTypeStyleChanged):
                    if (StyleChanged != null)
                        StyleChanged(this, null);
                    break;
            }
        }