fixed unit from V to mV for analog pressure
This commit is contained in:
parent
1051534bb5
commit
270df1a118
2 changed files with 2 additions and 3 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -11205,7 +11205,7 @@
|
||||||
},
|
},
|
||||||
"node_modules/protobuf-ts": {
|
"node_modules/protobuf-ts": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#6d889de1a42adf590373ff932823e5e697634c6a",
|
"resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#42f72fa7fb838b7771e6c847faaa192e93f42da7",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"protobufjs": "^6.8.8"
|
"protobufjs": "^6.8.8"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -174,10 +174,9 @@ export class MeasurementDescriber {
|
||||||
this.details.path = "power.inputVoltageTimes10";
|
this.details.path = "power.inputVoltageTimes10";
|
||||||
this.details.decimals = 1;
|
this.details.decimals = 1;
|
||||||
}
|
}
|
||||||
if (componentType === quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE) {
|
if (componentType === quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE || componentType === quack.ComponentType.COMPONENT_TYPE_ANALOG_PRESSURE) {
|
||||||
this.details.unit = "mV";
|
this.details.unit = "mV";
|
||||||
this.details.graph = GraphType.MULTILINE;
|
this.details.graph = GraphType.MULTILINE;
|
||||||
this.details.unit = "mV";
|
|
||||||
this.details.decimals = 0
|
this.details.decimals = 0
|
||||||
// this.details.nodeDetails = {
|
// this.details.nodeDetails = {
|
||||||
// colours: ["white", "black", "red", "blue"],
|
// colours: ["white", "black", "red", "blue"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue