Changeset 203 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/events/ParamicsEvent.java
- Timestamp:
- 02/01/2020 04:18:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/events/ParamicsEvent.java
r76 r203 10 10 import scriptbuilder.structures.I_XML_Writable; 11 11 import scriptbuilder.structures.ScriptEvent; 12 import scriptbuilder.structures.XML Writer;12 import scriptbuilder.structures.XMLBuilder; 13 13 14 14 /** … … 40 40 public String toXML() 41 41 { 42 String output = XML Writer.openTag(ELEMENT.PARAMICS.tag + " LocationID=\"" + locationID + "\"");42 String output = XMLBuilder.openTag(ELEMENT.PARAMICS.tag + " LocationID=\"" + locationID + "\""); 43 43 44 output += XML Writer.simpleTag(status, ELEMENT.Status);44 output += XMLBuilder.simpleTag(status, ELEMENT.Status); 45 45 46 46 if (!type.equals("")) 47 47 { 48 output += XML Writer.simpleTag(type, ELEMENT.Incident_type);48 output += XMLBuilder.simpleTag(type, ELEMENT.Incident_type); 49 49 } 50 50 51 51 for (Integer lane : laneNums) 52 52 { 53 output += XML Writer.simpleTag("" + lane, ELEMENT.Lane_number);53 output += XMLBuilder.simpleTag("" + lane, ELEMENT.Lane_number); 54 54 } 55 output += XML Writer.closeTag(ELEMENT.PARAMICS.tag);55 output += XMLBuilder.closeTag(ELEMENT.PARAMICS.tag); 56 56 57 57 return output;
Note: See TracChangeset
for help on using the changeset viewer.
