/// <summary>
        /// Adds properties to a rest object
        /// </summary>
        /// <param name="_restobj">Empty Rest object</param>
        /// <param name="_meirest">MEI rest element</param>
        /// <returns>Rest object with properties</returns>
        public static Model.Rest ConvertRest(Model.Rest _restobj, mei.Rest _meirest)
        {
            _restobj.Duration = ConvertDuration(_meirest);
            _restobj.Num      = ConverterHelper.ConvertNumNumbase(_meirest.GetNumAttribute());
            _restobj.Numbase  = ConverterHelper.ConvertNumNumbase(_meirest.GetNumbaseAttribute());

            return(_restobj);
        }
 public void Cleanup()
 {
     meirest       = null;
     convertedRest = null;
 }
 public void Init()
 {
     meirest       = new mei.Rest();
     convertedRest = new Model.Rest();
 }