@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
200 lines (199 loc) • 5.5 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unit_en = void 0;
exports.unit_en = {
title: 'Unit',
common: {
title: 'general',
none: 'none',
short: 'short',
percent: 'percentage(0-100)',
percentunit: 'percentage(0.0-1.0)',
humidity: 'humidity(%H)',
d_b: 'decibel(dB)',
hex0x: 'hex(0x)',
hex: 'hex',
sci: 'scientific notation',
locale: 'localized format',
thousand_separate: 'thousand separate'
},
time: {
title: 'time',
hertz: 'hertz(1/s)',
ns: 'ns',
µs: 'μs',
ms: 'ms',
s: 's',
m: 'm',
h: 'h',
d: 'days(d)',
dtdurationms: 'duration(ms)',
dtdurations: 'duration(s)',
dthms: 'duration(hh:mm:ss)'
},
time_china: {
title: 'time(chinese)',
hertz_zh: '赫兹',
ns_zh: '纳秒',
µs_zh: '微秒',
ms_zh: '毫秒',
s_zh: '秒',
m_zh: '分钟',
h_zh: '小时',
d_zh: '天',
dtdurationms_zh: '持续时间 (毫秒)',
dtdurations_zh: '持续时间 (秒)',
dthms_zh: '持续时间 (小时:分钟:秒)'
},
iec: {
title: 'data(IEC)',
bits: 'bits(b)',
bytes: 'bytes(B)',
kbytes: 'kilobytes(KB)',
mbytes: 'megabytes(MB)',
gbytes: 'gigabytes(GB)'
},
rate: {
title: 'data rate',
pps: 'packets/sec(pps)',
bps: 'bits/sec(bps)',
Bps: 'bytes/sec(Bps)',
Kbits: 'kilobits/sec(Kbits)',
KBs: 'kilobytes/sec(KBs)',
Mbits: 'megabits/sec(Mbits)',
MBs: 'megabytes/sec (MBs)',
Gbits: 'gigabits/sec(Gbits)',
GBs: 'gigabytes/sec(GBs)'
},
throughput: {
title: 'throughput'
},
length: {
title: 'length',
lengthmm: 'millimeter(mm)',
lengthm: 'meter(m)',
lengthft: 'feet(ft)',
lengthkm: 'kilometer(km)',
lengthmi: 'miles(mi)'
},
area: {
title: 'area',
areaM2: 'square meters(m2)',
areaF2: 'square feet(ft2)',
areaMI2: 'square miles(mi2)'
},
mas: {
title: 'weight',
massmg: 'mg(mg)',
massg: 'gram (g)',
masskg: 'kilogram (kg)',
masst: '(t)'
},
velocity: {
title: 'speed',
velocityms: 'm/s(m/s)',
velocitykmh: 'km/h(km/h)',
velocitymph: 'miles/hour(mph)',
velocityknot: 'knot(kn)'
},
volume: {
title: 'volume',
mlitre: 'milliliter(mL)',
litre: 'litre(L)',
m3: 'cubic meter(m3)',
Nm3: 'normal cubic meter(Nm3)',
dm3: 'Cubic decimeter(dm3)',
gallons: 'gallons(gal)'
},
energy: {
title: 'energy',
watt: 'watt(W)',
kwatt: 'kilowatt(kW)',
mwatt: 'milliwatt(mW)',
Wm2: 'watt per square meter(W/m2)',
voltamp: 'volt-ampere(VA)',
kvoltamp: 'kilovolt-ampere(kVA)',
voltampreact: 'volt-ampere reactive(var)',
kvoltampreact: 'kilovolt-ampere reactive(kvar)',
watth: 'watt-hour(Wh)',
kwatth: 'kilowatt-hour(kWh)',
kwattm: 'Kilowatt-min(kWm)',
joule: 'joule (J)',
ev: 'electron volt (eV)',
amp: 'ampere(A)',
kamp: 'kiloampere(kA)',
mamp: 'milliampere(mA)',
volt: 'volt(V)',
kvolt: 'kilovolt(kV)',
mvolt: 'millivolt(mV)',
dBm: 'Decibel-milliwatt (dBm)',
ohm: 'Ohm (Ω)',
lumens: 'Lumens(Lm)'
},
temperature: {
title: 'temperature',
celsius: 'celsius(°C)',
farenheit: 'fahrenheit(°F)',
kelvin: 'kelvin(K)'
},
pressure: {
title: 'pressure',
pressurembar: 'millibars',
pressurebar: 'bars',
pressurekbar: 'kilobars',
pressurehpa: 'hectopascals',
pressurekpa: 'kilopascals',
pressurehg: 'inches of mercury',
pressurepsi: 'PSI'
},
force: {
title: 'force',
forceNm: 'Newton-meters(Nm)',
forcekNm: 'Kilonewton-meters(kNm)',
forceN: 'Newtons(N)',
forcekN: 'Kilonewtons(kN)'
},
flow: {
title: 'flow',
flowgpm: 'Gallons/min(gpm)',
flowcms: 'Cubic meters/sec(cms)',
flowcfs: 'Cubic feet/sec(cfs)',
flowcfm: 'Cubic feet/min(cfm)',
litreh: 'litre/hour(l/h)',
flowlpm: 'litre/min(l/min)',
flowmlpm: 'milliLitre/min(mL/min)'
},
angle: {
title: 'angle',
degree: 'Degrees(°)',
radian: 'Radians',
grad: 'Gradian'
},
acceleration: {
title: 'Acceleration',
accMS2: 'Meters/sec2',
accFS2: 'Feet/sec2',
accG: 'G unit'
},
radiation: {
title: 'radiation',
radbq: 'Becquerel(Bq)',
radci: 'Curie(Ci)',
radgy: 'Gray',
radrad: 'Rad(rad)',
radsv: 'Sievert(Sv)',
radrem: 'Rem(rem)',
radexpckg: 'Exposure(C/kg)',
radr: 'Roentgen(R)',
radsvh: 'Sievert/hour(Sv/h)'
},
concentration: {
title: 'concentration',
ppm: 'parts-per-million(ppm)',
conppb: 'parts-per-billion(ppb)',
conngm3: 'nanogram per cubic metre(ng/m3)',
conμgm3: 'microgram per cubic metre(μg/m3)',
conmgm3: 'milligram per cubic metre(mg/m3)',
congm3: 'gram per cubic metre(g/m3)'
}
};