Class Presence
Presence
Inheritance
System.Object
Presence
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpotLib
Assembly: SpotLib.dll
Syntax
public class Presence
Constructors
Presence()
Constructor
Declaration
public Presence()
Presence(Presence)
Copy constructor
Declaration
public Presence(Presence p)
Parameters
Type | Name | Description |
---|---|---|
Presence | p |
Properties
AntennaNumber
Antenna number.
Declaration
public uint AntennaNumber { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
HoldDelayS
The max period that an item is being held after the last update.
Declaration
public uint HoldDelayS { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Item
Item.
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Proximity
The proximity of the Item.
Declaration
public ProximityType Proximity { get; }
Property Value
Type | Description |
---|---|
ProximityType |
TimeLast
The last time that this item has been updated.
Declaration
public DateTime TimeLast { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
TimeStarted
The time that this item has been discovered for the first time.
Declaration
public DateTime TimeStarted { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Type
The type of presence. If the type is Antenna, use property AntennaNumber to determine on which antenna the detection has been reported.
Declaration
public PresenceType Type { get; }
Property Value
Type | Description |
---|---|
PresenceType |
Methods
Copy()
Returns a copy.
Declaration
public Presence Copy()
Returns
Type | Description |
---|---|
Presence |
Equals(Presence)
Compare presence objects.
Declaration
public bool Equals(Presence x)
Parameters
Type | Name | Description |
---|---|---|
Presence | x |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Calculate the hashcode of a presence object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()