QuickOPC User's Guide and Reference
SourceTimestamp Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UABaseVariable<TValue,TAttribute> Class : SourceTimestamp Property
Contains the source timestamp. In UTC.
Syntax
'Declaration
 
<MappingTagAttribute("OpcLabs.EasyOpc.UA.Modelling.VariableValue")>
<UADataAttribute(Kind=UADataMappingKind.ErrorCode Or  _
    UADataMappingKind.ServerTimestampLocal Or  _
    UADataMappingKind.SourceTimestamp, 
   Operations=UADataMappingOperations.Read Or  _
    UADataMappingOperations.Subscribe Or  _
    UADataMappingOperations.ReadAndSubscribe)>
Public Property SourceTimestamp As Date
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Date
 
instance.SourceTimestamp = value
 
value = instance.SourceTimestamp
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ErrorCode | 
    UADataMappingKind.ServerTimestampLocal | 
    UADataMappingKind.SourceTimestamp, 
   Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public DateTime SourceTimestamp {get; set;}
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(Kind=UADataMappingKind.ErrorCode | 
    UADataMappingKind.ServerTimestampLocal | 
    UADataMappingKind.SourceTimestamp, 
   Operations=UADataMappingOperations.Read | 
    UADataMappingOperations.Subscribe | 
    UADataMappingOperations.ReadAndSubscribe)]
public:
property DateTime SourceTimestamp {
   DateTime get();
   void set (    DateTime value);
}
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UABaseVariable<TValue,TAttribute> Class
UABaseVariable<TValue,TAttribute> Members