QuickOPC User's Guide and Reference
InactiveTime Property (_AEConditionState)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEConditionState Interface : InactiveTime Property
Time of the most recent transition out of this condition. In UTC.
Syntax
'Declaration
 
Property InactiveTime As Date
'Usage
 
Dim instance As _AEConditionState
Dim value As Date
 
instance.InactiveTime = value
 
value = instance.InactiveTime
DateTime InactiveTime {get; set;}
property DateTime InactiveTime {
   DateTime get();
   void set (    DateTime value);
}
Remarks

Contains 0 if the condition has never been active, or if it is currently active for the first time and has never been exited.

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 InactiveTimeDouble property instead.

Requirements

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

See Also

Reference

_AEConditionState Interface
_AEConditionState Members