Compare commits
4 Commits
b2b811e802
...
e72579e5d0
| Author | SHA1 | Date | |
|---|---|---|---|
| e72579e5d0 | |||
| 0fb42865ff | |||
| bde2dcf7d8 | |||
| d7017b5d33 |
@@ -91,6 +91,13 @@
|
|||||||
],
|
],
|
||||||
"description": "Defines the position of the measurement relative to its parent equipment or system."
|
"description": "Defines the position of the measurement relative to its parent equipment or system."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"distance":{
|
||||||
|
"default": null,
|
||||||
|
"rules": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Defines the position of the measurement relative to its parent equipment or system."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"asset": {
|
"asset": {
|
||||||
|
|||||||
@@ -444,6 +444,7 @@ class MeasurementContainer {
|
|||||||
if (positionValue > 0) {
|
if (positionValue > 0) {
|
||||||
return "downstream";
|
return "downstream";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.logger) {
|
if (this.logger) {
|
||||||
this.logger.error(`Invalid position provided: ${positionValue}`);
|
this.logger.error(`Invalid position provided: ${positionValue}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user