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