GmsBool Configuration
GmsBool Configuration Data | ||
Data | Use | Description |
GmsType | Mandatory | GMSBOOL |
Attributes | Optional | Object containing the attributes of the property. For details, see Table GmsBool Attributes, below. The empty object (“Attributes”: { }) resets the attributes data. |
GmsBool Attributes | ||
Data | Use | Description |
Valid | Optional | Validity flag. If false, the display data is set but is considered invalid. |
TextGroup | Optional | The name of the text group to be used for the texts corresponding to the values 0 (false) and 1 (true). The empty string (“gTextGroup”: “”) reset the text group. |
Example
{
"Name": "Bool_Value",
"PvssType": { "PvssType": "BOOL" },
"VL": true,
"AL": true,
"Persist": true,
"GroupId": "CONFIG",
"Description": [ { "Culture": "en-US", "Text": "Bool Value" } ],
"Display": {
"Valid": true,
"Icon": {
"Library": "Global_Base_HQ_1",
"Name": "Op_DP_Generic_None_001.png"
}
},
"GmsType": {
"GmsType": "GMSBOOL",
"Attributes": {
"Valid": true,
"TextGroup": "TxG_NoYes"
}
}
}
The following image shows the corresponding fields in the Models & Functions tab: