mapping values to something meaningful
-
Hi Guys,
I'm using the Admin Template for my dashboard. I have a few values coming in that are numeric that mean different things.
What is the best way for me to translate these whole numbers into something?
Ideally it'd be great if I could define a translation map or table or something and then reference that?
for context, I've got data coming from a UPS and the number represents the power source:
1 - "main input"
2 - "bypass input"
3 - "battery"I've had a look through the docs and couldn't find anything that jumped out at me as a solution to this.
Cheers!
-
I do all our translations within the data point.
If the point has multiple values you can create a new template and do add Text Render Properties to it.
In the image below, this point can have multiple values and the values mean different things:
Here's a binary point render:
-
@mihairosu Thanks very much! This is exactly what I need.