Calendar resetAt = Calendar.getInstance();
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.NUMBEROFREQUESTS);
NumberOfRequestsDocument numberOfRequestsDocument = NumberOfRequestsDocument.Factory.newInstance();
IntegerCounter integerCounter = numberOfRequestsDocument.addNewNumberOfRequests();
integerCounter.setBigIntegerValue(BigInteger.valueOf(120L));
integerCounter.setResetAt(resetAt);
resourceProperty.add(numberOfRequestsDocument);
resourceProperty.addChangeListener(mowsMetricsCapability);
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.NUMBEROFSUCCESSFULREQUESTS);
NumberOfSuccessfulRequestsDocument numberOfSuccessfulRequestsDocument = NumberOfSuccessfulRequestsDocument.Factory.newInstance();
IntegerCounter successIntegerCounter = numberOfSuccessfulRequestsDocument.addNewNumberOfSuccessfulRequests();
successIntegerCounter.setBigIntegerValue(BigInteger.valueOf(90L));
successIntegerCounter.setResetAt(resetAt);
resourceProperty.add(numberOfSuccessfulRequestsDocument);
resourceProperty.addChangeListener(mowsMetricsCapability);
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.NUMBEROFFAILEDREQUESTS);
NumberOfFailedRequestsDocument numberOfFailedRequestsDocument = NumberOfFailedRequestsDocument.Factory.newInstance();
IntegerCounter failedIntegerCounter = numberOfFailedRequestsDocument.addNewNumberOfFailedRequests();
failedIntegerCounter.setBigIntegerValue(BigInteger.valueOf(30L));
failedIntegerCounter.setResetAt(resetAt);
resourceProperty.add(numberOfFailedRequestsDocument);
resourceProperty.addChangeListener(mowsMetricsCapability);
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.SERVICETIME);
ServiceTimeDocument serviceTimeDocument = ServiceTimeDocument.Factory.newInstance();