mode_of_operation

class InserterModeOfOperationMixin

(Implicitly inherits ControlBehaviorMixin)

Gives the Inserter a mode of operation constant.

property mode_of_operation: InserterModeOfOperation

The behavior that the inserter should follow when connected to a circuit network.

Getter:

Gets the mode of operation, or None if not set.

Setter:

Sets the mode of operation. Removes the key if set to None.

Type:

draftsman.constants.InserterModeOfOperation

Raises:

ValueError – If set to a value that cannot be interpreted as a valid InserterModeOfOperation.

class LogisticModeOfOperationMixin

(Implicitly inherits ControlBehaviorMixin)

Gives the Logistics container a mode of operation constant.

property mode_of_operation: LogisticModeOfOperation

The behavior that the logistic container should follow when connected to a circuit network.

Getter:

Gets the mode of operation, or None if not set.

Setter:

Sets the mode of operation. Removes the key if set to None.

Type:

draftsman.constants.LogisticModeOfOperation

Raises:

ValueError – If set to a value that cannot be interpreted as a valid LogisticModeOfOperation.