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.String
TYPEID
-
Constructor Summary
Constructors Constructor Description ChartStatusEvent()
ChartStatusEvent(ChartStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fromJson(JSONObject object)
protected java.lang.String
getElementStatusType(ChartStatus.ElementStatus status)
This ignores parallel, which seems to not be used.ChartStatus
getStatus()
java.lang.String
getType()
protected void
toJson(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:
fromJson
in classEvent
- Throws:
JSONException
-
toJson
protected void toJson(JSONObject object) throws JSONException
- Overrides:
toJson
in classEvent
- Throws:
JSONException
-
getElementStatusType
protected java.lang.String getElementStatusType(ChartStatus.ElementStatus status)
This ignores parallel, which seems to not be used.
-
-