TSI_Config/vibrationdata.h

19 lines
455 B
C++

#ifndef VIBRATIONDATA_H
#define VIBRATIONDATA_H
#include <memory>
#include <vector>
#include "cardbase.h"
class VibrationData : public CardBase {
public:
VibrationData();
std::shared_ptr<VariableBase> GetChannelPtr(int cid);
void RemoveChannel(int cid);
SeismicMonitor base_config_[CHANNEL_COUNT];
std::vector<std::shared_ptr<VariableBase>> variables_;
VibAlertDanger alert_danger[CHANNEL_COUNT];
};
#endif // VIBRATIONDATA_H