Request control (processing importer)

Click this and select a Method object in which you programmed how the material flow object requests Exporters/Workers. The object calls the control, when the importers by default send a request to the Broker.

The request control, the receive control, and the release control are not called when you reset the simulation.

Or you can select the Method in a Frame, drag it to the text box and drop it there.

Or you can right-click in the text box. Then, select Create Control on the context menu to create a control method, which is a user-defined attribute of data type method of this object:

  • Enter a meaningful name into the text box and select Create Control. Plant Simulation then inserts self.Name_you_entered_for_the_control, such as self.ExitControlEnginePlant. Or

  • Select Create Control. Plant Simulation then inserts self.OnRequest.

    Enter the source code of this control into the Method that opens.

  • To delete this control, delete the user-defined attribute; deleting the name from the text box just deletes the name, but keeps the user-defined attribute.

    Note:

    To open the dialog of the object, whose name you entered into the text box, click in the text box, and press the F2 key.

The standard request control looks like this:

Parameter

The request control has to define the parameter Importer type of data type integer, which designates the type of the importer. You, the user, have to request the Exporters/Workers with the method import.

SimTalk:

imp.RequestCtrl

imp.import