namespace Tinkerforge
{
    public static class EIndustrialQuadRelay
    {
        public static (byte Pin, int Value, long Time, long TimeRemaining) GetMonoflop(
            this BrickletIndustrialQuadRelay quadRelay, byte pin)
        {
            quadRelay.GetMonoflop(pin, out int value, out long time, out long timeRemaining);
            return (pin, value, time, timeRemaining);
        }
    }
}
