Example of Command Definition for a DPE
{
"Name": "Int_Value",
"PvssType": {
"PvssType": "INT",
"Status": {
"Stat": true,
"DisplOffNormal": true,
"NormalValue": 20
}
},
"VL": true,
"AL": true,
"DL0": true,
"DL1": true,
"DL2": true,
"DL3": true,
"Persist": true,
"GroupId": "CONFIG",
"Description": [ { "Culture": "en-US", "Text": "Integer Value" } ],
"Display": {
"Valid": true,
"Icon": {
"Library": "Global_Base_HQ_1",
"Name": "Op_DP_Generic_None_001.png"
}
},
"GmsType": {
"GmsType": "GMSINT",
"Attributes": {
"Valid": true,
"UnitText": {
"TextGroup": "TxG_EngineeringUnits",
"Unit": "°C"
},
"Properties": {
"Min": -40,
"Max": 70
}
}
},
"Commands": {
"Dependency1": "UInt_Value",
"CommandsData": [
{
"CommandType": "GenericWriteInt",
"Name": "Write",
"Label": [ { "Culture": "en-US", "Text": "WriteInt" } ],
"Guid": "",
"Dependencies": [
{
"Property": "UInt_Value",
"Operation": "=",
"Value1": 10
}
],
"Alias": 0,
"Group": "STANDARD",
"Control": "DEFAULT",
"Combined": false,
"Display": "GENERIC_DISPLAY_SOFTWARE",
"TargetedProperty": "",
"Logging": "ALWAYS",
"Parameters": [
{
"Name": "Value",
"Label": [ { "Culture": "en-US", "Text": "ValueForInt" } ],
"DefaultValue": "PROVIDED",
"Value": 15,
"Control": "NUMERIC",
"AffectedProperty": "",
"Application": "PROPERTY"
}
]
}
]
}
}