TSI_Config/vibrationdata.h

26 lines
805 B
C
Raw Permalink Normal View History

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-09-27 21:34:27 +08:00
void InsertChannelPtr(std::shared_ptr<RadialVariable>);
void InsertChannelPtr(std::shared_ptr<AccVelVariable>);
void InsertChannelPtr(std::shared_ptr<ThrustVariable>);
void InsertChannelPtr(std::shared_ptr<PressurePulsationVariable>);
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-08-05 20:49:25 +08:00
DCOutput dc_output[CHANNEL_COUNT];
2025-03-29 18:05:12 +08:00
};
#endif // VIBRATIONDATA_H