2025-03-29 18:05:12 +08:00
|
|
|
#ifndef VIBRATIONDATA_H
|
|
|
|
#define VIBRATIONDATA_H
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
#include "cardbase.h"
|
|
|
|
|
|
|
|
|
|
|
|
class VibrationData : public CardBase {
|
|
|
|
public:
|
|
|
|
VibrationData();
|
2025-04-01 15:03:59 +08:00
|
|
|
std::shared_ptr<VariableBase> GetChannelPtr(int cid);
|
2025-04-01 17:52:25 +08:00
|
|
|
void RemoveChannel(int cid);
|
2025-03-29 18:05:12 +08:00
|
|
|
SeismicMonitor base_config_[CHANNEL_COUNT];
|
|
|
|
std::vector<std::shared_ptr<VariableBase>> variables_;
|
2025-04-19 16:25:33 +08:00
|
|
|
VibAlertDanger alert_danger[CHANNEL_COUNT];
|
2025-07-09 20:24:50 +08:00
|
|
|
VibAlertDangerPress alert_danger_press[CHANNEL_COUNT];
|
2025-03-29 18:05:12 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VIBRATIONDATA_H
|