Beispiel #1
0
        public int CalculateOhmValue(ColorCode band1, ColorCode band2, ColorCode band3, ColorCode band4)
        {
            band1.ThrowIfNullOrEmpty(nameof(band1));
            band2.ThrowIfNullOrEmpty(nameof(band2));
            band3.ThrowIfNullOrEmpty(nameof(band3));
            band4.ThrowIfNullOrEmpty(nameof(band4));

            return(CalculateOhmValue(band1.FourBand, band2.FourBand, band3.FourBand, band4.FourBand));
        }