YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcSettings Class Reference

The settings of a zone the device lets us change, built only from what the device reports: a function missing from the zone's func_list, an empty option list or a missing range gives no item. More...

Collaboration diagram for de.yaacc.yxc.YxcSettings:
Collaboration graph

Classes

enum  Id
 
class  Item
 One setting with its current value.
 
enum  Kind
 
class  Option
 One choice: the word the device uses and the label to show.
 

Static Public Member Functions

static List< Integer > sleepMinutes ()
 
static List< Item > build (YxcZoneFeatures features, YxcZoneStatus status, YxcNameText names)
 
static List< Item > build (YxcZoneFeatures features, YxcZoneStatus status, YxcNameText names, YxcFeatures system, YxcFuncStatus funcStatus)
 Same with the device-level settings: system (the functions and the dimmer range of getFeatures) and funcStatus (system/getFuncStatus); either may be null, then there are none.
 
static Item find (List< Item > items, Id id)
 

Detailed Description

The settings of a zone the device lets us change, built only from what the device reports: a function missing from the zone's func_list, an empty option list or a missing range gives no item.

Pure; the sheet shows the items and YxcSettingsWriter applies a change.

Member Function Documentation

◆ build()

static List< Item > de.yaacc.yxc.YxcSettings.build ( YxcZoneFeatures features,
YxcZoneStatus status,
YxcNameText names )
static
Parameters
featuresthe zone's features (getFeatures)
statusthe zone's status now
namesthe device's own names, YxcNameText#empty() when it gave none
Returns
the items, in the order the sheet shows them

Referenced by de.yaacc.yxc.YxcSettings.build().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find()

static Item de.yaacc.yxc.YxcSettings.find ( List< Item > items,
Id id )
static

◆ sleepMinutes()

static List< Integer > de.yaacc.yxc.YxcSettings.sleepMinutes ( )
static
Returns
the sleep timer values in minutes, 0 is off

The documentation for this class was generated from the following file: