Skip to content

Commit

Permalink
Add missing params in Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rem0o committed Nov 9, 2023
1 parent 2fb7b21 commit 7d5f1ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reactComponents/docs/docSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ export type DocSection = {
export const parameters = {
hysteresis: "Minimum temperature difference for a change to occur.",
responseTime: "Minimum time for a change to occur.",
onThewayDown:
"Hysteresis and response time parameters will only apply if the temperature is dropping, not increasing.",
ignoreHysteresis:
"Hysteresis and response time parameters will be ignored as soon at the minimum or maximum temperature point set by the fan curve is hit. Hysteresis will apply when re-entering the set temperature range.",
tempSource: "Source to use as input.",
functions: "Choose between Max, Min, Average, Sum, Subtract."
};
Expand Down
4 changes: 4 additions & 0 deletions src/reactComponents/docs/fanCurves.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const linear: DocSection = {
<li>Temperature source: {parameters.tempSource}</li>
<li>Hysteresis: {parameters.hysteresis}</li>
<li>Response time: {parameters.responseTime}</li>
<li>Hysteresis only applies on the way down: {parameters.onThewayDown}</li>
<li>Ignore hysteresis at minimum and maximum temps: {parameters.ignoreHysteresis}</li>
</ul>
</ParametersCard>
</>
Expand Down Expand Up @@ -111,6 +113,8 @@ const graph: DocSection = {
<li>Temperature source: {parameters.tempSource}</li>
<li>Hysteresis: {parameters.hysteresis}</li>
<li>Response time: {parameters.responseTime}</li>
<li>Hysteresis only applies on the way down: {parameters.onThewayDown}</li>
<li>Ignore hysteresis at minimum and maximum temps: {parameters.ignoreHysteresis}</li>
</ul>
</ParametersCard>
</>
Expand Down

0 comments on commit 7d5f1ee

Please sign in to comment.