Appearance
Equipment area
Component options for @mes/aps@1.23.0. Prefix Settings names with schedule.; see how to fill in a record.
Configure the equipment title, row labels, empty rows, unavailability shading, layer order and current-time line. Related guides cover supplies and requests, operations, sidebar sizes, row height, and tooltip row rules.
Equipment list
appSettings.equipmentAreaSettings.ganttTitle
Text in the upper-left cell above the equipment list, beside the time scale.
- Type: string.
- Default:
Диаграмма Ганта. - An empty string leaves the cell without text.
hideEmptyUnits
Hides equipment with no scheduled operations from both the list and chart.
- Type: boolean.
- Default:
false. - Applied when the equipment list is loaded. The application can toggle it on an existing chart; this option sets its initial state.
equipmentInfoConfig
Equipment row content: the first row is its visible label; hovering displays all configured rows. Without configuration the label uses workUnitObjectName, or workUnitObjectItemId when the name is absent.
Supported equipment fields are workUnitObjectName, workUnitObjectItemId, workUnitObjectGuid, and finite; only these fields are guaranteed.
Main chart layers
appSettings.equipmentAreaSettings.showAvailability
Draws hatched equipment unavailability behind operation bars. false removes the layer entirely.
- Type: boolean.
- Default:
true. - Hatch color/style come from calendar data. The declared
appSettings.drawPreferences.availabilityPatternColordefault#737373is not read.
swapLayers
With true, unavailability shading appears over operation bars.
- Type: boolean.
- Default:
false. - The application can change layer order on an existing chart; this sets the initial state.
Current-time line
appSettings.equipmentAreaSettings.showTerminator
Shows the movable vertical current-time line.
- Type: boolean.
- Default:
true. - Read once when the chart is created; changing it on an existing chart has no effect.
- An active constraints pointer hides the line regardless of this value. Its position is set by the application or by dragging, not stored in this option.
appSettings.showTimelineTooltipDelay
Milliseconds for which the line's time label remains visible after moving it. Each move restarts the timer. This does not control other tooltips.
- Type: number, milliseconds.
- Default:
5000. - No label appears when
showTerminatorisfalse. Locale and timezone determine its time format.
Example
A custom title, no empty equipment rows or unavailability shading, immediate removal of the moved line's time label, and equipment name/code rows:
json
{
"hideEmptyUnits": true,
"appSettings": {
"equipmentAreaSettings": {
"ganttTitle": "Workshop 3 equipment",
"showAvailability": false
},
"showTimelineTooltipDelay": 0
},
"equipmentInfoConfig": {
"workUnitObjectName": { "label": "", "order": 1 },
"workUnitObjectItemId": { "label": "Code", "order": 2 }
}
}Equipment without scheduled operations has no row. The header reads “Workshop 3 equipment”; no unavailability shading is drawn. Each equipment row displays its name; hovering also shows a row such as Code: ST-12.