Interface IDtoDevice
- All Known Implementing Classes:
DtoDevice
public interface IDtoDevice
Details about the capabilities and availabilities of a device (that can execute jobs).
-
Method Summary
Modifier and TypeMethodDescriptionAvailable times on this device.If/with how much capacity the device can run its available processes in parallel.The deviceStateAspects of this devices, including initial values.getId()String[]The different processes this Device can execute (OR).Reserved times on this device.The parameters for the default setup costs for this device.The parameters for the default setup durations for this device.The parameters for the default teardown costs for this device.The parameters for the default teardown durations for this device.voidsetAvailabilities(IDtoDeviceAvailability[] availabilities) Available times on this device.voidsetCapacity(IDtoDeviceCapacity capacity) If/with how much capacity the device can run its available processes in parallel.voidsetDeviceStateDeclaration(IDtoDeviceStateAspectDeclaration[] deviceStateDeclaration) The deviceStateAspects of this devices, including initial values.voidvoidsetProcesses(String[] processes) The different processes this Device can execute (OR).voidsetReservations(IDtoDeviceReservation[] reservations) Reserved times on this device.voidsetSetupCostModel(String setupCostModel) The parameters for the default setup costs for this device.voidsetSetupDurationModel(String setupDurationModel) The parameters for the default setup durations for this device.voidsetTeardownCostModel(String teardownCostModel) The parameters for the default teardown costs for this device.voidsetTeardownDurationModel(String teardownDurationModel) The parameters for the default teardown durations for this device.
-
Method Details
-
getId
String getId() -
setId
-
getDeviceStateDeclaration
IDtoDeviceStateAspectDeclaration[] getDeviceStateDeclaration()The deviceStateAspects of this devices, including initial values. The transitionModel may only use these aspects. If processes used in this device provide aspect keys not listed here, they will not be used. If processes used in this device fail to provide one of the aspect keys listed here, the initial value will be used for that key.#TODO ask LL or we validate and throw some MissingKeyError. -
setDeviceStateDeclaration
The deviceStateAspects of this devices, including initial values. The transitionModel may only use these aspects. If processes used in this device provide aspect keys not listed here, they will not be used. If processes used in this device fail to provide one of the aspect keys listed here, the initial value will be used for that key.#TODO ask LL or we validate and throw some MissingKeyError. -
getProcesses
String[] getProcesses()The different processes this Device can execute (OR). May not be empty.#TODO ask LL or add Has to obey the deviceStateDeclaration. -
setProcesses
The different processes this Device can execute (OR). May not be empty.#TODO ask LL or add Has to obey the deviceStateDeclaration. -
getCapacity
IDtoDeviceCapacity getCapacity()If/with how much capacity the device can run its available processes in parallel. If not set, the device can only produce one job at a time. -
setCapacity
If/with how much capacity the device can run its available processes in parallel. If not set, the device can only produce one job at a time. -
getSetupCostModel
String getSetupCostModel()The parameters for the default setup costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
setSetupCostModel
The parameters for the default setup costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
getSetupDurationModel
String getSetupDurationModel()The parameters for the default setup durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
setSetupDurationModel
The parameters for the default setup durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
getTeardownCostModel
String getTeardownCostModel()The parameters for the default teardown costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
setTeardownCostModel
The parameters for the default teardown costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
getTeardownDurationModel
String getTeardownDurationModel()The parameters for the default teardown durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
setTeardownDurationModel
The parameters for the default teardown durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects. -
getAvailabilities
IDtoDeviceAvailability[] getAvailabilities()Available times on this device. Per default, the device is available always. -
setAvailabilities
Available times on this device. Per default, the device is available always. -
getReservations
IDtoDeviceReservation[] getReservations()Reserved times on this device. -
setReservations
Reserved times on this device.
-