QuickOPC User's Guide and Reference
ActiveTimeTicks Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : ActiveTimeTicks Property
Time that the condition became active (for single-state conditions), or the time of the transition into the current sub-condition (for multi-state conditions). In UTC ticks.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ActiveTimeTicks As Long
'Usage
 
Dim instance As AEEventData
Dim value As Long
 
instance.ActiveTimeTicks = value
 
value = instance.ActiveTimeTicks
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public long ActiveTimeTicks {get; set;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property int64 ActiveTimeTicks {
   int64 get();
   void set (    int64 value);
}
Remarks

This property is primarily aimed at Python.NET, which loses the precision below microseconds level, as it represents the .NET System.DateTime as Python 'datetime' object. This alternative property uses 64-bit integer type instead, and provides a resolution of 100 nanoseconds.

For more remarks, see ActiveTime.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also