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

namespace RevitEstimate.Calculators
{
    public class Item30Calculator : IItemCalculator
    {
        private ProjectLevels _levels;

        public Item30Calculator(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>();

            // Item 30 specification as requested: "As per drawing"
            rows.Add(new EstimateRowModel
            {
                SNo = "",
                ItemOfWork = "   -> 62 mm thick cement concrete flooring with hardener topping (At Apron)",
                NosOfFlats = "-",
                NosOfInstance = "-",
                Length = "-",
                Width = "-",
                HeightDepth = "-",
                Qty = "0.00",
                Unit = "Sqm",
                Remarks = "As per drawing" // <-- Aapki requirement ke anusaar
            });

            return rows;
        }
    }
}