Package io.openems.edge.ess.test
Record Class DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord
java.lang.Object
java.lang.Record
io.openems.edge.ess.test.DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord
- Enclosing class:
DummyManagedAsymmetricEss
public static record DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3)
extends Record
-
Constructor Summary
ConstructorDescriptionAsymmetricApplyPowerRecord
(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3) Creates an instance of aAsymmetricApplyPowerRecord
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theactivePowerL1
record component.int
Returns the value of theactivePowerL2
record component.int
Returns the value of theactivePowerL3
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thereactivePowerL1
record component.int
Returns the value of thereactivePowerL2
record component.int
Returns the value of thereactivePowerL3
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AsymmetricApplyPowerRecord
public AsymmetricApplyPowerRecord(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3) Creates an instance of aAsymmetricApplyPowerRecord
record class.- Parameters:
activePowerL1
- the value for theactivePowerL1
record componentreactivePowerL1
- the value for thereactivePowerL1
record componentactivePowerL2
- the value for theactivePowerL2
record componentreactivePowerL2
- the value for thereactivePowerL2
record componentactivePowerL3
- the value for theactivePowerL3
record componentreactivePowerL3
- the value for thereactivePowerL3
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
activePowerL1
public int activePowerL1()Returns the value of theactivePowerL1
record component.- Returns:
- the value of the
activePowerL1
record component
-
reactivePowerL1
public int reactivePowerL1()Returns the value of thereactivePowerL1
record component.- Returns:
- the value of the
reactivePowerL1
record component
-
activePowerL2
public int activePowerL2()Returns the value of theactivePowerL2
record component.- Returns:
- the value of the
activePowerL2
record component
-
reactivePowerL2
public int reactivePowerL2()Returns the value of thereactivePowerL2
record component.- Returns:
- the value of the
reactivePowerL2
record component
-
activePowerL3
public int activePowerL3()Returns the value of theactivePowerL3
record component.- Returns:
- the value of the
activePowerL3
record component
-
reactivePowerL3
public int reactivePowerL3()Returns the value of thereactivePowerL3
record component.- Returns:
- the value of the
reactivePowerL3
record component
-