|
@ -135,6 +135,8 @@ class BaseSensor { |
|
|
return sensor::Unit::Meter; |
|
|
return sensor::Unit::Meter; |
|
|
case MAGNITUDE_FREQUENCY: |
|
|
case MAGNITUDE_FREQUENCY: |
|
|
return sensor::Unit::Hertz; |
|
|
return sensor::Unit::Hertz; |
|
|
|
|
|
case MAGNITUDE_PH: |
|
|
|
|
|
return sensor::Unit::Ph; |
|
|
default: |
|
|
default: |
|
|
return sensor::Unit::None; |
|
|
return sensor::Unit::None; |
|
|
} |
|
|
} |
|
|