예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="combiBank"></param>
        /// <param name="index"></param>
        public Zero3RwCombi(ICombiBank combiBank, int index)
            : base(combiBank, index)
        {
            if (combiBank.Type == BankType.EType.Int)
            {
                Id = $"{combiBank.Id}{(index).ToString("00")}";
            }
            else
            {
                throw new NotSupportedException("Unsupported bank type");
            }

            Timbres = new Zero3RwTimbres(this);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="combiBank"></param>
 /// <param name="index"></param>
 public M3RCombi(ICombiBank combiBank, int index)
     : base(combiBank, index)
 {
     Id      = $"{combiBank.Id}{(index).ToString("00")}";
     Timbres = new M3RTimbres(this);
 }