| Revision 2,
764 bytes
checked in by jdalbey, 10 years ago
(diff) |
|
Initial Import of project files
|
| Rev | Line | |
|---|
| 1 | package tmcsim.common; |
|---|
| 2 | |
|---|
| 3 | import java.io.Serializable; |
|---|
| 4 | |
|---|
| 5 | /** |
|---|
| 6 | * The CCTVInfo object holds information that is used during a simulation to |
|---|
| 7 | * toggle a CCTV camera (referenced by the ID and direction) to begin or |
|---|
| 8 | * stop showing incident data. |
|---|
| 9 | * |
|---|
| 10 | * @author |
|---|
| 11 | * @version |
|---|
| 12 | */ |
|---|
| 13 | @SuppressWarnings("serial") |
|---|
| 14 | public class CCTVInfo implements Serializable { |
|---|
| 15 | |
|---|
| 16 | /** Paramics CCTV unique id. */ |
|---|
| 17 | public int cctv_id; |
|---|
| 18 | |
|---|
| 19 | /** Direction of CCTV. */ |
|---|
| 20 | public CCTVDirections direction; |
|---|
| 21 | |
|---|
| 22 | /** Flag to designate whether the CCTV is being toggled on(true) or off(false). */ |
|---|
| 23 | public boolean toggle; |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | /** |
|---|
| 27 | * Constructor. |
|---|
| 28 | */ |
|---|
| 29 | public CCTVInfo() { |
|---|
| 30 | cctv_id = 0; |
|---|
| 31 | direction = CCTVDirections.NORTH; |
|---|
| 32 | toggle = false; |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.