Possibility to change units of template based attributes
I have template based elements including analysis that can be used for calculations with a variety of units (tonnes, MWh,...). So it would be great to have the possibility to change the units of template based attributes. At the moment they are fixed to the template.
This would be very useful. We are using templated elements for usage in collections in PI Vision displays. For example, we want to show various gauges for the temperature, pressure, etc.
However, since the UoM is fixed in the template, I can't actually include the attribute that is displayed as the value on the gauge in the template. Instead that attribute has to be copy & pasted.
This has the additional effect of making it difficult to use subsitution parameters, as they are immediately evaluated and the subsituted value is stored in the attribute ConfigString.
I don't want to mix tonnes and MWh (or other units). I have a template that I can use to aggregate data (e.g. sum or avarage over a certain time range). This template can be used for nearly every kind of unit. So I don't want to set a fixed unit in the template. I want to set the unit for the each attribute that is based on this (unit independent) template.
Kenneth Barber commented
When would you be mixing tonnes and MWh in the same attribute? Or am I misunderstanding?