FactoryStatusUpdate¶
- class scml.scml2019.FactoryStatusUpdate(balance, storage)[source]¶
Bases:
object
Attributes Summary
The update to the balance
The updates to be applied to the storage after this step
Methods Summary
combine
(other)Combines this status update with another one in place
combine_sets
(dst, src)Combines a set of updates over time with another in place (overriding
first
) :type dst:Dict
[int
,FactoryStatusUpdate
] :param dst: First set of updates to be combined into :type src:Dict
[int
,FactoryStatusUpdate
] :param src: second set of updates to be combined fromempty
()Makes the update an empty one.
Attributes Documentation
- is_empty¶
Methods Documentation
- combine(other)[source]¶
Combines this status update with another one in place
- Parameters
other (
FactoryStatusUpdate
) – The other status update- Return type
- Returns
None
- classmethod combine_sets(dst, src)[source]¶
Combines a set of updates over time with another in place (overriding
first
) :type dst:Dict
[int
,FactoryStatusUpdate
] :param dst: First set of updates to be combined into :type src:Dict
[int
,FactoryStatusUpdate
] :param src: second set of updates to be combined fromReturns: