Class ChartStatusEvent
- java.lang.Object
-
- com.inductiveautomation.sfc.recorder.Event
-
- com.inductiveautomation.sfc.recorder.ChartStatusEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ChartStateEvent,ElementStateEvent
public class ChartStatusEvent extends Event
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPEID
-
Constructor Summary
Constructors Constructor Description ChartStatusEvent()ChartStatusEvent(ChartStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfromJson(JSONObject object)protected java.lang.StringgetElementStatusType(ChartStatus.ElementStatus status)This ignores parallel, which seems to not be used.ChartStatusgetStatus()java.lang.StringgetType()protected voidtoJson(JSONObject object)-
Methods inherited from class com.inductiveautomation.sfc.recorder.Event
createFrom, getTimestamp, toJson
-
-
-
-
Field Detail
-
TYPEID
public static final java.lang.String TYPEID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChartStatusEvent
public ChartStatusEvent()
-
ChartStatusEvent
public ChartStatusEvent(ChartStatus status)
-
-
Method Detail
-
getStatus
public ChartStatus getStatus()
-
fromJson
protected void fromJson(JSONObject object) throws JSONException
- Overrides:
fromJsonin classEvent- Throws:
JSONException
-
toJson
protected void toJson(JSONObject object) throws JSONException
- Overrides:
toJsonin classEvent- Throws:
JSONException
-
getElementStatusType
protected java.lang.String getElementStatusType(ChartStatus.ElementStatus status)
This ignores parallel, which seems to not be used.
-
-