Base: Add electromagnetic potential unit
This commit is contained in:
committed by
Chris Hennes
parent
70ec5a7583
commit
51c0faff62
@@ -400,6 +400,10 @@ UnitsSchemaInternal::schemaTranslate(const Quantity& quant, double& factor, QStr
|
||||
unitString = QString::fromLatin1("A/m");
|
||||
factor = 1e-3;
|
||||
}
|
||||
else if (unit == Unit::ElectromagneticPotential) {
|
||||
unitString = QString::fromLatin1("Wb/m");
|
||||
factor = 1e3;
|
||||
}
|
||||
else if (unit == Unit::ElectricalConductance) {
|
||||
if (UnitValue < 1e-9) {
|
||||
unitString = QString::fromUtf8("\xC2\xB5S");
|
||||
|
||||
Reference in New Issue
Block a user