import React from 'react'; import { Activity, Play } from 'lucide-react'; export default function SensorInputForm({ sensors, channel, value, onChannelChange, onValueChange, pending, onQueue, onRun, running, }) { const handleQueue = (e) => { e.preventDefault(); if (!channel || value === '') return; onQueue(); }; const canRun = !running && (pending.length > 0 || (channel && value !== '')); const runLabel = pending.length > 0 ? `Run Simulation (${pending.length} queued)` : 'Run Simulation'; return (
A reading is pre-filled — just press Run Simulation to see the network react. Use Queue to stack several inputs before running.
{pending.length > 0 && (