import { Package, AlertTriangle, Activity, FileText, LayoutGrid, Plus } from "lucide-react"; import Button from "@/components/common/button"; import StatCard from "@/components/common/dashStatCard"; export default function EnergyPortal() { const metersList = [ { meter: "MTR-1", name: "Electricity main 1", location: "Pump room", type: "Electricity", mf: "1", }, { meter: "MTR-2", name: "Water main 2", location: "Main LT panel", type: "Water", mf: "10", }, { meter: "MTR-3", name: "Diesel main 3", location: "DG room", type: "Diesel", mf: "100", }, { meter: "MTR-4", name: "Electricity main 4", location: "Block riser", type: "Electricity", mf: "1", }, { meter: "MTR-5", name: "Water main 5", location: "DG room", type: "Water", mf: "1", }, ]; const latestReadings = [ { meter: "MTR-1", prev: "40.00", current: "58.00", cons: "18.0", uom: "kWh", }, { meter: "MTR-2", prev: "49.00", current: "69.00", cons: "200.0", uom: "kL", }, { meter: "MTR-3", prev: "58.00", current: "80.00", cons: "2200.0", uom: "L", }, { meter: "MTR-4", prev: "67.00", current: "91.00", cons: "24.0", uom: "kWh", }, { meter: "MTR-5", prev: "76.00", current: "102.00", cons: "26.0", uom: "kL", }, ]; return (
Meter master with QR identification and reading capture. Consumption is reading × multiplication factor.
| Meter | Name | Location | Type | MF | |
|---|---|---|---|---|---|
| {row.meter} | {row.name} | {row.location} | {row.type} | {row.mf} |
|
| Meter | Prev | Current | Cons. | UOM |
|---|---|---|---|---|
| {row.meter} | {row.prev} | {row.current} | {row.cons} | {row.uom} |