AnsweredAssumed Answered

Attribute value update

Question asked by ArunaNamadev on Jun 3, 2015
Latest reply on Jun 4, 2015 by bshang

I am unable to update value to AFAttribute, I have used the following method to update the value. But the value is not getting updated.

Data Reference name is String Builder


AFAttribute attr = objElement.Attributes["PREPROCESSHUMIDITY"];

  OSIsoft.AF.UnitsOfMeasure.UOM uom= afServer.UOMDatabase.UOMs["percent"];

AFValue value = new AFValue(objElement.Attributes["PREPROCESSHUMIDITY"], i, AFTime.Parse("T"), uom, AFValueStatus.Good);