serviceTimeMetric.setDuration(builder.toGDuration());
resourceProperty.add(serviceTimeDocument);
resourceProperty.addChangeListener(mowsMetricsCapability);
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);