Beispiel #1
0
        private int method_7(byte[] byte_0, int int_4, int int_5)
        {
            float[] array = new float[int_5];
            int     num   = this.stream1_0.vmethod_4(array, 0, array.Length);
            int     i     = 0;

            while (i < num)
            {
                byte_0[int_4] = Class11.smethod_17(array[i]);
                i++;
                int_4++;
            }
            return(num);
        }
Beispiel #2
0
        private int method_5(byte[] byte_0, int int_4, int int_5)
        {
            float[] array = new float[int_5 / 3];
            int     num   = this.stream1_0.vmethod_4(array, 0, array.Length);
            int     i     = 0;

            while (i < num)
            {
                Buffer.BlockCopy(Struct8.smethod_4(Class11.smethod_23(array[i])), 0, byte_0, int_4, 3);
                i++;
                int_4 += 3;
            }
            return(num + num + num);
        }
Beispiel #3
0
        private int method_6(byte[] byte_0, int int_4, int int_5)
        {
            float[] array = new float[int_5 >> 1];
            int     num   = this.stream1_0.vmethod_4(array, 0, array.Length);
            int     i     = 0;

            while (i < num)
            {
                Buffer.BlockCopy(BitConverter.GetBytes(Class11.smethod_21(array[i])), 0, byte_0, int_4, 2);
                i++;
                int_4 += 2;
            }
            return(num << 1);
        }
Beispiel #4
0
        private int method_2(byte[] byte_0, int int_4, int int_5)
        {
            byte[] array = new byte[int_5 << 1];
            int    num   = this.stream1_0.Read(array, 0, array.Length);
            int    i     = 0;

            while (i < num)
            {
                byte_0[int_4] = Class11.smethod_4(BitConverter.ToInt16(byte_0, i));
                i            += 2;
                int_4++;
            }
            return(num >> 1);
        }
Beispiel #5
0
        private int method_1(byte[] byte_0, int int_4, int int_5)
        {
            byte[] array = new byte[int_5 + int_5 + int_5];
            int    num   = this.stream1_0.Read(array, 0, array.Length);
            int    i     = 0;

            while (i < num)
            {
                byte_0[int_4] = Class11.smethod_8(Struct8.smethod_2(byte_0, i));
                i            += 3;
                int_4++;
            }
            return(num / 3);
        }
Beispiel #6
0
        private void method_1(string string_2)
        {
            ListDictionary dictionary;

            this.string_1 = string_2;
            Interface0 interface2 = new Class11();

            try
            {
                dictionary = interface2.imethod_2(string_2);
            }
            catch (Exception)
            {
                MessageBoxHelper.Show("数据库异常", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                return;
            }
            if (dictionary != null)
            {
                foreach (DictionaryEntry entry in dictionary)
                {
                    if (entry.Key.ToString() == "DM")
                    {
                        this.string_0 = Convert.ToString(entry.Value);
                    }
                    if (entry.Key.ToString() == "ISADMIN")
                    {
                        this.bool_0 = Convert.ToBoolean(entry.Value);
                    }
                    else if (entry.Key.ToString() == "JSQX")
                    {
                        this.list_1.AddRange(entry.Value as List <string>);
                    }
                    else if (entry.Key.ToString() == "GNQX")
                    {
                        this.list_0.AddRange(entry.Value as List <string>);
                    }
                }
            }
        }
Beispiel #7
0
 private static byte[] smethod_8(byte[] byte_0, int int_4)
 {
     return(BitConverter.GetBytes(Class11.smethod_0(byte_0[int_4])));
 }
Beispiel #8
0
 private static byte[] smethod_7(byte[] byte_0, int int_4)
 {
     return(BitConverter.GetBytes(Class11.smethod_9(Struct8.smethod_2(byte_0, int_4))));
 }
Beispiel #9
0
 private static byte[] smethod_6(byte[] byte_0, int int_4)
 {
     return(BitConverter.GetBytes(Class11.smethod_13(BitConverter.ToInt32(byte_0, int_4))));
 }
Beispiel #10
0
 private static byte[] smethod_5(byte[] byte_0, int int_4)
 {
     return(Struct8.smethod_4(Class11.smethod_1(byte_0[int_4])));
 }
Beispiel #11
0
 private static byte[] smethod_4(byte[] byte_0, int int_4)
 {
     return(Struct8.smethod_4(Class11.smethod_5(BitConverter.ToInt16(byte_0, int_4))));
 }