private double m_lastTemp = InteropConstants.DEFAULT_HUMIDITY;
public ResourceProperty refreshProperty(ResourceProperty resourceProperty) throws CallbackFailedException
{
Calendar resetAt = Calendar.getInstance();
HumidityMetricType prop_humidity = (HumidityMetricType) resourceProperty.get(0);
prop_humidity.setDoubleValue(CallbackUtils.getNextRandomValue(m_lastTemp, InteropConstants.MAX_HUMIDITY, InteropConstants.MIN_HUMIDITY));
prop_humidity.setResetAt(resetAt);
return resourceProperty;
}