When you create new properties for a class or set input parameters for a method, you can use any of the dialog boxes that CIM WorkShop provides for specifying values of a particular type. These dialog boxes are configured to accept only a value of the appropriate type. The dialog boxes include the following:
Real Integer dialog box
Signed Integer dialog box
Unsigned Integer dialog box
String dialog box
Array dialog box
Boolean dialog box
Date/Time dialog box
The Values field of this dialog box accepts only a real integer. A real integer can be a negative or positive number including a decimal point. When you create a property that is of the type Real Integer, type a real integer in the Values field of this dialog box.
The Values field of this dialog box accepts only a signed integer of a specified size. A signed integer can be a negative or positive whole number. CIM properties that have values which are signed integers can be 8 bits, 16 bits, 32 bits, or 64 bits in size. Depending on the size of the signed integer that makes up the value of the property, type the following in the Values field of this dialog box:
For a property that is an 8–bit signed integer, type a positive or negative numeric value equivalent to 8 bits.
For a property that is a 16–bit signed integer, type a positive or negative numeric value equivalent to 16 bits.
For a property that is a 32–bit signed integer, type a positive or negative numeric value equivalent to 32 bits.
For a property that is a 64–bit signed integer, type a positive or negative numeric value equivalent to 64 bits.
The Values field of this dialog box accepts only an unsigned integer of a specified size. An unsigned integer can be only a positive whole number. CIM properties that have values which are unsigned integers can be 8 bits, 16 bits, 32 bits, or 64 bits in size. Depending on the size of the unsigned integer that makes up the value of the property, type the following in the Values field of this dialog box:
For a property that is an 8–bit unsigned integer, type a positive numeric value equivalent to 8 bits.
For a property that is a 16–bit unsigned integer, type a positive numeric value equivalent to 16 bits.
For a property that is a 32–bit unsigned integer, type a positive numeric value equivalent to 32 bits.
For a property that is a 64–bit unsigned integer, type a positive numeric value equivalent to 64 bits.
The Values field of this dialog box accepts alphanumeric characters. When you specify the value of a property that is a character string, you must enter a character string, such as Processor_Type, in the Values field of this dialog box. Character strings may not contain integers.
In the Array dialog boxes, you can specify an array as a value for a property. The following array dialog boxes are available to return arrays:
8–Bit Unsigned Integer Array Dialog Box – returns a collection of positive integers equivalent to 8 bits in size
16–Bit Unsigned Integer Array Dialog Box – returns a collection of positive integers equivalent to 16 bits in size
32–Bit Unsigned Integer Array Dialog Box – returns a collection of positive integers equivalent to 32 bits in size
64–Bit Unsigned Integer Array Dialog Box – returns a collection of positive integers equivalent to 64 bits in size
8–Bit Signed Integer Array Dialog Box – returns a collection of positive or negative integers equivalent to 8 bits in size
16–Bit Signed Integer Array Dialog Box – returns a collection of positive or negative integers equivalent to 16 bits in size
32–Bit Signed Integer Array Dialog Box – returns a collection of positive or negative integers equivalent to 32 bits in size
64–Bit Signed Integer Array Dialog Box – returns a collection of positive or negative integers equivalent to 64 bits in size
String Array Dialog Box – returns a collection of alphanumeric character strings
Boolean Array Dialog Box – returns a collection of Boolean expressions, True or False
32–Bit Real Array Dialog Box – returns a collection of positive or negative real numbers, with or without a decimal point, equivalent to 32 bits in size
64–Bit Real Array Dialog Box – returns a collection of positive or negative real numbers, with or without a decimal point, equivalent to 64 bits in size
16–Bit Character Array Dialog Box – returns a collection of alphabetic and numeric character strings equivalent to 16 bits in size
Date/Time Array Dialog Box – returns a collection of dates in the format mm-dd-yy and times in the format hh:mm:ss
In the Boolean dialog box, you can specify True or False as the value of a selected property.
The DateTime dialog box enables you to set the date and time value as specified in the CIM Specification for a new property or method. The DateTime dialog box is displayed from:
New Class dialog box when you select the value of a new property that uses the DateTime value
Invoke Methods dialog box when you select the Input Value of a method's parameter
A Set Value dialog box is displayed. Click Add in the Set Value dialog box to display the Date/Time dialog box.
In the fields of the DateTime dialog box, type the date and time value in the following manner:
Year yyyy is a 4-digit year
Month mm is the month
Day dd is the day
Hour hh is the hour, on a 24-hour clock
Minutes mm is the minute
Seconds ss is the second
Microsecondsmmmmmm is the number of microseconds
Universal Coordinate Time s is a positive (+) or negative (-) sign that indicates the Universal Coordinated Time, or a (:)
If a (:) is provided, the value is interpreted as a time interval, and yyyymm are interpreted as days.
utc is the offset from UTC in minutes
For example, Monday June 7, 1999 at 1:30:15 PM EST would be represented as: 19990607133015.000000-300