Index: trunk/src/tmcsim/highwaymodel/LoopDetector.java
===================================================================
--- trunk/src/atmsdriver/model/LoopDetector.java	(revision 343)
+++ trunk/src/tmcsim/highwaymodel/LoopDetector.java	(revision 422)
@@ -1,3 +1,3 @@
-package atmsdriver.model;
+package tmcsim.highwaymodel;
 
 import java.util.ArrayList;
@@ -12,4 +12,13 @@
  *  occ, and spd.
  *
+ * Lane Type 	A string indicating the type of lane. Possible values (and their meaning) are:
+ *
+ *    CD (Coll/Dist)
+ *    CH (Conventional Highway)
+ *    FF (Fwy-Fwy connector)
+ *    FR (Off Ramp)
+ *    HV (HOV)
+ *    ML (Mainline)
+ *    OR (On Ramp)
  * @author John A. Torres
  * @version 09/10/2017
@@ -28,4 +37,5 @@
     /**
      * Constructs a LoopDetector from loopID, loopLocation, and laneNum
+     * with initially free flowing traffic.
      * 
      * @param loopID
@@ -44,4 +54,24 @@
     }
     
+    /** 
+     * Setter for loop detector dynamic attributes.  Reserved for future use
+     * with "live" highway data.
+     * @param vol volume
+     * @param occ occupancy
+     * @param spd speed not used
+     */
+    public void setAttributes(int vol, float occ)
+    {
+        this.vol = vol;
+        this.occ = occ;
+    }
+    /** Set the attributes of this detector given a color.
+     * @param DOTCOLOR of the attributes to assign. 
+     */
+    public void setAttributes(DOTCOLOR color)
+    {
+        this.vol = color.volume();
+        this.occ = color.occupancy();
+    }
     /**
      * XML tags used for toXML() method.
@@ -100,16 +130,4 @@
         return build.toString();
     }
-    
-    /** 
-     * Updates loop detector dynamic attributes.
-     * @param vol volume
-     * @param occ occupancy
-     * @param spd speed
-     */
-    public void updateLoop(int vol, float occ)
-    {
-        this.vol = vol;
-        this.occ = occ;
-    }
 
     /**
@@ -144,5 +162,5 @@
     /**
      * Enum for highway status dot colors. Each color has associated volume
-     * and occupancy constants.
+     * and occupancy constants, single character symbol, and hml color name.
      *
      * @author John A. Torres, jdalbey
@@ -151,7 +169,7 @@
     public static enum DOTCOLOR {
 
-        RED(1, 0.06f),    // "Stopped" is less than 25mph
-        YELLOW(3,0.059f), // speed = 26
-        GREEN(0,0);
+        RED(1, 0.06f,'@',"red"),    // "Stopped" is less than 25mph
+        YELLOW(3,0.059f,'+',"yellow"), // speed = 26
+        GREEN(0,0,'-',"lime");       // freeflowing
         
         // All the first letters of the values, in order.
@@ -160,9 +178,14 @@
         private int vol;  /* volume */
         private float occ;  /* occupancy */      
-        
-        private DOTCOLOR(int v, float o)
+        private char symbol; /* symbolic representation of this color */
+        private String htmlColor; /* html color name */
+        
+        
+        private DOTCOLOR(int v, float o, char symbol, String htmlColor)
         {
             vol = v;
             occ = o;
+            this.symbol = symbol;
+            this.htmlColor = htmlColor;
         }
         /**
@@ -183,9 +206,17 @@
             return occ;
         }
+        public char symbol()
+        {
+            return symbol;
+        }
+        public String htmlColor()
+        {
+            return htmlColor;
+        }
         /**
-         * Returns a dot color given its first character.
+         * Returns a DOTCOLOR given its first character.
          *
-         * @param letter the first character of a dot color
-         * @return dot color corresponding to letter
+         * @param letter the first character of a DOTCOLOR
+         * @return DOTCOLOR corresponding to letter
          * @pre letter must be one of allLetters
          */
