resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.MAXRESPONSETIME);
MaxResponseTimeDocument maxResponseTimeDocument = MaxResponseTimeDocument.Factory.newInstance();
DurationMetric maxRespDurationMetric = maxResponseTimeDocument.addNewMaxResponseTime();
maxRespDurationMetric.setGDurationValue(builder.toGDuration());
maxRespDurationMetric.setDuration(builder.toGDuration());
resourceProperty.add(maxResponseTimeDocument);
resourceProperty.addChangeListener(mowsMetricsCapability);
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.LASTRESPONSETIME);
LastResponseTimeDocument lastResponseTimeDocument = LastResponseTimeDocument.Factory.newInstance();