Class StaticGaugeData
java.lang.Object
com.inductiveautomation.ignition.gateway.web.components.react.StaticGaugeData
- All Implemented Interfaces:
ComponentData
Filename: StaticGaugeData.java
Created on Apr 11, 2016
Author: Kathy Applebaum
Copyright Inductive Automation 2016
Project: gateway-api
Allows a static value and description that will then be formatted in a way that gauge.js likes. This should be rarely used -- MetricsGaugeData should be used instead. The JSON is built with the value's toString, so make sure this is what you want on the screen.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StaticGaugeData
-
-
Method Details
-
getValue
-
setValue
-
getLabel
-
setLabel
-
toJson
- Specified by:
toJson
in interfaceComponentData
- Throws:
JSONException
-