using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;
using RevitEstimate.Models;

namespace RevitEstimate.Calculators
{
    public class Item51Calculator : IItemCalculator
    {
        private ProjectLevels _levels;
        public Item51Calculator(ProjectLevels levels = null) => _levels = levels ?? new ProjectLevels();

        public List<EstimateRowModel> Calculate(List<Element> collector, out double totalQty)
        {
            totalQty = 0.0;
            var rows = new List<EstimateRowModel>();
            rows.Add(new EstimateRowModel
            {
                SNo = "",
                ItemOfWork = "   -> SS (Grade 304) Railing (Hollow tubes/channels)",
                NosOfFlats = "-",
                NosOfInstance = "-",
                Length = "-",
                Width = "-",
                HeightDepth = "-",
                Qty = "0.00",
                Unit = "Rm",
                Remarks = "As per drawing / layout."
            });
            return rows;
        }
    }
}