AFValue.Status Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates the various conditions of the value.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFValueStatus Status { get; set; }
Public Property Status As AFValueStatus Get Set Dim instance As AFValue Dim value As AFValueStatus value = instance.Status instance.Status = value
public: property AFValueStatus Status { AFValueStatus get (); void set (AFValueStatus value); }
member Status : AFValueStatus with get, set
Property Value
Type: AFValueStatusA status enumeration with flags to indicate the condition of the value.
Remarks
The lower byte (bits 0-7) of the status are reserved for indicating the overall status of the value.
The second lowest byte (bits 8-15) indicates vendor specific status. The Annotated
bit is the top-most bit of this byte (bit 15). The top word (bits 16-31) is available for user use and
the AF SDK will not apply any meaning to these bits.