Job

class scml.scml2019.Job(profile, time, line, action, contract, override)[source]

Bases: object

Describes a job to be run on one production line of a Factory.

Attributes Summary

action

The command type.

contract

The sell contract associated with the command

line

Index of the line on which the job is to be scheduled.

override

Whether to override existing commands when the job is to be executed.

profile

The process for run commands

time

The time the command is to be executed

Attributes Documentation

action

The command type. For the current implementation it can be run/pause/resume/stop/cancel with cancel cancelling any other command type.

contract

The sell contract associated with the command

line

Index of the line on which the job is to be scheduled. Notice that it will be ignored for run actions.

override

Whether to override existing commands when the job is to be executed.

profile

The process for run commands

time

The time the command is to be executed