... | ... | @@ -145,29 +145,29 @@ The following is a use case containing items with units and discrete items with |
|
|
## Possible JSON Format Example
|
|
|
```json
|
|
|
{
|
|
|
"Instanced": {
|
|
|
"Title": "My Title",
|
|
|
"Attributes": [
|
|
|
{"Name": "Att1",
|
|
|
"Type": "AttDef1",
|
|
|
"Layout": {
|
|
|
"Type": "Form",
|
|
|
"Items": [
|
|
|
{"Name": "name", "Label":"Name", "Length":10 },
|
|
|
{"Name":"File"},
|
|
|
{"Name":"Point", "Style": "Spatial3D", "OptionPlacement": "Widget", "GroupValues": "true"},
|
|
|
{"Name": "Group1", "GroupChildren":"false", "Layout": {
|
|
|
"Type": "Form", "ShowAllItems":true}
|
|
|
"instanced": {
|
|
|
"title": "My Title",
|
|
|
"attributes": [
|
|
|
{"name": "Att1",
|
|
|
"type": "AttDef1",
|
|
|
"layout": {
|
|
|
"type": "Form",
|
|
|
"items": [
|
|
|
{"name": "name", "label": "Name", "length":10 },
|
|
|
{"name": "File"},
|
|
|
{"name": "Point", "style": "Spatial3D", "option placement": "Widget", "group values": true},
|
|
|
{"name": "Group1", "group children": false, "layout": {
|
|
|
"type": "Form", "show all items": true}
|
|
|
},
|
|
|
{"Name":"Temp", "ShowUnits":true},
|
|
|
{"Name":"startT", "Label":"Start Time", "GroupChildren":"true", "OmitChildrebLabels":true, "Layout":{
|
|
|
"Type":"Horizontal",
|
|
|
"Items":[
|
|
|
{"Name":"Value"}, {"Name":"Units"}
|
|
|
{"name": "Temp", "ShowUnits": true},
|
|
|
{"name": "startT", "label": "Start Time", "group children": true, "omit children labels": true, "layout": {
|
|
|
"type": "Horizontal",
|
|
|
"items": [
|
|
|
{ "name": "Value" }, { "name": "Units" }
|
|
|
]
|
|
|
}},
|
|
|
{"Name":"Complex", "SingleWidget":"true", "Layout":{
|
|
|
"Type":"Form", "ShowAllItems":true}
|
|
|
{"name": "Complex", "single widget": true, "layout":{
|
|
|
"type":"Form", "show all items": true}
|
|
|
}
|
|
|
]
|
|
|
}
|
... | ... | |