Changeset 184 in tmcsimulator for trunk/src/atmsdriver/model/LoopDetector.java
- Timestamp:
- 10/28/2017 05:24:02 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/model/LoopDetector.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/LoopDetector.java
r180 r184 6 6 import org.w3c.dom.Element; 7 7 8 /** A LoopDetector represents a single detector for a single lane in a network. 8 /** 9 * A LoopDetector represents a single detector for a single lane in a network. 9 10 * 10 11 * A LoopDetector contains static meta data, and three dynamic attributes: vol, … … 26 27 private int spd; 27 28 29 /** 30 * Constructs a LoopDetector from loopID, loopLocation, and laneNum 31 * 32 * @param loopID 33 * @param loopLocation 34 * @param laneNum 35 */ 28 36 public LoopDetector(int loopID, String loopLocation, int laneNum) 29 37 { … … 39 47 } 40 48 49 /** 50 * XML tags used for toXML() method. 51 */ 41 52 private static enum XML_TAGS 42 53 { … … 89 100 this.spd = spd; 90 101 } 91 102 103 /** 104 * Returns the LoopDetector data in XMLFormat 105 * 106 * @param currElem The current XML <LoopDetector> element 107 */ 92 108 public void toXML(Element currElem) 93 109 {
Note: See TracChangeset
for help on using the changeset viewer.
