haifa.shopsim
Class WillingRestStartedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--haifa.shopsim.ShopChangeEvent
|
+--haifa.shopsim.WillingRestStartedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class WillingRestStartedEvent
- extends ShopChangeEvent
A ShopChangeEvent that siginifies that a machine started a willing rest.
- Version:
- 1.1
- See Also:
- Serialized Form
Field Summary |
private int |
machineNumber
The machine that finished the processing. |
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getMachineNumber()
Returns the machineNumber of the machine that started to rest. |
java.lang.String |
toString()
to String represtntation. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
machineNumber
private int machineNumber
- The machine that finished the processing.
WillingRestStartedEvent
public WillingRestStartedEvent(java.lang.Object source,
double time,
int machineNumber_)
- Constructor.
toString
public java.lang.String toString()
- to String represtntation.
- Overrides:
toString
in class ShopChangeEvent
getMachineNumber
public int getMachineNumber()
- Returns the machineNumber of the machine that started to rest.