Compare commits

...

4 Commits

2 changed files with 8 additions and 0 deletions

View File

@@ -91,6 +91,13 @@
],
"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": {

View File

@@ -444,6 +444,7 @@ class MeasurementContainer {
if (positionValue > 0) {
return "downstream";
}
if (this.logger) {
this.logger.error(`Invalid position provided: ${positionValue}`);
}