mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:00:04 +00:00
Update degree symbol unicode for hover units display
This commit is contained in:
parent
d9bcb7f086
commit
9577b215bd
2 changed files with 6 additions and 8 deletions
|
|
@ -47,12 +47,11 @@ static const std::unordered_map<common::Level2Product,
|
||||||
wsr88d::rda::DataBlockType::MomentCfp}};
|
wsr88d::rda::DataBlockType::MomentCfp}};
|
||||||
|
|
||||||
static const std::unordered_map<common::Level2Product, std::string>
|
static const std::unordered_map<common::Level2Product, std::string>
|
||||||
productUnits_ {
|
productUnits_ {{common::Level2Product::Reflectivity, "dBZ"},
|
||||||
{common::Level2Product::Reflectivity, "dBZ"},
|
{common::Level2Product::DifferentialReflectivity, "dB"},
|
||||||
{common::Level2Product::DifferentialReflectivity, "dB"},
|
{common::Level2Product::DifferentialPhase, "\302\260"},
|
||||||
{common::Level2Product::DifferentialPhase, common::Unicode::kDegree},
|
{common::Level2Product::CorrelationCoefficient, "%"},
|
||||||
{common::Level2Product::CorrelationCoefficient, "%"},
|
{common::Level2Product::ClutterFilterPowerRemoved, "dB"}};
|
||||||
{common::Level2Product::ClutterFilterPowerRemoved, "dB"}};
|
|
||||||
|
|
||||||
class Level2ProductViewImpl
|
class Level2ProductViewImpl
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,7 @@ static const std::unordered_map<common::Level3ProductCategory, std::string>
|
||||||
categoryUnits_ {
|
categoryUnits_ {
|
||||||
{common::Level3ProductCategory::Reflectivity, "dBZ"},
|
{common::Level3ProductCategory::Reflectivity, "dBZ"},
|
||||||
{common::Level3ProductCategory::DifferentialReflectivity, "dB"},
|
{common::Level3ProductCategory::DifferentialReflectivity, "dB"},
|
||||||
{common::Level3ProductCategory::SpecificDifferentialPhase,
|
{common::Level3ProductCategory::SpecificDifferentialPhase, "\302\260/km"},
|
||||||
common::Unicode::kDegree + "/km"},
|
|
||||||
{common::Level3ProductCategory::CorrelationCoefficient, "%"},
|
{common::Level3ProductCategory::CorrelationCoefficient, "%"},
|
||||||
{common::Level3ProductCategory::VerticallyIntegratedLiquid,
|
{common::Level3ProductCategory::VerticallyIntegratedLiquid,
|
||||||
"kg/m\302\262"}};
|
"kg/m\302\262"}};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue