How aasmitate-lgtm/demo works
KRUSHEET is a browser-based prototype simulator for a solar-powered farm cold-storage system, with a 320×240 embedded-style display and hardware simulation. Users can select a crop and region, adjust ambient temperature, and operate the simulated controls; the app calculates cooling duty and updates the display. The interface also covers crop/climate, solar, setpoint and diagnostics screens, plus alarms and sound. The sampled excerpts show the single-file implementation and selected event handlers; detailed wiring for unsampled features is not assumed.
Main entry points: app.js UI Runtime · index.html Web Interface
Components 10
User Interface
- Web Interface
index.html - UI Runtime
app.js - Interface Styling
style.css - Status Screens
app.js
Cold-Chain Simulation
- Crop & Region Profiles
app.js - Climate Control
app.js
Alerts & Feedback
- Alarm Logic
app.js - Sound Feedback
app.js
Other components
- Operator
- Browser Audio
Connections 6
- Operator → Web Interface: operates
- UI Runtime → Crop & Region Profiles: applies selections
- UI Runtime → Climate Control: calculates duty
- UI Runtime → Status Screens: updates display
- UI Runtime → Sound Feedback: plays sounds
- Sound Feedback → Browser Audio: uses audio APIs