OPC Studio User's Guide and Reference
ActiveTimeLocal Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : ActiveTimeLocal 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 local time.
Syntax
'Declaration
 
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ActiveTimeLocal As Date
'Usage
 
Dim instance As AEEventData
Dim value As Date
 
instance.ActiveTimeLocal = value
 
value = instance.ActiveTimeLocal
[IgnoreDataMember()]
[XmlIgnore()]
public DateTime ActiveTimeLocal {get; set;}
[IgnoreDataMember()]
[XmlIgnore()]
public:
property DateTime ActiveTimeLocal {
   DateTime get();
   void set (    DateTime value);
}
Remarks

This property is used only for Condition-Related Events (see EventType).

This time is used by the client when acknowledging the condition.

If you are using VBA in Excel, beware that it reduces the precision of date/times from OLE Automation to seconds. In order to achieve milliseconds precision from VBA in Excel, use the ActiveTimeLocalDouble property instead.

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