2021-02-21 13:04:24 +00:00
|
|
|
|
namespace MassiveKnob.Plugin
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public interface IMassiveKnobActionContext : IMassiveKnobContext
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-02-24 08:05:11 +00:00
|
|
|
|
/// 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.
|
2021-02-21 13:04:24 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="on">Whether the signal is on or off.</param>
|
2021-02-24 08:05:11 +00:00
|
|
|
|
void SetDigitalOutput(bool on);
|
2021-02-21 13:04:24 +00:00
|
|
|
|
}
|
|
|
|
|
}
|