Class TriggerWindow
Implements
System.IComparable<Window>
Inherited Members
Namespace: Sensus.Probes.User.Scripts
Assembly: SensusAndroid.dll
Syntax
public class TriggerWindow : Window, IComparable<Window>
Constructors
TriggerWindow(String)
Declaration
public TriggerWindow(string windowString)
Parameters
Type | Name | Description |
---|---|---|
System.String | windowString |
Methods
GetNextTriggerTime(DateTime, Boolean, Nullable<TimeSpan>)
Gets the next trigger time.
Declaration
public ScriptTriggerTime GetNextTriggerTime(DateTime after, bool windowExpiration, Nullable<TimeSpan> maxAge)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | after | The time after which the trigger time should occur. |
System.Boolean | windowExpiration | Whether or not to expire at the current window's end. |
System.Nullable<System.TimeSpan> | maxAge | Maximum age of the triggered script. |
Returns
Type | Description |
---|---|
ScriptTriggerTime | The next trigger time. |
GetReadableDescription(Int32)
Declaration
public string GetReadableDescription(int nonDowTriggerIntervalDays)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nonDowTriggerIntervalDays |
Returns
Type | Description |
---|---|
System.String |
Implements
System.IComparable<>