Package io.openems.edge.simulator.app
Class ExecuteSimulationRequest.Profile
- java.lang.Object
-
- io.openems.edge.simulator.app.ExecuteSimulationRequest.Profile
-
- Enclosing class:
- ExecuteSimulationRequest
public static class ExecuteSimulationRequest.Profile extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.Integer>
values
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteSimulationRequest.Profile
from(com.google.gson.JsonArray j)
CreateExecuteSimulationRequest.Profile
fromJsonArray
.java.lang.Integer
getCurrentValue()
Gets the currently active value of theExecuteSimulationRequest.Profile
.void
selectNextValue()
Selects the next active value in theExecuteSimulationRequest.Profile
.
-
-
-
Method Detail
-
from
public static ExecuteSimulationRequest.Profile from(com.google.gson.JsonArray j) throws OpenemsError.OpenemsNamedException
CreateExecuteSimulationRequest.Profile
fromJsonArray
.- Parameters:
j
- theJsonArray
- Returns:
- the
ExecuteSimulationRequest.Profile
- Throws:
OpenemsError.OpenemsNamedException
- on parse error
-
getCurrentValue
public java.lang.Integer getCurrentValue()
Gets the currently active value of theExecuteSimulationRequest.Profile
.- Returns:
- the value
-
selectNextValue
public void selectNextValue()
Selects the next active value in theExecuteSimulationRequest.Profile
.
-
-