Click or drag to resize
Condition2 Class
Print this page
Represents the conditions under which an InSight Alert triggers. The Condition2 class can either come from the newest exception engine or the legacy exception engine.
Inheritance Hierarchy
SystemObject
  Telogis.APICondition2

Namespace: Telogis.API
  
  
Syntax
public class Condition2

The Condition2 type exposes the following members.

Properties
Fields
  NameDescription
Public fieldAggressive
Indicates whether to trigger this alert aggressively. Aggressive alerts trigger as soon as the TimeToTrigger elapses, regardless of whether another report comes in confirming that the exception is still occurring.
Public fieldCategoryID
The ID of the category that this condition applies to, if any.
Public fieldConditionType
(read only) The type of condition. Some examples include IdleCondition, MaintenanceCondition and SpeedCondition.
Public fieldEmailAddress
The email address to send alert notifications to.
Public fieldEmailEnabled
Indicates whether this condition can generate emails.
Public fieldEmailFromAddress
(read only) The email address from which alert notifications are sent.
Public fieldEmailMessage
The message to send in email notifications.
Public fieldEmailOnClose
Indicates whether to send an email notification when an alert is turned off.
Public fieldEmailOnTrigger
Indicates whether to send an email notification when an alert is triggered.
Public fieldGraceDays
(read only) For alerts related to Driver Licenses and Driver Insurance, specifies the number of days before the expiration date that the alert triggers.
Public fieldGraceMiles
(read only) For alerts related to the vehicle�s Maintenance Condition, specifies the number of miles before the vehicle maintenance is due that the alert triggers.
Public fieldGroupType
(read only) Specifies the type of item to which ItemGuid or ItemID refers. The item field that is used depends on the type of ID used by the specified group type. The GroupType value is a single character that maps to a type of group. Values: "F" (Fleet), "T" (Team), "A" (Asset Type), "I" (Install Type), "J" (Territory), "K" (Job Type), "U" (Unit), and "D" (Driver).
Public fieldID
(read only) The ID of the condition.
Public fieldItemGuid
(read only) A GUID identifier for an item associated with the condition. The type of item is based on the specified GroupType. ItemGuid is used for the following group types: Territory and Job Type.
Public fieldItemID
(read only) An Int32 identifier for an item associated with the condition. The type of item is based on the specified GroupType. ItemID is used for the following group types: Fleet, Team, Asset Type, Install Type, Unit, and Driver.
Public fieldMarkerID
(read only) The ID of the marker that this condition applies to, if any.
Public fieldRangeMax
(read only) For Analog inputs, specifies the upper range value.
Public fieldRangeMin
(read only) For Analog inputs, specifies the lower range value.
Public fieldScheduleInverted
An array indicating whether to trigger an alert when outside the time range specified by ScheduleStart and ScheduleEnd. Each day of the week is represented by an entry in the array, with Sunday being the first day of the week.
Public fieldScheduleStart
An array indicating the start of the times of day that this condition applies. Each day of the week is represented by an entry in the array, with Sunday being the first day of the week.
Public fieldScheduleStop
An array indicating the end of the times of day that this condition applies. Each day of the week is represented by an entry in the array, with Sunday being the first day of the week.
Public fieldSeverity
The severity of this condition. Valid values are: Normal, Major or Critical.
Public fieldSeverityColor
The color to use in the InSight Alerts UI when displaying alerts generated by this condition.
Public fieldTag
The tags that this condition applies to, if applicable.
Public fieldTimeToTrigger
The minimum amount of time that the condition must be on before an alert is triggered.
Public fieldZoneType
(read only) The type of zone that this condition applies to, if any. Valid values are: County, State, City or Zip.
Public fieldZoneValue
(read only) The name of the zone that this condition applies to, if any.
Top
See Also