Resources
A Resource is part of a Workgroup, it has a capacity Calendar and Aptitudes. A resource can be used to represent a finite Capacity in the schedule like a machine, a storage, a work area or agent(s).
A resource has the following elements:
- ID is a unique string that identifies the Workgroup
- Name is a textual short string used for display purposes
- Description is a longer HTML string that can be used to hold a description of the Workgroup
- Capacity is the nominal Capacity of the resource, used to size charts and graphs
- CapacityUnit is a text string describing in which units the Capacity is measured
- Aptitudes is an array of Aptitudes that the Resource has
- Calendar is the Capacity Calendar of the Resource, it specifies how much Capacity (if any) the Resource has at any point in time.
If a Name contains a newline character ("\"n", ASCII 10) it will be displayed on two lines, in a smaller font size, and with the first line slightly bigger than the second one.
Example
{
"ID": "R1-1",
"Name": "R1 MECAPLUS",
"Description": "R1 MECAPLUS Milling Machine",
"Capacity": 1,
"CapacityUnit": "Piece",
"Attributes": [1, 5],
"Aptitudes": ["Milling"],
"Calendar": [
[-1200, -240, 1, "Day 1"],
[-240, 240, 0, "Night 1"],
[240, 1200, 1, "Day 2"],
[1200, 1680, 0, "Night 2"],
[1680, 2640, 1, "Day 3"],
[2640, 3120, 0, "Night 3"]
]
}
"ID": "R1-1",
"Name": "R1 MECAPLUS",
"Description": "R1 MECAPLUS Milling Machine",
"Capacity": 1,
"CapacityUnit": "Piece",
"Attributes": [1, 5],
"Aptitudes": ["Milling"],
"Calendar": [
[-1200, -240, 1, "Day 1"],
[-240, 240, 0, "Night 1"],
[240, 1200, 1, "Day 2"],
[1200, 1680, 0, "Night 2"],
[1680, 2640, 1, "Day 3"],
[2640, 3120, 0, "Night 3"]
]
}