Interface ISwitch
Represents a generic switch
Assembly: Meadow.Contracts.dll
View Source
public interface ISwitch : ISensor<bool>, ISensor
Properties
IsOn
Describes whether or not the switch circuit is closed/connected (IsOn = true), or open (IsOn = false).
View Source
bool IsOn { get; }
Events
Changed
Raised when the switch circuit is opened or closed.
View Source
event EventHandler Changed
Event Type
System.EventHandler