version 1.1.2.1, 2012/01/24 13:50:07
|
version 1.1.2.2, 2012/02/15 17:46:22
|
|
|
|
// Copyright (c) 2005 DMTF. All rights reserved. |
|
// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath |
|
// qualifier values to CIM Schema.</change> |
|
// ================================================================== |
|
// CIM_LabelReaderStatInfo |
|
// ================================================================== |
|
[Version ( "2.6.0" ), |
|
UMLPackagePath ( "CIM::Device::StorageLib" ), |
|
Description ( |
|
"Statistics for a LabelReader, related to read successes, " |
|
"failures and retries." )] |
|
class CIM_LabelReaderStatInfo : CIM_DeviceStatisticalInformation { |
|
|
|
[Description ( |
|
"The number of successful physical label scans." ), |
|
Counter] |
|
uint64 ScanSuccesses; |
|
|
|
[Description ( "The number of failed physical label scans." ), |
|
Counter] |
|
uint64 ScanFailures; |
|
|
|
[Description ( "The number of retried physical label scans." ), |
|
Counter] |
|
uint64 ScanRetries; |
|
|
|
|
|
[Description ( |
|
"Method to reset the statistical counters. The method " |
|
"takes one parameter as input - an integer indicating " |
|
"which counter to reset. For this input parameter, 0 " |
|
"indicates all, 1 resets the \"Scan Successes\" counter, " |
|
"2 resets the \"Scan Failures\" counter, and 3 resets the " |
|
"\"Scan Retries\" counter. The method returns 0 if " |
|
"successful, 1 if not supported, and any other value if " |
|
"an error occurred. A method is specified so that the " |
|
"Device\'s instrumentation can also reset its internal " |
|
"processing and counters. \n" |
|
"In a subclass, the set of possible return codes should " |
|
"be specified in a ValueMap qualifier on the method. The " |
|
"strings to which the ValueMap contents are \'translated\' " |
|
"can be specified as a Values array qualifier." )] |
|
uint32 ResetCounter( |
|
[IN, Description ( "The counter to reset." ), |
|
ValueMap { "0", "1", "2", "3" }, |
|
Values { "All", "Scan Successes", "Scan Failures", |
|
"Scan Retries" }] |
|
uint16 SelectedCounter); |
|
|
|
}; |