standaardisation updates
This commit is contained in:
86
convert/definitions/pressure.js
Normal file
86
convert/definitions/pressure.js
Normal file
@@ -0,0 +1,86 @@
|
||||
var metric
|
||||
, imperial;
|
||||
|
||||
metric = {
|
||||
Pa: {
|
||||
name: {
|
||||
singular: 'pascal'
|
||||
, plural: 'pascals'
|
||||
}
|
||||
, to_anchor: 1/1000
|
||||
}
|
||||
, kPa: {
|
||||
name: {
|
||||
singular: 'kilopascal'
|
||||
, plural: 'kilopascals'
|
||||
}
|
||||
, to_anchor: 1
|
||||
}
|
||||
, MPa: {
|
||||
name: {
|
||||
singular: 'megapascal'
|
||||
, plural: 'megapascals'
|
||||
}
|
||||
, to_anchor: 1000
|
||||
}
|
||||
, hPa: {
|
||||
name: {
|
||||
singular: 'hectopascal'
|
||||
, plural: 'hectopascals'
|
||||
}
|
||||
, to_anchor: 1/10
|
||||
}
|
||||
, bar: {
|
||||
name: {
|
||||
singular: 'bar'
|
||||
, plural: 'bar'
|
||||
}
|
||||
, to_anchor: 100
|
||||
}
|
||||
, mbar: {
|
||||
name: {
|
||||
singular: 'mbar'
|
||||
, plural: 'mbar'
|
||||
}
|
||||
, to_anchor: 1/10
|
||||
}
|
||||
, torr: {
|
||||
name: {
|
||||
singular: 'torr'
|
||||
, plural: 'torr'
|
||||
}
|
||||
, to_anchor: 101325/760000
|
||||
}
|
||||
};
|
||||
|
||||
imperial = {
|
||||
psi: {
|
||||
name: {
|
||||
singular: 'pound per square inch'
|
||||
, plural: 'pounds per square inch'
|
||||
}
|
||||
, to_anchor: 1/1000
|
||||
}
|
||||
, ksi: {
|
||||
name: {
|
||||
singular: 'kilopound per square inch'
|
||||
, plural: 'kilopound per square inch'
|
||||
}
|
||||
, to_anchor: 1
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
metric: metric
|
||||
, imperial: imperial
|
||||
, _anchors: {
|
||||
metric: {
|
||||
unit: 'kPa'
|
||||
, ratio: 0.00014503768078
|
||||
}
|
||||
, imperial: {
|
||||
unit: 'psi'
|
||||
, ratio: 1/0.00014503768078
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user