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