OPCDA.NET Reference Manual
ItemValue Class Members
See Also  Fields  Send Feedback
OpcNetBase.Net4 Assembly > OPCDA.NET Namespace : ItemValue Class


Glossary Item Box

The following tables list the members exposed by ItemValue.

Public Constructors

 NameDescription
Public ConstructorItemValue Constructor initializes instance with default values.  
Top

Public Fields

 NameDescription
Public FieldClientHandle May be used by the client to identify the item in asynchronous read replies. (Inherited from OPCDA.NET.ItemIdentification)
Public FieldError HRESULT error code.  
Public FieldItemID The unique identifier for this item. This element is used in the OpcServer.Read and OpcServer.Write methods to identify the item to be accessed. Some methods use the ServerHandle and ignore this element. (Inherited from OPCDA.NET.ItemIdentification)
Public FieldMaxAge“staleness” for the item, requested in milliseconds. The server will calculate the number of milliseconds between “now” and the item timestamp. If the item that has not been updated within the last MaxAge milliseconds, the value must be obtained from the underlying device. Or if the item is not available from the cache, it will also need to be obtained from the underlying device. A max age of 0 is equivalent to OPC_DS_DEVICE and a max age of 0xFFFFFFFF is equivalent to OPC_DS_CACHE. Without existence of a cache the server will always read from device. In this case MaxAge is not relevant. Some servers maintain a global cache for all clients. If the needed item is in this global cache, it is expected that the server makes use of it to check the MaxAge value. Servers should not automatically create or change the caching of an item based on a Read call with MaxAge.
Note: Since this is a int of milliseconds, the largest MaxAge value would be approximately 24 days.  
Public FieldQuality Item quality status.  
Public FieldQualitySpecified True if the quality is defined. Some servers do not allow the item quality to be written and require this flag to be FALSE.  
Public FieldServerHandle Unique handle for this item, as returned from OpcGroup.AddItems. Some methods use the ItemID and ignore this element. (Inherited from OPCDA.NET.ItemIdentification)
Public FieldTimestamp Item time stamp in UTC.  
Public FieldTimestampSpecified True if the Timestamp is defined. Some servers do not allow the item Timestamp to be written and require this flag to be FALSE.  
Public FieldValue Item value.  
Top

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.