10 #include "SensorBase.h"
11 #include "tables/ITableListener.h"
12 #include "LiveWindow/LiveWindowSendable.h"
13 #include "tables/ITable.h"
28 typedef enum {kOff, kOn, kForward, kReverse} Value;
29 typedef enum {kBothDirections, kForwardOnly, kReverseOnly} Direction;
31 Relay(uint32_t channel, Direction direction = kBothDirections);
32 Relay(uint8_t moduleNumber, uint32_t channel, Direction direction = kBothDirections);
35 void Set(Value value);
49 void InitRelay(uint8_t moduleNumber);
52 Direction m_direction;
std::string GetSmartDashboardType()
void StartLiveWindowMode()
void StopLiveWindowMode()
Relay(uint32_t channel, Direction direction=kBothDirections)
void InitTable(ITable *subTable)
void ValueChanged(ITable *source, const std::string &key, EntryValue value, bool isNew)