Esempio n. 1
0
    private static double smethod_1(double A_0, NMLUnit A_1, NMLUnit A_2)
    {
        int    num  = 4;
        double num2 = A_0;

        if (A_1 == A_2)
        {
            return(num2);
        }
        switch (A_1)
        {
        case NMLUnit.Pica:
            num2 *= 12.0;
            break;

        case NMLUnit.Point:
            break;

        case NMLUnit.Inch:
            num2 = Class969.smethod_13(A_0);
            break;

        case NMLUnit.Milimiter:
            num2 = Class969.smethod_15(A_0);
            break;

        case NMLUnit.Centimeter:
            num2 = Class969.smethod_22(A_0);
            break;

        default:
            throw new InvalidOperationException(BookmarkStart.b("缩䈫䔭帯崱䌳堵ᠷ伹刻圽㘿❁㙃㕅⥇♉汋⍍㕏㍑❓⍕⩗㽙牛", num));
        }
        return(num2 * smethod_2(A_2));
    }
Esempio n. 2
0
    internal double method_8()
    {
        int    num = 12;
        string key = this.string_1;

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_172 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(6);
                dictionary1.Add("", 0);
                dictionary1.Add(BookmarkStart.b("䈱䰳", num), 1);
                dictionary1.Add(BookmarkStart.b("䈱䀳", num), 2);
                dictionary1.Add(BookmarkStart.b("嬱娳", num), 3);
                dictionary1.Add(BookmarkStart.b("弱夳", num), 4);
                dictionary1.Add(BookmarkStart.b("儱夳", num), 5);
                Class1160.dictionary_172 = dictionary1;
            }
            if (Class1160.dictionary_172.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    return(this.double_0);

                case 1:
                    return(Class969.smethod_8(this.double_0));

                case 2:
                    return(this.double_0);

                case 3:
                    return(Class969.smethod_13(this.double_0));

                case 4:
                    return(Class969.smethod_15(this.double_0));

                case 5:
                    return(Class969.smethod_22(this.double_0));
                }
            }
        }
        return(0.0);
    }
Esempio n. 3
0
 public static double smethod_5(double A_0)
 {
     return(Class969.smethod_13(A_0));
 }