1
0
mirror of synced 2024-07-02 20:00:35 +00:00
MassiveKnob/Windows/MassiveKnob.Plugin/IMassiveKnobActionContext.cs
Mark van Renswoude ff1e1ca74c Working proof-of-concept for refactoring
Implemented orchestrator
Implemented mock device
Implemented serial device
Implemented volume action
Removed old implementation
2021-02-24 09:05:11 +01:00

19 lines
720 B
C#

namespace MassiveKnob.Plugin
{
/// <inheritdoc />
public interface IMassiveKnobActionContext : IMassiveKnobContext
{
/// <summary>
/// Sets the state of the analog output. Only valid for OutputAnalog action types, will raise an exception otherwise.
/// </summary>
/// <param name="value">The analog value in the range of 0 to 100.</param>
void SetAnalogOutput(byte value);
/// <summary>
/// Sets the state of the digital output. Only valid for OutputDigital action types, will raise an exception otherwise.
/// </summary>
/// <param name="on">Whether the signal is on or off.</param>
void SetDigitalOutput(bool on);
}
}