mirror of
https://github.com/muccc/WomoLIN.git
synced 2026-03-12 03:56:48 +01:00
21 lines
567 B
C++
21 lines
567 B
C++
#pragma once
|
|
|
|
#include "../../../common/include/iunit.h"
|
|
|
|
namespace womolin::board::simulation
|
|
{
|
|
class Relay : public womolin::interface::IRelay
|
|
{
|
|
public:
|
|
Relay() = default;
|
|
virtual ~Relay() = default;
|
|
|
|
bool UpdateUnitSignalSetReset( std::string & key, std::string & value ) override final;
|
|
bool UpdateUnitSignalOnOff( std::string & key, std::string & value ) override final;
|
|
bool UpdateUnitSignalCloseOpen( std::string & key, std::string & value ) override final;
|
|
};
|
|
|
|
static auto RELAY1 { Relay() };
|
|
|
|
}
|