s.incWaitTime(wait);
c.addWaitTime(wait);
if (r != null){
r.setLastStartTime(time);
ActivityPanel ap;
if (c instanceof SimCaseCopy){
((SimCaseCopy)c).getOriginal().getid();
Color rc = r.getColor();
Color co = new Color(rc.getRed(), rc.getGreen(), rc.getBlue(), ActivityPanel.AP_ALPHA);
ap = new ActivityPanel(time, (time + serv), s.getName() + " (" + s.getid() + ")", r.getName(), c, co);
} else {
ap = new ActivityPanel(time, (time + serv), s.getName() + " (" + s.getid() + ")", r.getName(), c, r.getColor());
}
sim.getActPanelList().add(ap);
sim.addLog(r.getName(), s.getName(), c.getid(), serv, wait, time);
}