Skip to content

Commit 7cdee83

Browse files
Note that dew point is calculated
1 parent a3ce85f commit 7cdee83

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

ASCOM.Alpaca.Simulators/Pages/ObservingConditionsControl.razor

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,22 @@
5050
}
5151

5252
<th>@dev.Value.Unit</th>
53-
<th><input type="checkbox" @bind="@dev.Value.Override"></th>
54-
<th><input type="range" min="@dev.Value.SimFromValue" max="@dev.Value.SimToValue" step=".1" @bind="@dev.Value.OverrideValue" style="min-width:30ch"></th>
53+
<th>
54+
@if (dev.Key != "DewPoint")
55+
{
56+
<input type="checkbox" @bind="@dev.Value.Override">
57+
}
58+
</th>
59+
@if (dev.Key == "DewPoint")
60+
{
61+
<th>Calculated from Temp. & Humidity</th>
62+
}
63+
else
64+
{
65+
<th>
66+
<input type="range" min="@dev.Value.SimFromValue" max="@dev.Value.SimToValue" step=".1" @bind="@dev.Value.OverrideValue" style="min-width:30ch">
67+
</th>
68+
}
5569
}
5670
else
5771
{

0 commit comments

Comments
 (0)