Trigger Class

TegoOS

Trigger Class
Base class for triggers plus provides some precanned triggers.
Inheritance Hierarchy

Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public abstract class Trigger
Public MustInherit Class Trigger
public ref class Trigger abstract
[<AbstractClassAttribute>]
type Trigger =  class end

The Trigger type exposes the following members.

Constructors
  NameDescription
Protected methodTrigger
Initializes a new instance of the Trigger class
Top
Properties
  NameDescription
Public propertyStatic memberContinuous
Continuous execution until stopped.
Public propertyStatic memberOneRound
Trigger execution for one inventory round only.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetDuration
Get the duration for a trigger. 0 if trigger is null or does not provide duration.
(Defined by ExecutionSettingsExtensions.)
Public Extension MethodGetRounds
Get the number of rounds for a trigger. 1 if trigger is null or 0 if trigger does not provide rounds.
(Defined by ExecutionSettingsExtensions.)
Top
Remarks
Implemented as a class because ExecutionSettings make extensive use of implicit casting which is not possible on an interface.
See Also