| Revision 66,
731 bytes
checked in by jdalbey, 9 years ago
(diff) |
|
Import Paramics Simulator.
|
| Line | |
|---|
| 1 | package paramsim.paramicssimulator; |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * A class which encapsulates a message to a Paramics Simulator log. |
|---|
| 5 | * Contains both the log the message is intended to be recieved by, |
|---|
| 6 | * and the message itself. |
|---|
| 7 | * |
|---|
| 8 | * @author Greg Eddington |
|---|
| 9 | **/ |
|---|
| 10 | public class ParamicsSimulatorLogMessage |
|---|
| 11 | { |
|---|
| 12 | /** |
|---|
| 13 | * Enumeration of message logs |
|---|
| 14 | * @author Greg Eddington |
|---|
| 15 | **/ |
|---|
| 16 | public static enum PARAMICS_SIMULATOR_LOG |
|---|
| 17 | { |
|---|
| 18 | PARAMICS_STATUS, |
|---|
| 19 | CAMERA_STATUS, |
|---|
| 20 | EXCHANGE, |
|---|
| 21 | ERROR |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | /** The log message **/ |
|---|
| 25 | public String message; |
|---|
| 26 | |
|---|
| 27 | /** The specific log **/ |
|---|
| 28 | public PARAMICS_SIMULATOR_LOG log; |
|---|
| 29 | |
|---|
| 30 | /** Constructor **/ |
|---|
| 31 | public ParamicsSimulatorLogMessage(PARAMICS_SIMULATOR_LOG log, String message) |
|---|
| 32 | { |
|---|
| 33 | this.message = message; |
|---|
| 34 | this.log = log; |
|---|
| 35 | } |
|---|
| 36 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.