three.MF.V3.Descriptors.Settings.Projector

 1class Projector:
 2
 3    """
 4     Projector settings descriptor.
 5    """
 6    class Brightness:
 7
 8        """
 9         Projector brightness.
10        """
11        def __init__(self, value: float, default: float, min: float, max: float):
12            self.value = value
13            self.default = default
14            self.min = min
15            self.max = max
16
17    class On:
18
19        """
20         Projector on/off.
21        """
22        def __init__(self, value: bool, default: bool):
23            self.value = value
24            self.default = default
25
26    def __init__(self, brightness: 'Brightness', on: 'On'):
27        # Projector brightness.
28        self.brightness = brightness
29        # Projector on/off.
30        self.on = on
class Projector:
 2class Projector:
 3
 4    """
 5     Projector settings descriptor.
 6    """
 7    class Brightness:
 8
 9        """
10         Projector brightness.
11        """
12        def __init__(self, value: float, default: float, min: float, max: float):
13            self.value = value
14            self.default = default
15            self.min = min
16            self.max = max
17
18    class On:
19
20        """
21         Projector on/off.
22        """
23        def __init__(self, value: bool, default: bool):
24            self.value = value
25            self.default = default
26
27    def __init__(self, brightness: 'Brightness', on: 'On'):
28        # Projector brightness.
29        self.brightness = brightness
30        # Projector on/off.
31        self.on = on

Projector settings descriptor.

Projector( brightness: Projector.Brightness, on: Projector.On)
27    def __init__(self, brightness: 'Brightness', on: 'On'):
28        # Projector brightness.
29        self.brightness = brightness
30        # Projector on/off.
31        self.on = on
brightness
on
class Projector.Brightness:
 7    class Brightness:
 8
 9        """
10         Projector brightness.
11        """
12        def __init__(self, value: float, default: float, min: float, max: float):
13            self.value = value
14            self.default = default
15            self.min = min
16            self.max = max

Projector brightness.

Projector.Brightness(value: float, default: float, min: float, max: float)
12        def __init__(self, value: float, default: float, min: float, max: float):
13            self.value = value
14            self.default = default
15            self.min = min
16            self.max = max
value
default
min
max
class Projector.On:
18    class On:
19
20        """
21         Projector on/off.
22        """
23        def __init__(self, value: bool, default: bool):
24            self.value = value
25            self.default = default

Projector on/off.

Projector.On(value: bool, default: bool)
23        def __init__(self, value: bool, default: bool):
24            self.value = value
25            self.default = default
value
default