Click or drag to resize

Timer Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelTimer

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class Timer : ICloneable, IObjectWithDataVersion, 
	IObjectWithId, IObjectWithGuid

The Timer type exposes the following members.

Constructors
  NameDescription
Public methodTimer
Top
Properties
  NameDescription
Public propertyChangedBy
Public propertyChangeTime
Public propertyCreatedBy
Public propertyCreateTime
Public propertyDataVersion
Public propertyDescription
Contains a description based on the settings of the timer
Public propertyDisabled
Public propertyDisplayName
Get the displayname of the timer which is in the format {Name} - {Description} (If a name is specified)
Public propertyEndDate
Only used if EndOn = EndDate
Public propertyEndOn
Does the timer have an end date?
Public propertyHourPatternEnd
HourPatternEnd is only used if RepeatPattern is either Minutely or Hourly.
Public propertyHourPatternStart
HourPatternStart is only used if RepeatPattern is either Minutely or Hourly.
Public propertyId
Public propertyMonthPatternDay
Public propertyMonthPatternDayNum
Public propertyMonthPatternModifier
Public propertyMonthPatternType
Enum for patterntype of monthly timer
Public propertyName
Name of the timer
Public propertyNumber
Public propertyRepeatFactor
How often should the timer be repeated? Example: Hvis RepeatFactor = 3 and RepeatPattern="Weekly", the timer is executed every third week (on the week days specified in WeekPatternDays)
Public propertyRepeatPattern
Repeat pattern for the timer
Public propertyStartDate
Start date as interval is in UTC time. The time part of the start date indicates when the timer is executed (unless RepeatPatter="Hourly")
Public propertyUId
Public propertyWeekPatternDays
Enum for patterntype of week days
Public propertyWorkWeekId
Indicates the id of a possible workweek which the the timer uses. If specified, the timer is performed only within workhours Can only be used if the RepeatPattern is either: Minutely, Hourly or Daily. Can be 0.
Top
Methods
  NameDescription
Public methodClone
Public methodExecutesOn
Returnerer true hvis timer fyrer på tidspunktet angivet i dateTime.
Public methodStatic memberFixHourPatternEnd
Public methodStatic memberGetHourlyPatternDateTime
Convert a time string to a DateTime object with default time
Public methodStatic memberGetMonthPatternMatchDate
Givet en måned (i et bestemt år) returneres den dato i månededen som opfylder patternmodifier'en og patternday'en. Eksempel: hvis year=2004, month=1, patternModifier="second" og patternDay="wednesday" returneres 14. jan. 2004 da denne dato er den anden onsdag i måneden (efter dansk kalender).
Public methodPassesFilter
Top
Fields
  NameDescription
Public fieldStatic memberMinMinutelyFactor
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also