Changeset 145 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/CadData.java
- Timestamp:
- 11/04/2019 08:14:32 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/scriptbuilder/structures/CadData.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/CadData.java
r143 r145 15 15 locInfo = new ArrayList<Location_Info>(); 16 16 } 17 18 /** 19 * Constructor to add type and location, where TruncLoc is the first 5 letters of the fullloc. 20 * @param Header_Type 21 * @param Header_FullLoc 22 */ 23 public CadData(String Header_Type, String Header_FullLoc) 24 { 25 this.Header_Type = Header_Type; 26 this.Header_FullLoc = Header_FullLoc; 27 // if(Header_FullLoc.length()>10) 28 // { 29 // this.Header_TruncLoc = Header_FullLoc.substring(0,9); 30 // } 31 this.Header_TruncLoc = Header_FullLoc; 32 locInfo = new ArrayList<Location_Info>(); 33 } 17 34 18 35 public TimeSlice tSlice; 19 36 20 public String Header_Type = " DEFAULT";37 public String Header_Type = ""; 21 38 22 39 public String Header_Beat = ""; 23 40 24 public String Header_TruncLoc = " Default Location (short)";25 26 public String Header_FullLoc = " Default Location (long)";41 public String Header_TruncLoc = ""; 42 43 public String Header_FullLoc = ""; 27 44 28 45 public String Master_Inc_Num = ""; … … 134 151 } 135 152 136 if (hasHeaderInfo() || true) //checking to see if header info is always necessary 137 { 153 if (hasHeaderInfo()) //checking to see if header info is always necessary 154 { 155 //todo: make this logic trigger only once per incident 138 156 output += XMLWriter.openTag(ELEMENT.HEADER_INFO.tag); 139 157
Note: See TracChangeset
for help on using the changeset viewer.
