Setup Center mit Setup Center Interface - 第28页
3 Application progra m interface (API) description SIPLACE Ausgabe 05/2007 28 Delete 3 Deletes the packa ging units with the correspon ding UID. 3 3 Parameters 3 packagingUnits 3 The packaging un it with the correspondin…

SIPLACE 3 Application program interface (API) description
Ausgabe 05/2007
27
Exceptions 3
Exceptions will not be thrown by this interface, as the underlying software doesn’t resolve excep-
tions by error codes. In addition, it’s yet not designed to throw exception lists of different exception
types. 3
Instead of exceptions, errors, warnings etc. will be published by the event MessagesReceived
(see below). 3
Create 3
Creates new packaging units. 3
3
Parameters 3
packagingUnits 3
The new packaging unit 3
Return Value 3
The list of successfully created packaging unit(s). Otherwise null, if operation was aborted be-
cause of a null reference. Packaging units which couldn't be created are not in this list. 3
Remarks 3
Check and creates new packaging units in the Setup Center database. This command can be use
to import packaging units before the Set or Refill action. If the packaging unit already exists, the
packaging unit won't be created. All errors which occurred during execution can be get Messages-
Received-event. 3
Get 3
Gets the first packaging unit of the splice chain, which contains the corresponding UID. 3
3
Parameters 3
packagingUnits 3
The first packaging unit of the splice chain. 3
Return Value 3
The packaging units; otherwise null. 3
3

3 Application program interface (API) description SIPLACE
Ausgabe 05/2007
28
Delete 3
Deletes the packaging units with the corresponding UID. 3
3
Parameters 3
packagingUnits 3
The packaging unit with the corresponding UID 3
Remarks 3
If the packaging unit is in use or is not the first piece of a splice chain (reel), the packaging unit
won't be deleted. All errors which occurred during execution can be get MessagesReceived-
event. 3
3
3.1.7 Interface ISetupCenterCallback
3.1.7.1 Public instance methods
3
3.1.8 Public instance events
3
3
Member name Description
SetMessageLevel
Levels to filter messages, which are published via this interface:
Valid values: "Debug", "Error", "Warn", "Info", "Detail"
Member name Description
FeederPlaced
Event will be thrown, if feeders are set up to the line
FeederRemoved
Event will be thrown, if feeders are removed from the line
MessagesReceived
Event will be thrown, if errors/warnings/infos occur within Setup
Center
NewSetupActive
Event will be thrown, if there is a new setup active on a station of
the line. The event will only be thrown, if the machine reports back
a new active setup
PackagingQuantityChanged
Event will be thrown, if quantities of packaging units have changed
SetupChanged
Event will be thrown, if PUs have changed

SIPLACE 3 Application program interface (API) description
Ausgabe 05/2007
29
3.1.8.1 Interface methods in detail
SetMessageLevel 3
Levels to filter messages, which are published via this interface: 3
3
Parameters 3
strLevel 3
Valid values: "Debug", "Error", "Warn", "Info", "Detail". 3
3.1.8.2 Interface events in detail
FeederPlaced 3
Event will be thrown, if feeders are set up to the line. 3
3
3
FeederRemoved 3
Event will be thrown, if feeders are removed from the line. 3
3
3
NewSetupActive 3
Event will be thrown, if there is a new setup active on a station of the line. The event will only be
thrown, if the machine reports back a new active setup. 3
3
3
MessagesReceived 3
Event will be thrown, if errors/warnings/infos occur within Setup Center. 3
3
3
3