How qwertypoiuy9/sih_249-devin works
AirPower is a simulated predictive-maintenance and fleet-availability application. A duty controller starts at the fleet overview, then drills into an aircraft twin or a fault alert; maintenance actions can create work orders and spare indents, while data and command users review integration health and analytics. The graph reflects documented navigation, imports, and README-described actions. Data is simulated, and unsampled page implementations are represented only where the README documents their capabilities.
Main entry points: App.tsx App navigation · ops.ts Ops and records · fleet.ts Aircraft records · predictions.ts Fault predictions
Components 21
Fleet experience
- App navigation
src/App.tsx - Fleet overview
src/pages/Overview.tsx - Aircraft inventory
src/pages/Fleet.tsx - Digital twin
src/pages/Twin.tsx - Predictive faults
src/pages/Predictions.tsx - Maintenance analytics
src/pages/Analytics.tsx
Maintenance operations
- Work control
src/pages/Maintenance.tsx - Spares and stores
src/pages/Spares.tsx - Data integration
src/pages/DataHub.tsx
Fleet data
- Aircraft records
src/data/fleet.ts - Fault predictions
src/data/predictions.ts - Ops and records
src/data/ops.ts - Telemetry samples
src/data/telemetry.ts - Fleet metrics
src/lib/metrics.ts
Shared runtime
- Online detector
src/lib/detector.ts - Shared state
src/lib/platform.tsx - Seeded generator
src/lib/rng.ts - SVG charts
src/components/charts.tsx - UI components
src/components/ui.tsx
Other components
- Fleet user
- Browser localStorage
Connections 48
- Fleet user → App navigation: opens
README.md - App navigation → Shared state: provides state
src/App.tsx - App navigation → Fleet overview: routes to
src/App.tsx - App navigation → Aircraft inventory: routes to
src/App.tsx - App navigation → Digital twin: routes to
src/App.tsx - App navigation → Predictive faults: routes to
src/App.tsx - App navigation → Work control: routes to
src/App.tsx - App navigation → Spares and stores: routes to
src/App.tsx - App navigation → Data integration: routes to
src/App.tsx - App navigation → Maintenance analytics: routes to
src/App.tsx - Fleet overview → Aircraft records: reads
src/pages/Overview.tsx - Fleet overview → Fault predictions: reads
src/pages/Overview.tsx - Fleet overview → Ops and records: reads
src/pages/Overview.tsx - Fleet overview → Fleet metrics: reads
src/pages/Overview.tsx - Aircraft inventory → Aircraft records: reads
src/pages/Fleet.tsx - Aircraft inventory → Fault predictions: reads
src/pages/Fleet.tsx - Aircraft inventory → Ops and records: reads
src/pages/Fleet.tsx - Digital twin → Aircraft records: reads
src/pages/Twin.tsx - Digital twin → Fault predictions: reads
src/pages/Twin.tsx - Digital twin → Ops and records: reads
src/pages/Twin.tsx - Digital twin → Telemetry samples: reads and ticks
src/pages/Twin.tsx - Digital twin → Online detector: scores samples
README.md - Predictive faults → Fault predictions: reads
src/pages/Predictions.tsx - Predictive faults → Ops and records: reads
src/pages/Predictions.tsx - Predictive faults → Fleet metrics: reads
src/pages/Predictions.tsx - Predictive faults → Shared state: records actions
README.md - Work control → Ops and records: reads
src/pages/Maintenance.tsx - Work control → Shared state: reads shared state
src/pages/Maintenance.tsx - Spares and stores → Ops and records: reads
src/pages/Spares.tsx - Spares and stores → Shared state: reads shared state
src/pages/Spares.tsx - Data integration → Ops and records: reads
src/pages/DataHub.tsx - Data integration → Aircraft records: reads
src/pages/DataHub.tsx - Data integration → Online detector: scores uploads
src/pages/DataHub.tsx - Data integration → Shared state: logs events
src/pages/DataHub.tsx - Maintenance analytics → Ops and records: reads
src/pages/Analytics.tsx - Maintenance analytics → Aircraft records: reads
src/pages/Analytics.tsx - Maintenance analytics → Fleet metrics: reads
src/pages/Analytics.tsx - Fleet metrics → Aircraft records: derives metrics
src/lib/metrics.ts - Fleet metrics → Fault predictions: derives metrics
src/lib/metrics.ts - Fleet metrics → Ops and records: derives metrics
src/lib/metrics.ts - Ops and records → Aircraft records: builds work orders
src/data/ops.ts - Ops and records → Fault predictions: seeds work orders
src/data/ops.ts - Aircraft records → Seeded generator: generates records
src/data/fleet.ts - Fault predictions → Aircraft records: builds per aircraft
src/data/predictions.ts - Fault predictions → Seeded generator: generates estimates
src/data/predictions.ts - Shared state → Browser localStorage: persists state
src/lib/platform.tsx - Fleet overview → SVG charts: renders charts
src/pages/Overview.tsx - Fleet overview → UI components: renders controls
src/pages/Overview.tsx