메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase object. Call CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase.Dispose when you are finished using the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase. The CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase.Dispose method leaves the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase in an unusable state. After calling CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase.Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase was occupying. |
|
HasProperty ( String key ) : System.Boolean |
Determines whether this instance has property the specified key.
|
|
ToString ( ) : String |
Returns a System.String that represents the current CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase.
|
메소드 | 설명 | |
---|---|---|
Dispose ( System.Boolean disposing ) : void |
Releaseses all resources used this object.
|
|
MotionSensorBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase class. This is the default constructor.
|
|
MotionSensorBase ( IGpio pin ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.MotionSensorBase class.
|
|
OnMotionDetectionStateChanged ( |
Raises the motion detection state changed event.
|
protected Dispose ( System.Boolean disposing ) : void | ||
disposing | System.Boolean | /// Set true if disposing managed resources in addition to unmanaged. /// |
리턴 | void |
public HasProperty ( String key ) : System.Boolean | ||
key | String | /// The key name of the property to check for. /// |
리턴 | System.Boolean |
protected MotionSensorBase ( IGpio pin ) : System | ||
pin | IGpio | /// The pin being used to read the sensor input. /// |
리턴 | System |
protected OnMotionDetectionStateChanged ( |
||
e | /// The event arguments. /// | |
리턴 | void |