C# Class CyrusBuilt.MonoPi.Devices.Access.OpenerBase

Base class for opener device abstractions.
Inheritance: DeviceBase, IOpener
Afficher le fichier Open project: cyrusbuilt/MonoPi

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the opener.

Open ( ) : void

Opens the opener.

Méthodes protégées

Méthode Description
OnLockChanged ( OpenerLockChangeEventArgs e ) : void

Raises the lock changed event.

OnStateChanged ( OpenerStateChangeEventArgs e ) : void

Raises the state changed event.

OpenerBase ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Access.OpenerBase class. This is the default constructor.

Method Details

Close() public abstract méthode

Closes the opener.
/// The opener cannot be closed because it is locked. ///
public abstract Close ( ) : void
Résultat void

OnLockChanged() protected méthode

Raises the lock changed event.
protected OnLockChanged ( OpenerLockChangeEventArgs e ) : void
e OpenerLockChangeEventArgs /// The event arguments. ///
Résultat void

OnStateChanged() protected méthode

Raises the state changed event.
protected OnStateChanged ( OpenerStateChangeEventArgs e ) : void
e OpenerStateChangeEventArgs /// The event arguments. ///
Résultat void

Open() public abstract méthode

Opens the opener.
/// The opener cannot be opened because it is locked. ///
public abstract Open ( ) : void
Résultat void

OpenerBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Access.OpenerBase class. This is the default constructor.
protected OpenerBase ( ) : System
Résultat System