public class MonitorEvent
extends java.lang.Object
| Constructor and Description |
|---|
MonitorEvent(boolean isSuccess,
java.lang.String okHouseAndUnitCode,
java.lang.String failHouseAndUnitCode,
java.lang.String port,
java.util.Date date)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate()
Get the date of the event
|
java.lang.String |
getFailHouseAndUnitCode()
Get house and unit code of fail device
|
java.lang.String |
getOkHoudseAndUnitCode()
Get house and unit code of ok device
|
java.lang.String |
getPort()
Get port of device communication
|
boolean |
isSuccess()
Get status of last monitoring
|
public MonitorEvent(boolean isSuccess,
java.lang.String okHouseAndUnitCode,
java.lang.String failHouseAndUnitCode,
java.lang.String port,
java.util.Date date)
isSuccess - okHouseAndUnitCode - failHouseAndUnitCode - date - public java.util.Date getDate()
public java.lang.String getFailHouseAndUnitCode()
public java.lang.String getPort()
public boolean isSuccess()
public java.lang.String getOkHoudseAndUnitCode()
JCSC is released under the terms of the GNU General Public License