semi合集-English.pdf - 第2711页

SEMI E97-0200A © SEMI 2000 31 MESFactoryStateChangedFil ters Properties: Name Value Type Description “MESFact oryName” strin g The n ame of the MES Factory. “Previo usState” MESF actoryState P reviou s state preced ing t…

100%1 / 7923
SEMI E97-0200A © SEMI 2000 30
6.7.2 Factory Declarations
6.7.2.1 The following declarations are used by the interfaces of the Factory Component.
interface ComponentManager;
interface Area;
typedef sequence <ComponentManager> ComponentManagerSequence;
typedef sequence <Area> AreaSequence;
exception AreaNotFoundSignal {Area requestedArea;};
exception AreaDuplicateSignal {};
exception AreaNotAssignedSignal {};
exception AreaRemovalFailedSignal {};
6.7.3 MESFactory Interface
Module: FactoryOperations
Interface: MESFactory
Inherited Interface: AbstractIF::Resource
Description: The MESFactory interface represents one particular factory. This instance is a composite
object referring to the objects that represent factory resources, particularly CIM system
components. The factory instance provides overall startup and shutdown capability.
interface MESFactory : AbstractIF::Resource {
Exceptions: None.
Published Events:
/* MES Factory state change event definition. */
const string MESFactoryStateChangedSubject = “/Factory/MESFactory/StateChanged”;
/* This enumerated type identifies the states of the MES Factory. It is used in event notifications of state changes. */
enum MESFactoryState {
FactoryUndefined,
FactoryStartingUp,
FactoryOperating,
FactoryGoingToStandby,
FactoryStandby,
FactoryShuttingDownImmediately,
FactoryShuttingDownNormally,
FactoryOff };
struct MESFactoryStateChangedFilters {
Global::Property name;
Global::Property previousState;
Global::Property newState;
};
SEMI E97-0200A © SEMI 200031
MESFactoryStateChangedFilters Properties:
Name Value Type Description
“MESFactoryName” string The name of the MES Factory.
“PreviousState” MESFactoryState Previous state preceding the most recent change.
“NewState” MESFactoryState New state following the most recent change.
struct MESFactoryStateChangedEvent {
string eventSubject;
Global::TimeStamp eventTimeStamp;
MESFactoryStateChangedFilters eventFilterData;
Global::Properties eventNews;
MESFactory aMESFactory;
};
/* Registration of Component Manager has changed */
const string ComponentManagerRegistrationChangedSubject =
“/Factory/MESFctory/ComponentManagerRegistrationChanged”;
/* This enumerated type identifies the states of Component Manager registration. It is used in event notifications of
state changes. */
enum RegistrationState {
RegistrationUndefined,
Registered,
NotRegistered };
struct RegistrationChangedFilters {
Global::Property MESFactoryName;
Global::Property componentManagerName;
Global::Property newState;
};
RegistrationChangedFilters Properties:
Name Value Type Description
“MESFactoryName” string The name of the MES Factory.
“ComponentManagerName” string The name of the Component Manager.
“NewState” RegistrationState New state following the most recent change.
struct ComponentManagerRegistrationChangedEvent {
string eventSubject;
Global::TimeStamp eventTimeStamp;
RegistrationChangedFilters eventFilterData;
Global::Properties eventNews;
MESFactory aMESFactory;
ComponentManager aComponentManager;
};
Provided Services:
/* Add an area to the receiver. Returns the area. */
Area addArea (in Area anArea)
raises (AreaDuplicateSignal,
Global::FrameworkErrorSignal);
SEMI E97-0200A © SEMI 2000 32
/* Remove an area from the receiver. Returns the area removed. */
Area removeArea (in Area anArea)
raises (Global::FrameworkErrorSignal,
AreaRemovalFailedSignal,
AreaNotAssignedSignal);
/* Returns the factory areas */
AreaSequence allAreas ()
raises (Global::FrameworkErrorSignal);
/* Returns collections of various factory resources. */
EquipmentTracking::MachineSequence allMachines ()
raises (Global::FrameworkErrorSignal);
/* Returns a collection of the component managers for the factory. */
ComponentManagerSequence allComponentManagers ()
raises (Global::FrameworkErrorSignal);
/* A component informs the factory that it has completed startup. */
void informComponentManagerIsOperating (in ComponentManager aComponentManager)
raises (Global::FrameworkErrorSignal);
/* A component informs the factory that it has completed shutdown. */
void informComponentManagerIsStopped (in ComponentManager aComponentManager)
raises (Global::FrameworkErrorSignal);
/* Factory is requested to go to STARTING UP state. Note MESFactory inherits from the Resource interface and is
started up using the operations defined in that interface. During the startup and shutdown the factory delegates
appropriate requests to all registered components. */
void makeStartingUp ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* Factory is requested to specified state. */
void makeOperating ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
void makeStandby ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
void makeShuttingDownNormaly ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
void makeShuttingDownImmediately ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
void makeOff ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* Answer whether the factory is in the state indicated */