-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAfterCall.java
More file actions
35 lines (26 loc) · 735 Bytes
/
AfterCall.java
File metadata and controls
35 lines (26 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package simModel;
import simulationModelling.SequelActivity;
public class AfterCall extends SequelActivity{
int requestType;
int operatorType;
SMTravel model;
public AfterCall(int requestType, int operatorType, SMTravel model){
this.requestType = requestType;
this.operatorType = operatorType;
this.model = model;
}
@Override
protected double duration() {
return model.rvp.uAfterCallTime(requestType);
}
@Override
public void startingEvent() {
; // Do nothing
}
@Override
protected void terminatingEvent() {
model.rgOperators[operatorType].numOfBusy --;
//model.output.finished++; // debug only, do remember to remove it
//System.out.println(model.rgOperators[operatorType].numOfBusy);
}
}