Assets screen is added

This commit is contained in:
2026-08-05 18:54:26 +05:30
parent dcb70de432
commit da78de19c5
8 changed files with 336 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
import { Asset } from "../types/type";
import { COLORS } from "./color";
export const actions = [
@@ -54,4 +55,57 @@ export const cards = [
color: "#47C3FF",
icon: "pulse-outline",
},
];
export const SAMPLE_ASSETS: Asset[] = [
{
id: '1',
name: 'AHU-01',
location: 'Floor 3 · East Wing',
status: 'RUNNING',
statusColor: COLORS.green,
metrics: '18.2 °C · 12.3 kW',
health: 94,
},
{
id: '2',
name: 'CH-02',
type: 'Chiller',
location: 'Plant Room B1',
status: 'FAULT',
statusColor: COLORS.red,
metrics: '21.4 bar · tripped',
health: 41,
},
{
id: '3',
name: 'P-07',
type: 'CHW Pump',
location: 'Plant Room B1',
status: 'ATTENTION',
statusColor: COLORS.orange,
metrics: '52 Hz · vibration ↑',
health: 68,
},
{
id: '4',
name: 'DG-01',
type: 'Genset',
location: 'Basement Yard',
status: 'STANDBY',
statusColor: COLORS.green,
metrics: 'fuel 82% · battery OK',
health: 91,
},
{
id: '5',
name: 'LP-03',
type: 'LT Panel',
location: 'Ground . Utility',
status: 'RUNNING',
statusColor: COLORS.green,
metrics: '412 V · PF 0.97',
health: 96,
},
];