Setup Center mit Setup Center Interface.pdf - 第30页
3 Application progra m interface (API) description SIPLACE Ausgabe 05/2007 30 Remarks 3 The message language dep ends from the Setup Center configuration setting "langua ge". 3 SetupChanged 3 Event will be thro…

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

3 Application program interface (API) description SIPLACE
Ausgabe 05/2007
30
Remarks 3
The message language depends from the Setup Center configuration setting "language". 3
SetupChanged 3
Event will be thrown, if PUs have changed. 3
3
PackagingQuantityChanged 3
Event will be thrown, if quantities of packaging units have changed. 3
3
3
3.1.8.3 Interface delegates
FeederChangedEventHandler 3
Eventhandler for FeederPlaced, FeederRemoved and FeederTearDown events from the line. Pa-
rameter - feederLocations: concerned feeder locations (array). 3
3
3
SetupChangedEventHandler 3
Eventhandler for changes within one setup. 3
3
3
SetupActiveEventHandler 3
Eventhandler for change of active setup. 3
3

SIPLACE 3 Application program interface (API) description
Ausgabe 05/2007
31
MessageHandler 3
Eventhandler for all exceptions and errors, which occur within Setup Center and below Parameter
- strMessages: list of messages (errors, warnings, infos ...) 3
3
3
PackagingQuantityChangedHandler 3
Eventhandler for quantity changes of packaging units. 3
3
3
3.1.9 Base class for implementation of callback event handler
(ASetupCenterCallback)
3.1.9.1 Public Instance Methods
3
3
3
3
3
Member name Description
OnFeederPlaced
Event will be thrown, if feeders are set up to the line
OnFeederRemoved
Event will be thrown, if feeders are removed from the line
OnMessagesReceived
Event will be thrown, if errors/warnings/infos occur within Setup
Center
OnNewSetupActive
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
OnPackagingQuantityChan-
ged
Event will be thrown, if quantities of packaging units have changed
OnSetupChanged
Event will be thrown, if Divisions / PUs have changed