Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
esi_unit.cc File Reference
#include "etg/esi_unit.h"
#include <algorithm>
#include <array>
#include <nlohmann/json.hpp>
#include <string>
Include dependency graph for esi_unit.cc:

Namespaces

namespace  mm
 
namespace  mm::etg
 

Functions

std::string mm::etg::esiUnitSymbol (uint32_t unit, std::span< const UnitType > local={})
 Renders a packed unit notation value as a display symbol.
 
void mm::etg::to_json (nlohmann::json &j, const UnitType &unit)
 Serialises a UnitType to JSON (notationIndex, index, name, symbol).