namespace Tinkerforge
{
    public static class EAnalogIn
    {
        public static (char Option, int Min, int Max) GetVoltageCallbackThreshold(this BrickletAnalogIn analogIn)
        {
            analogIn.GetVoltageCallbackThreshold(out char option, out int min, out int max);
            return (option, min, max);
        }

        public static (char Option, int Min, int Max) GetAnalogValueCallbackThreshold(this BrickletAnalogIn analogIn)
        {
            analogIn.GetAnalogValueCallbackThreshold(out char option, out int min, out int max);
            return (option, min, max);
        }
    }
}
