source: tmcsimulator/trunk/src/paramsim/paramicssimulator/SimulationCamera.java @ 66

Revision 66, 1.6 KB checked in by jdalbey, 9 years ago (diff)

Import Paramics Simulator.

Line 
1package paramsim.paramicssimulator;
2
3/**
4 * A class which encapsulates all information pertaining to a ParamicSimulator
5 * camera.
6 *
7 * @author Greg Eddington
8 */
9public class SimulationCamera 
10{
11        /**
12         * A road direction enumeration.
13         *
14         * @author Greg Eddington
15         */
16        public static enum ROAD_DIRECTION
17        {
18                /** North **/
19                NORTH("NB"),
20               
21                /** South **/
22                SOUTH("SB"),
23               
24                /** East **/
25                EAST("EB"),
26               
27                /** West **/
28                WEST("WB");
29               
30                /** The XML string of the field, used for updating camera_status.xml **/
31                public String xml;
32               
33                /** Constructor **/
34                private ROAD_DIRECTION(String str)
35                {
36                        this.xml = str;
37                }
38        }
39       
40        /** Camera ID **/
41        public int id;
42       
43        /** The route the camera is watching **/
44        public String route;
45       
46        /** The route direction **/
47        public ROAD_DIRECTION direction;
48       
49        /** The postmile of the route **/
50        public float postmile;
51       
52        /** The average speed the camera is recording North or East **/
53        public float averageSpeedNE;
54       
55        /** The average speed the camera is recording South or West **/
56        public float averageSpeedSW;
57       
58        /** The minimum speed for the camera to show stopped footage **/
59        public float minStoppedSpeed;
60       
61        /** The maxmimum speed for the camera to show stopped footage **/
62        public float maxStoppedSpeed;
63       
64        /** The minimum speed for the camera to show slowed footage **/
65        public float minSlowSpeed;
66       
67        /** The maximum speed for the camera to show slowed footage **/
68        public float maxSlowSpeed;
69       
70        /** The minimum speed for the camera to show free flow footage **/
71        public float minFreeFlowSpeed;
72       
73        /** The maximum speed for the camera to show free flow footage **/
74        public float maxFreeFlowSpeed;
75}
Note: See TracBrowser for help on using the repository browser.