add quantity property to FeatureTest with kg/m^3

This commit is contained in:
wmayer
2016-07-17 13:40:08 +02:00
parent 959b7c9809
commit 49d1be14ff
2 changed files with 3 additions and 0 deletions

View File

@@ -107,6 +107,8 @@ FeatureTest::FeatureTest()
ADD_PROPERTY(QuantityLength,(1.0));
QuantityLength.setUnit(Base::Unit::Length);
ADD_PROPERTY(QuantityOther,(5.0));
QuantityOther.setUnit(Base::Unit(-3,1));
//ADD_PROPERTY(QuantityMass,(1.0));
//QuantityMass.setUnit(Base::Unit::Mass);
//ADD_PROPERTY(QuantityAngle,(1.0));

View File

@@ -98,6 +98,7 @@ public:
App::PropertyInteger TypeTransient;
App::PropertyQuantity QuantityLength;
App::PropertyQuantity QuantityOther;
//App::PropertyQuantity QuantityMass;
//App::PropertyQuantity QuantityAngle;