Parameters
- value
- The value of energy.
- unit
- The unit of energy value.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
EnergyProperty energyProperty = new EnergyProperty(42.0, Unit.Joule);