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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : ActiveTimeLocalDouble 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, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property ActiveTimeLocalDouble As Double
'Usage
 
Dim instance As AEEventData
Dim value As Double
 
instance.ActiveTimeLocalDouble = value
 
value = instance.ActiveTimeLocalDouble
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public double ActiveTimeLocalDouble {get; set;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property double ActiveTimeLocalDouble {
   double get();
   void set (    double value);
}
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

This property is primarily aimed at VBA in Excel, which removes the sub-seconds parts of VT_DATE values. This alternative property uses VT_R8 variant type instead, and provides a milliseconds resolution.

For more remarks, see ActiveTimeLocal.

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