Class CVMotionCellsEventArgs
OpenCV motion cells event args. Implements the EventArgs.
Inherited Members
Namespace: VisioForge.Core.Types.Events
Assembly: VisioForge.Core.dll
Syntax
public class CVMotionCellsEventArgs : EventArgs
Constructors
CVMotionCellsEventArgs(string, TimeSpan?, TimeSpan?, TimeSpan?, bool)
Initializes a new instance of the CVMotionCellsEventArgs class.
Declaration
public CVMotionCellsEventArgs(string cells, TimeSpan? startedTime, TimeSpan? finishedTime, TimeSpan? currentTime, bool isMotion)
Parameters
Type | Name | Description |
---|---|---|
string | cells | The cells. |
TimeSpan? | startedTime | The started time. |
TimeSpan? | finishedTime | The finished time. |
TimeSpan? | currentTime | The current time. |
bool | isMotion | if set to |
Properties
Cells
Gets the cells.
Declaration
public string Cells { get; }
Property Value
Type | Description |
---|---|
string | The cells. |
CurrentTime
Gets the current time.
Declaration
public TimeSpan? CurrentTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan? | The current time. |
FinishedTime
Gets the finished time. Value available when motion finished.
Declaration
public TimeSpan? FinishedTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan? | The finished time. |
IsMotion
Gets a value indicating whether motion detected.
Declaration
public bool IsMotion { get; }
Property Value
Type | Description |
---|---|
bool |
StartedTime
Gets the started time. Value available when motion started.
Declaration
public TimeSpan? StartedTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan? | The started time. |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |