2017-11-25 22:17:37 -08:00
|
|
|
/*
|
2019-11-23 19:55:21 -08:00
|
|
|
* @file aux_valves.h
|
2017-11-25 22:17:37 -08:00
|
|
|
*
|
|
|
|
* @date Nov 25, 2017
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
|
|
*/
|
|
|
|
|
2019-11-23 19:55:21 -08:00
|
|
|
#pragma once
|
2017-11-25 22:17:37 -08:00
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
2019-11-24 09:45:38 -08:00
|
|
|
/*
|
|
|
|
class AuxActor {
|
|
|
|
public:
|
|
|
|
int phaseIndex;
|
|
|
|
int valveIndex;
|
|
|
|
angle_t extra;
|
|
|
|
|
|
|
|
AngleBasedEvent open;
|
|
|
|
AngleBasedEvent close;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
2019-11-19 22:42:03 -08:00
|
|
|
void initAuxValves(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
2017-11-26 19:30:37 -08:00
|
|
|
void updateAuxValves(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
2019-11-24 09:45:38 -08:00
|
|
|
//void plainPinTurnOn(AuxActor *current);
|
2019-11-23 19:55:21 -08:00
|
|
|
void plainPinTurnOn(NamedOutputPin *output);
|
|
|
|
void plainPinTurnOff(NamedOutputPin *output);
|
2019-11-24 09:45:38 -08:00
|
|
|
|