Interface ISwitch
Represents a generic switch
Assembly: Meadow.Contracts.dll
View Source
Declaration
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
Declaration
bool IsOn { get; }
Events
Changed
Raised when the switch circuit is opened or closed.
View Source
Declaration
event EventHandler Changed
Event Type
System.EventHandler