Beispiel #1
0
    // Token: 0x060004F1 RID: 1265 RVA: 0x00029218 File Offset: 0x00027418
    internal static decimal smethod_1(byte[] byte_3)
    {
        int int_  = (int)byte_3[0] | (int)byte_3[1] << 8 | (int)byte_3[2] << 16 | (int)byte_3[3] << 24;
        int int_2 = (int)byte_3[4] | (int)byte_3[5] << 8 | (int)byte_3[6] << 16 | (int)byte_3[7] << 24;
        int int_3 = (int)byte_3[8] | (int)byte_3[9] << 8 | (int)byte_3[10] << 16 | (int)byte_3[11] << 24;
        int int_4 = (int)byte_3[12] | (int)byte_3[13] << 8 | (int)byte_3[14] << 16 | (int)byte_3[15] << 24;

        return(Class123.smethod_0(int_, int_2, int_3, int_4));
    }
Beispiel #2
0
        private Class121 method_3()
        {
            bool     flag = this.class144_0.vmethod_10(1) != 0;
            int      num  = this.class144_0.vmethod_10(7);
            int      num2 = this.class144_0.vmethod_10(24);
            Class121 result;

            if (num == 0)
            {
                this.class122_0 = new Class122(this.class144_0, num2, flag);
                result          = this.class122_0;
            }
            else if (num == 3)
            {
                this.class127_0 = new Class127(this.class144_0, num2, flag);
                result          = this.class127_0;
            }
            else if (num == 2)
            {
                result = new Class124(this.class144_0, num2, flag);
            }
            else if (num == 1)
            {
                result = new Class128(this.class144_0, num2, flag);
            }
            else if (num == 4)
            {
                result = new Class129(this.class144_0, num2, flag);
            }
            else if (num == 5)
            {
                result = new Class125(this.class144_0, num2, flag);
            }
            else if (num == 6)
            {
                result = new Class123(this.class144_0, num2, flag);
            }
            else
            {
                result = new Class126(this.class144_0, num2, flag);
            }
            return(result);
        }
Beispiel #3
0
 // Token: 0x06000505 RID: 1285 RVA: 0x00029998 File Offset: 0x00027B98
 public decimal method_28()
 {
     this.method_17(16);
     byte[] array  = this.byte_0;
     byte[] array2 = this.method_25();
     array2[5]  = array[7];
     array2[15] = array[4];
     array2[10] = array[10];
     array2[7]  = array[13];
     array2[9]  = array[5];
     array2[8]  = array[6];
     array2[3]  = array[14];
     array2[2]  = array[2];
     array2[4]  = array[11];
     array2[6]  = array[12];
     array2[13] = array[1];
     array2[12] = array[0];
     array2[0]  = array[9];
     array2[11] = array[8];
     array2[1]  = array[15];
     array2[14] = array[3];
     return(Class123.smethod_1(array2));
 }
Beispiel #4
0
 // Token: 0x060001B1 RID: 433 RVA: 0x00003B9D File Offset: 0x00001D9D
 public void method_5(Class123 class123_1)
 {
     this.class123_0 = class123_1;
 }
 public abstract void Visit(Class123 c);
 public override void Visit(Class123 c) { }
Beispiel #7
0
        private static Hashtable smethod_2(string string_9)
        {
            Hashtable hashtable = new Hashtable();
            string    str       = string.Empty;
            string    str2      = string.Empty;

            try
            {
                if (string_9.ToUpper().IndexOf("TCD") > -1)
                {
                    string[] strArray = string_9.Split(new char[] { '_' });
                    str  = strArray[1];
                    str2 = strArray[2];
                }
                else
                {
                    str = string_9;
                }
                string str6 = smethod_3();
                if (string_9.ToUpper().IndexOf("CA_") > -1)
                {
                    str  = string_9.Split(new char[] { '_' })[1];
                    str2 = "";
                    string    str3  = "select * from ERRMSG2 where id='" + str + "'";
                    DataTable table = null;
                    if (string.Equals(TaxCardFactory.CreateTaxCard().SoftVersion, "FWKP_V2.0_Svr_Server"))
                    {
                        table = Class113.smethod_0(str3);
                    }
                    else
                    {
                        table = Class123.smethod_0(str3);
                    }
                    if ((table != null) && (table.Rows.Count > 0))
                    {
                        hashtable.Add("id", str);
                        hashtable.Add("type", "CE");
                        hashtable.Add("value", "证书接口调用失败!");
                        hashtable.Add("title", "证书相关");
                        hashtable.Add("operate", "证书接口调用");
                        if (table.Rows[0]["solution"] != null)
                        {
                            string str8 = table.Rows[0]["solution"].ToString().Replace("\n", Environment.NewLine);
                            hashtable.Add("solution", string.Format("证书接口返回错误信息:{0}", str8));
                        }
                        else
                        {
                            hashtable.Add("solution", string.Format("证书接口返回错误信息:{0}", str));
                        }
                        hashtable.Add("version", "0");
                        hashtable.Add("MsgBoxButtons", "1");
                        hashtable.Add("MsgBoxIcon", "1");
                        hashtable.Add("MsgBoxDefaultButton", "0");
                        hashtable.Add("funcode", str2);
                        return(hashtable);
                    }
                    hashtable.Add("id", str);
                    hashtable.Add("type", "CE");
                    hashtable.Add("value", "证书接口调用失败!");
                    hashtable.Add("title", "证书相关");
                    hashtable.Add("operate", "证书接口调用");
                    hashtable.Add("solution", string.Format("证书接口返回错误信息:{0}", str.ToString()));
                    hashtable.Add("version", "0");
                    hashtable.Add("MsgBoxButtons", "1");
                    hashtable.Add("MsgBoxIcon", "1");
                    hashtable.Add("MsgBoxDefaultButton", "0");
                    hashtable.Add("funcode", str2);
                    return(hashtable);
                }
                string    str5   = "select * from ERRMSG where id='" + str + "' and version <= " + str6 + " order by version desc";
                DataTable table2 = null;
                if (string.Equals(TaxCardFactory.CreateTaxCard().SoftVersion, "FWKP_V2.0_Svr_Server"))
                {
                    table2 = Class113.smethod_0(str5);
                }
                else
                {
                    table2 = Class123.smethod_0(str5);
                }
                if ((table2 == null) || (table2.Rows.Count <= 0))
                {
                    return(hashtable);
                }
                hashtable.Add("id", table2.Rows[0]["id"]);
                hashtable.Add("type", table2.Rows[0]["type"]);
                if (table2.Rows[0]["value"] != null)
                {
                    hashtable.Add("value", table2.Rows[0]["value"]);
                }
                else
                {
                    hashtable.Add("value", "");
                }
                if (table2.Rows[0]["title"] != null)
                {
                    hashtable.Add("title", table2.Rows[0]["title"]);
                }
                else
                {
                    hashtable.Add("title", "");
                }
                if (table2.Rows[0]["operate"] != null)
                {
                    string str7 = table2.Rows[0]["operate"].ToString().Replace("\n", Environment.NewLine);
                    hashtable.Add("operate", str7);
                }
                else
                {
                    hashtable.Add("operate", "");
                }
                if (table2.Rows[0]["solution"] != null)
                {
                    string str4 = table2.Rows[0]["solution"].ToString().Replace("\n", Environment.NewLine);
                    hashtable.Add("solution", str4);
                }
                else
                {
                    hashtable.Add("solution", "");
                }
                hashtable.Add("version", table2.Rows[0]["version"]);
                hashtable.Add("MsgBoxButtons", table2.Rows[0]["buttons"]);
                hashtable.Add("MsgBoxIcon", table2.Rows[0]["icon"]);
                hashtable.Add("MsgBoxDefaultButton", table2.Rows[0]["defaultbutton"]);
                hashtable.Add("funcode", str2);
            }
            catch (Exception)
            {
                hashtable = null;
            }
            return(hashtable);
        }