Skip to content
Snippets Groups Projects
Commit 4996cf3c authored by Brutzman, Don's avatar Brutzman, Don
Browse files

renames for correctness/clarity

parent 62e4bf45
No related branches found
No related tags found
No related merge requests found
......@@ -69,14 +69,18 @@ public class TwoCraneBerthsOpenDis7 extends SimEntityBase
super.reset();
queue.clear();
berth.clear();
timeInSystem = Double.NaN;
delayInQueue = Double.NaN;
timeInSystem = Double.NaN; // Not a Number
delayInQueue = Double.NaN; // Not a Number
}
/**
* Only PropertyChangeEvents
*/
public void doRun() {
disChannel.setVerboseComments(true);
disChannel.setVerboseComments(true);
// TODO what is happening? not seen in logs...
firePropertyChange("queue", getQueue());
firePropertyChange("berth", getBerth());
firePropertyChange("timeInSystem", getTimeInSystem());
......@@ -291,7 +295,8 @@ public class TwoCraneBerthsOpenDis7 extends SimEntityBase
disTimeStamp += craneRotationDelay;
espduCrane.setEntityOrientation(orientationToPier);
disChannel.sendSinglePdu(disTimeStamp, espduCrane);
disChannel.sendCommentPdu(disTimeStamp, VariableRecordType.CARGO, "Crane oriented to pier after " + craneRotationDelay + " seconds");
disChannel.sendCommentPdu(disTimeStamp, VariableRecordType.CARGO, "Crane oriented to pier after " + craneRotationDelay + " seconds" +
" (" + craneRotationRate + " degrees/second)");
// 4.d crane unhooks container
disTimeStamp += containerDetachDuration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment