Implement GetValue().ValueAs<Insert Type Here> for all possible AF Value Types.
Currently, the AFSKD GetValue() method supports GetValue().ValueAsInt32, .ValueAsDouble, and .ValueAsSingle. However, there are other possible AF Value Types, such as "Boolean". The AFSDK should expand the GetValue().ValueAs functionality to include all possible AF Value Types.
Thank you for your feedback. Unfortunately, this feature is not a priority at time, so I am setting the status to declined.
Stefen Hillman commented
In response to David Moler, "By "all possible" types, would that be t..."
Yep - All of the things listed under "Basic Types" - I should have been more specific. This is because the AFSDK already supports some of them and the inconsistency in not supporting the other Basic Types can be frustrating for users of the AFSDK. If, at some point in the future, the AFSDK includes similar support for Array Types, I believe that, if possible, it should support all the Array Types as well.
AdminDavid Moler (Admin, OSIsoft) commented
By "all possible" types, would that be the "Basic Types" specified in PI System Explorer: Boolean, Byte, DateTime, Guid, Int16, Int64, String?