Estimate Pro 2.0

A Windows desktop application built for Krishi Vigyan Kendra Dhalai, Salema, Tripura - enter a pond or reservoir's dimensions and a few options, and get a complete, saved, print-ready estimate based on the PWD SOR-2011 schedule of rates.

Developer
Guide Mr. Subrata Shib, Programme Coordinator, KVK Dhalai

The Problem

Estimating a watershed structure such as a farm pond is a series of steps, and a change to the design or a small adjustment to the estimate means going back through every one of them before a final figure is reached. The reports this application produces are headed for Integrated Watershed Management Programme (IWMP) Dhalai works, where each revision would otherwise mean repeating that whole chain by hand.

Core ask: Generate a standard pond or reservoir estimate from the length, breadth and depth plus a few guided options - based on the PWD SOR-2011 schedule of rates - and let a change be re-run in moments, with every estimate saved for later use.

Estimate Pro v2.0 was one of three applications I built for KVK Dhalai during my third year MCA internship (Internship Program II, CA660) at ICFAI University, Tripura, from January to June 2014, under the guidance of Mr. Subrata Shib (Programme Coordinator, KVK Dhalai). The other two are Cash Book Pro and Stock Book Pro.


Technology

Visual Studio 2008 / 2010VB.NETWinFormsMS SQL ServerMicrosoft Reporting (RDLC).NET Framework 3.5

Built as a Windows Forms desktop application in VB.NET, with a local SQL Server Express database attached from the application folder. The estimate reports are Microsoft Reporting (RDLC) definitions - one for ponds, one for reservoirs - fed from the saved estimate records. Amounts are calculated from the PWD SOR-2011 schedule of rates held in the database, which can be added to, modified and deleted from inside the application.


What It Does

Pond & Reservoir Estimates

Start a new estimate from the New menu. A guided series of forms collects the parameters, the schedule rates, the quantities and the work details.

Optional Works

A pond estimate can include a bund, side drain, turfing and jungle cutting, each with its own parameters and calculated volume or area.

Built-in Calculators

A slope calculator and an earth work calculator are one right-click away, so a figure can be checked without leaving the form.

Schedule of Rates

Rates are managed from a tabbed form - New, Modify, Modify to new and Delete - so a revised schedule never needs a code change.

Saved & Reusable

Every estimate is saved. Previous pond and reservoir estimates can be reopened, regenerated or, when entered in error, deleted.

Standard Report

The report carries beneficiary and official details, the pond measurements as a cross-section and plan, and the rates, quantities and totals.

Pond parameters form with bund, side drain, turfing and cutting
Pond parameters - pond, bund, drainage, turfing and cutting inputs with live calculated volumes

From Dimensions to Report

A new estimate runs through four steps. The pond or reservoir parameters come first - length, breadth, depth and slope, plus the optional bund, side drain, turfing and cutting. Next the necessary schedule rates are selected. Then quantities, contingency and display board cost are confirmed, and finally the beneficiary, location and official work details are entered before the report is generated.

1 · Parameters

2 · Schedule rates & quantities


Calculators & Rate Management

The right-click menu offers a slope calculator - the angle from the vertical and horizontal measures - and an earth work calculator that takes length, breadth, depth and slope, works out the bottom dimensions and the volume of the excavated frustum, and multiplies by the excavation rate. Schedule rates are kept current from the Rate form.


Viewing Saved Estimates

The View form lists saved estimates by type and reference number. From there an estimate can be opened as a report or deleted when it was entered in error.

View previous estimate dialog
View previous estimate - choose estimate type and reference number

System Design

Design artefacts include Data Flow Diagrams at three levels - Level 0 (context), Level 1 (eight processes across pond and reservoir entry, rate management, viewing old estimates and report generation) and Level 2 (the detail of each) - along with an Entity-Relationship diagram and a Use Case diagram.

Data Flow Diagrams

DFD Level 0 - context diagram
DFD Level 0 - Context: the user enters details and gets the pond and reservoir estimate
DFD Level 1 - functional decomposition
DFD Level 1 - entry, rate management, view and report generation across the estimate tables
DFD Level 2.1 - pond estimate entry
DFD Level 2.1 - Pond: parameters, rate selection, quantities, estimate details
DFD Level 2.2 - reservoir estimate entry
DFD Level 2.2 - Reservoir: parameters, rate selection, quantities, estimate details
DFD Level 2.3 - rate management
DFD Level 2.3 - Rates: insert, update, create from old, delete
DFD Level 2.4 - view old estimates
DFD Level 2.4 - View: select reference, delete reference, generate report

Use Case & Entity-Relationship

Use case diagram - Estimate Pro v2.0
Use Case Diagram - New, View, Rate, About, Earth Work Calculator and Slope Calculator
E-R diagram - Estimate Pro v2.0
E-R Diagram - pond, reservoir, rate and report entities

Database Schema

Five tables carry the data model: one record per pond estimate, one per reservoir estimate, the schedule-of-rates master, the rates selected for an estimate, and a staging table for the printed report. Column groups are taken from the repository's report datasets, queries and ER diagram.

Estimate_pond - one row per pond estimate
Column groupExamplesDescription
ReferencerefNo, dateEst, finYearEstimate reference number (unique) and dates
Work detailsnameWork, nameBen, locationWork, durWorkName of work, beneficiary, location and duration
OfficialsnameIO, nameSO, nameEEImplementing officer, supervising officer, estimator
Optionsbund, sideDrain, turf, cuttingWhich optional works are included
Pond geometrylength_pp, breadth_pp, depth_pp, slope_pp, volume_pp, bottomLength_ppPond dimensions and computed volume (suffix _pp)
Bund / drain / turfing / cutting*_bp, *_dp, *_tp, *_cpParameters and volumes or areas per optional work
Selected ratesrefno1 - refno5, qty1 - qty5, totRateRefUp to five schedule rates and their quantities
CostingestCost, dispCost, contRate, contCost, totEstCostEstimate cost, display board, contingency and total
Estimate_reservoir - one row per reservoir estimate
Column groupExamplesDescription
Reference & detailsrefNo, dateEst, nameWork, nameBen, locationWork, finYearSame descriptive fields as a pond estimate
OfficialsnameIO, nameSO, nameEE, durWorkImplementing, supervising and estimating officers; duration
Geometrytb, bb, tl, bl, dp, slope, vol, unitTop / bottom breadth and length, depth, slope, volume
Selected ratesrefno1 - refno5, qty1 - qty5, totRateRefUp to five schedule rates and their quantities
CostingestCost, dispCost, contRate, contCost, totEstCostEstimate cost, display board, contingency and total
Estimate_RateData - schedule of rates master
ColumnTypeDescription
refDataNoidRate reference number
typeWorktextType of work (earth work, concrete work and others)
descActivitytextActivity description
unittextUnit of measure
ratedecimalRate per unit
Estimate_reservoirRate - rates selected for an estimate
ColumnTypeDescription
refNoEsttextEstimate reference the rates belong to
ref1des - ref5destextDescription of each selected rate
ref1unit - ref5unittextUnit of each selected rate
ref1rate - ref5ratedecimalRate of each selected item
ref1amt - ref5amtdecimalAmount of each selected item
EstDetails_Report - report staging rows
ColumnTypeDescription
itemNodecimalItem number in the estimate
descActtextActivity description
unittextUnit of measure
rate / quantity / amountdecimalRate, quantity and amount for the item

The Generated Estimate

A pond estimate report runs to five pages and a reservoir estimate to three. The first page carries the programme, work, beneficiary, location, financial year, total cost, the officers involved and the duration. The measurements follow as dimensions and calculations, then a cross-section and plan of the pond. The estimate details close the report: each selected rate with its quantity and amount, then estimate cost, display board, contingency and total estimated cost, with space for Prepared By and Approved By.

Pond estimate

Reservoir estimate


Design Decisions & Limitations

Design Decisions

  • Rates live in the database, not in code - a revised schedule is a data change
  • Every estimate is saved with its reference number, so a revision never starts from scratch
  • One guided series of forms for ponds and another for reservoirs, sharing the same rate machinery
  • Calculators available from the right-click menu while entering parameters
  • Reports built from saved records, so a regenerated report always matches the stored estimate

Known Limitations

  • Windows desktop application on a single machine with a local SQL Server Express database
  • Pond and reservoir structures only
  • Up to five schedule rates per estimate, as reflected in the schema
  • No user login - the application has no separate user accounts

Code

The full source code - VB.NET forms, report definitions, database files and design diagrams - is available on GitHub.

← All Projects SUBHAJITDEBNATH.COM Get in touch →