C# 클래스 CyrusBuilt.MonoPi.Devices.Access.OpenerBase

Base class for opener device abstractions.
상속: DeviceBase, IOpener
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
Close ( ) : void

Closes the opener.

Open ( ) : void

Opens the opener.

보호된 메소드들

메소드 설명
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.

메소드 상세

Close() 공개 추상적인 메소드

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

OnLockChanged() 보호된 메소드

Raises the lock changed event.
protected OnLockChanged ( OpenerLockChangeEventArgs e ) : void
e OpenerLockChangeEventArgs /// The event arguments. ///
리턴 void

OnStateChanged() 보호된 메소드

Raises the state changed event.
protected OnStateChanged ( OpenerStateChangeEventArgs e ) : void
e OpenerStateChangeEventArgs /// The event arguments. ///
리턴 void

Open() 공개 추상적인 메소드

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

OpenerBase() 보호된 메소드

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