Commit 35a9a583 authored by Jérome Perrin's avatar Jérome Perrin

capacity project model: set priority on tabs and properties

Also add missing names on properties
parent 98f4606c
...@@ -89,8 +89,9 @@ ...@@ -89,8 +89,9 @@
}, },
"view": { "view": {
"gadget": "Input_viewProductionLine", "gadget": "Input_viewProductionLine",
"title": "ProductionLine", "title": "Production Line",
"type": "object_view" "type": "object_view",
"priority": 10
}, },
"view_available_capacity_spreadsheet": { "view_available_capacity_spreadsheet": {
"configuration": { "configuration": {
...@@ -631,29 +632,37 @@ ...@@ -631,29 +632,37 @@
"id": { "id": {
"default": "M", "default": "M",
"required": true, "required": true,
"type": "string" "type": "string",
"priority": 5
}, },
"name": { "name": {
"default": "Machine", "default": "Machine",
"type": "string" "type": "string",
"priority": 4
}, },
"pool": { "pool": {
"_default": "", "_default": "",
"name": "Worker Pool",
"description": "The pool of workers that is used for this station. If this station does not share resources leave empty", "description": "The pool of workers that is used for this station. If this station does not share resources leave empty",
"required": false, "required": false,
"type": "string" "type": "string",
"priority": 3
}, },
"priority": { "priority": {
"_default": "", "_default": "",
"name": "Priority",
"description": "The priority against other stations. If this station does not share resources leave empty", "description": "The priority against other stations. If this station does not share resources leave empty",
"required": false, "required": false,
"type": "number" "type": "number",
"priority": 2
}, },
"requireFullProject": { "requireFullProject": {
"_default": 0, "_default": 0,
"name": "Is Assembly ?",
"description": "Is this station an assembly? Yes: 1, No: 0", "description": "Is this station an assembly? Yes: 1, No: 0",
"required": true, "required": true,
"type": "number" "type": "number",
"priority": 1
} }
}, },
"type": "object" "type": "object"
...@@ -1359,4 +1368,4 @@ ...@@ -1359,4 +1368,4 @@
"result": { "result": {
"result_list": [] "result_list": []
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment