Edit

Share via


LedConfig Class

Definition

Led configuration

public class LedConfig : IEquatable<Iot.Device.PiJuiceDevice.Models.LedConfig>
type LedConfig = class
    interface IEquatable<LedConfig>
Public Class LedConfig
Implements IEquatable(Of LedConfig)
Inheritance
LedConfig
Implements

Constructors

LedConfig(Led, LedFunction, Color)

Led configuration

LedConfig(LedConfig)

Properties

Color

Color for Led. If LedFunction is ChargeStatus Red - parameter defines color component level of red below 15% Green - parameter defines color component charge level over 50% Blue - parameter defines color component for charging(blink) and fully charged states(constant) Red Led and Green Led will show the charge status between 15% - 50%

EqualityContract
Led

Led designator

LedFunction

Led function type

Methods

<Clone>$()
Deconstruct(Led, LedFunction, Color)
Equals(LedConfig)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(LedConfig, LedConfig)
Inequality(LedConfig, LedConfig)

Applies to