/*-------------------------------------------------------------------------
 * 功能描述：RevitToJBimParser
 * 作者：xulisong
 * 创建时间： 2019/6/17 17:24:29
 * 版本号：v1.0
 *  -------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JBIM;
using RevitExport;

namespace RevitToJBim
{
    public class RevitToJBimParser: ParseInstance<JBimParseContext, BimId>
    {
        public RevitToJBimParser(JBimParseContext context, List<IParseElement<JBimParseContext, BimId>> parsers):base(context,parsers)
        {
           
        }
        public override List<BimId> ParseElement(ElementWrapper elementWrapper, JBimParseContext context)
        {
            //BimId result = context.GetBimId(elementWrapper.RefElement.Id.ToString());
            //if (result != null)
            //{
            //    return new List<BimId>() {result};
            //}
            return ParseElement(elementWrapper,context);
        }
    }
}
