Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 18e7d3da authored by Carla Guillen Carias's avatar Carla Guillen Carias
Browse files

Adding severity value

parent 5c22da7a
......@@ -20,7 +20,7 @@ public:
FREQUENCY
};
public:
SMUCSensorBase(const std::string& name): SensorBase(name), _scaling_factor(1){}
SMUCSensorBase(const std::string& name): SensorBase(name), _scaling_factor(1), _position(0), _severity(-1){}
virtual ~SMUCSensorBase(){}
unsigned int getScalingFactor() const {
......@@ -39,10 +39,14 @@ public:
_position = position;
}
void setSeverity(float severity){
_severity = severity;
}
private:
unsigned int _position;
unsigned int _scaling_factor;
float _severity;
};
using SMUCNGPtr = std::shared_ptr<SMUCSensorBase>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment