AnsweredAssumed Answered

Set AF attribute with AFSDK code

Question asked by mikespath on Nov 15, 2016
Latest reply on Nov 15, 2016 by pmartin

Hello Folks:

I know this is possible to do but I'm trying to find documentation and / or example code by which to do. I've created an AF template for a data source (vessel) and I have an instance of this (vessel3)

I created attributes (for example) DO_H to hold a value that is used in the notification trigger when it is violated.

I'm looking for help on how to set the Attribute vessel3.DO_H in code.

I the help I see    AFAttribute.SetValue Method (Object, UOM) but not sure if that is what I would use.

Any guidance appreciated as I'm new to AF.

Thanks

Outcomes