The following table includes the valid types and subtypes that you can specify for the attributes:
Note: The subtypes determine how a value is displayed in the GUI.
|
Type |
Subtype |
Description |
|---|---|---|
|
Boolean |
|
Boolean values can be displayed based on the following subtypes: |
|
|
TrueFalse |
True or False |
|
|
YesNo |
Yes or No |
|
|
OnOff |
On or Off |
|
|
SupportedUnsupported |
Supported or Not Supported |
|
|
ActiveNotactive |
Active or Not Active |
|
|
OkError |
OK or Error |
|
|
PresentNotpresent |
Present or Not Present |
|
int32 & int64 |
|
Numerical values can be displayed based on the following subtypes: |
|
|
separation |
Thousands separated, that is, 1,000,000 |
|
|
normal |
No separation |
|
|
K |
Number is divided by 1024 before display |
|
|
M |
Number is divided by 1024^2 before display |
|
|
G |
Number is divided by 1024^3 before display |
|
|
T |
Number is divided by 1024^4 before display |
|
|
kilo |
Divided by 1000 before display |
|
|
mega |
Divided by 1e6 before display |
|
|
giga |
Divided by 1e9 before display |
|
|
milli |
Multiplied by 1e3 before display |
|
|
micro |
Multiplied by 1e6 before display |
|
|
nano |
Multiplied by 1e9 before display |
|
|
hex |
Numbers shown as hex |
|
|
time |
Displayed as a date-time |
|
|
timeInterval |
Displayed as a duration |
|
|
bytes |
GUI decides to display as KB, MB, GB or TB |
|
Float |
|
Float values can be displayed based on the following subtypes: |
|
|
Auto |
Auto format |
|
|
placesXX |
Show to XX decimal places |
|
String |
|
No subtypes for string |
|
Copyright © 2013 CA.
All rights reserved.
|
|