type alias DayNightThreshold

The day/night switch point in <DayNightThreshold>.

Properties

optional
channelId: number

Zero-based channel, 0 to 63.

optional
threshold: "default" | "custom"

default uses the built-in threshold; custom uses thresholdval.

optional
stat: "day" | "night"

The current mode.

The custom threshold and its range.

Usage

import { type DayNightThreshold } from "protocol/params/mod.ts";