static VString toVString(JsonObject json) { VTypeJsonMapper mapper = new VTypeJsonMapper(json); return newVString(mapper.getString("value"), mapper.getAlarm(), mapper.getTime()); }
public Display getDisplay() { VTypeJsonMapper display = getJsonObject("display"); if (display == null) { return null; } return ValueFactory.newDisplay(display.getNotNullDouble("lowDisplay"), display.getNotNullDouble("lowAlarm"), display.getNotNullDouble("lowWarning"), display.getString("units"), null, display.getNotNullDouble("highWarning"), display.getNotNullDouble("highAlarm"), display.getNotNullDouble("highDisplay"), Double.NaN, Double.NaN); }