Exemplo n.º 1
0
        public CriAtomSource ApplySetting(CriAtomSource target)
        {
            switch (_levelMode)
            {
            case SendLevelMode.Override:
                target.SetBusSendLevel(_busSendTargetName, _busSendLevel);
                break;

            case SendLevelMode.Offset:
                target.SetBusSendLevelOffset(_busSendTargetName, _busSendLevel);
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }

            return(target);
        }