Exemple #1
0
        public override double GetInputForFuseNumber(int fuseNumber)
        {
            switch (fuseNumber % 44)
            {
            case 0:
                return(I1.Output(0));

            case 1:
                return(I1.Output(0).Inverted());

            case 2:
                return(I23.Output(0));

            case 3:
                return(I23.Output(0).Inverted());

            case 4:
                return(I2.Output(0));

            case 5:
                return(I2.Output(0).Inverted());

            case 6:
                return(I22.Output(0));

            case 7:
                return(I22.Output(0).Inverted());

            case 8:
                return(I3.Output(0));

            case 9:
                return(I3.Output(0).Inverted());

            case 10:
                return(I21.Output(0));

            case 11:
                return(I21.Output(0).Inverted());

            case 12:
                return(I4.Output(0));

            case 13:
                return(I4.Output(0).Inverted());

            case 14:
                return(I20.Output(0));

            case 15:
                return(I20.Output(0).Inverted());

            case 16:
                return(I5.Output(0));

            case 17:
                return(I5.Output(0).Inverted());

            case 18:
                return(I19.Output(0));

            case 19:
                return(I19.Output(0).Inverted());

            case 20:
                return(I6.Output(0));

            case 21:
                return(I6.Output(0).Inverted());

            case 22:
                return(I18.Output(0));

            case 23:
                return(I18.Output(0).Inverted());

            case 24:
                return(I7.Output(0));

            case 25:
                return(I7.Output(0).Inverted());

            case 26:
                return(I17.Output(0));

            case 27:
                return(I17.Output(0).Inverted());

            case 28:
                return(I8.Output(0));

            case 29:
                return(I8.Output(0).Inverted());

            case 30:
                return(I16.Output(0));

            case 31:
                return(I16.Output(0).Inverted());

            case 32:
                return(I9.Output(0));

            case 33:
                return(I9.Output(0).Inverted());

            case 34:
                return(I15.Output(0));

            case 35:
                return(I15.Output(0).Inverted());

            case 36:
                return(I10.Output(0));

            case 37:
                return(I10.Output(0).Inverted());

            case 38:
                return(I14.Output(0));

            case 39:
                return(I14.Output(0).Inverted());

            case 40:
                return(I11.Output(0));

            case 41:
                return(I11.Output(0).Inverted());

            case 42:
                return(I13.Output(0));

            case 43:
                return(I13.Output(0).Inverted());
            }
            return(0);
        }