feat: wireview pin-imbalance gauge, fan duty moved to temperatures
This commit is contained in:
1 parent
d9f5e34c80
commit
dbb6856a6d
1 file changed
+13
-6
@@ -337,11 +337,11 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
|||||||
max={13}
|
max={13}
|
||||||
/>
|
/>
|
||||||
<GaugeCard
|
<GaugeCard
|
||||||
label="Fan Duty"
|
label="Pin Imbalance"
|
||||||
value={fmt.pct(sample.fan_duty_pct)}
|
value={`${sample.pin_imbalance_a.toFixed(2)} A`}
|
||||||
history={pluck(history, "fan_duty_pct")}
|
history={pluck(history, "pin_imbalance_a")}
|
||||||
color="#fb923c"
|
color="#fbbf24"
|
||||||
max={100}
|
max={4}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -369,7 +369,7 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
|||||||
<div className="text-xs text-zinc-500 uppercase tracking-wider font-semibold pb-3 border-b border-zinc-800">
|
<div className="text-xs text-zinc-500 uppercase tracking-wider font-semibold pb-3 border-b border-zinc-800">
|
||||||
Temperatures
|
Temperatures
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-3 mt-3">
|
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 mt-3">
|
||||||
<GaugeCard
|
<GaugeCard
|
||||||
label="Temp In"
|
label="Temp In"
|
||||||
value={fmt.celsius(sample.temp_in_c, 1)}
|
value={fmt.celsius(sample.temp_in_c, 1)}
|
||||||
@@ -398,6 +398,13 @@ export function WireViewPanel({ info, sample, history, flash }: Props) {
|
|||||||
color="#a78bfa"
|
color="#a78bfa"
|
||||||
max={90}
|
max={90}
|
||||||
/>
|
/>
|
||||||
|
<GaugeCard
|
||||||
|
label="Fan Duty"
|
||||||
|
value={fmt.pct(sample.fan_duty_pct)}
|
||||||
|
history={pluck(history, "fan_duty_pct")}
|
||||||
|
color="#fb923c"
|
||||||
|
max={100}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user