Exemple #1
0
 public object[] UploadFPBySingle(object[] object_2)
 {
     if ((object_2 != null) && (object_2.Length >= 1))
     {
         try
         {
             Class87.bool_3 = true;
             Class101.smethod_0(string.Concat(new object[] { "传递的参数个数:", object_2.Length, "    ", object_2[0].ToString(), "    ", object_2[1].ToString(), "      ", object_2[2].ToString() }));
             Class87.bool_2 = true;
             if (Class87.bool_4)
             {
                 new ServerUP().UPLoadSingleInInterface(object_2[0].ToString(), object_2[1].ToString(), object_2[2].ToString());
             }
             else
             {
                 Class85 class2 = new Class85();
                 Class87.string_1 = string.Empty;
                 Class87.bool_0   = false;
                 Class101.smethod_0("接口开始上传");
                 class2.method_2(object_2[0].ToString(), object_2[1].ToString(), object_2[2].ToString());
             }
             Class101.smethod_0("接口上传结束");
         }
         catch (Exception exception)
         {
             Class101.smethod_1("接口上传异常:" + exception.ToString());
             Class87.string_1 = exception.ToString();
         }
         Class101.smethod_0(string.Concat(new object[] { "接口调用结束:", Class87.bool_0, "   ", Class87.string_0, "   ", Class87.string_1 }));
         return(new object[] { Class87.bool_0, Class87.string_0, Class87.string_1 });
     }
     return(new object[] { false, "-0001", "没有传递需要上传的发票信息!" });
 }
Exemple #2
0
 // Token: 0x060005F1 RID: 1521 RVA: 0x00006B9D File Offset: 0x00004D9D
 public Class26(IDictionary <R5AdwmQsdjSNLWUOxm7, l1iOgsQXOhtH2kAa19a> idictionary_2)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(idictionary_2, "dictionary");
     this.idictionary_1 = idictionary_2;
 }
Exemple #3
0
 // Token: 0x060005F2 RID: 1522 RVA: 0x00006BBC File Offset: 0x00004DBC
 public Class26(IReadOnlyDictionary <R5AdwmQsdjSNLWUOxm7, l1iOgsQXOhtH2kAa19a> ireadOnlyDictionary_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(ireadOnlyDictionary_1, "dictionary");
     this.ireadOnlyDictionary_0 = ireadOnlyDictionary_1;
 }
Exemple #4
0
 public void TestIsServerUp()
 {
     Class101.smethod_0("测试是不是服务器上传方式");
     try
     {
         Class87.bool_5 = this.taxCard_0.GetExtandParams("FLBMFlag") == "FLBM";
         XmlDocument document = new XmlDocument();
         document.AppendChild(document.CreateXmlDeclaration("1.0", "GBK", ""));
         XmlElement newChild = document.CreateElement("ISSERVERUP");
         document.AppendChild(newChild);
         string str = "";
         if (HttpsSender.SendMsg(this.string_0, document.InnerXml, out str) == 0)
         {
             XmlDocument document2 = new XmlDocument();
             document2.LoadXml(str);
             XmlNodeList elementsByTagName = document2.GetElementsByTagName("ISSERVERUP");
             if (((elementsByTagName != null) && (elementsByTagName.Count > 0)) && (elementsByTagName[0].InnerText.Trim() == "1"))
             {
                 Class87.bool_4 = true;
                 Class101.smethod_0("服务器上传方式:" + elementsByTagName[0].InnerText);
             }
         }
     }
     catch (Exception exception)
     {
         Class101.smethod_0("TestIsServerUp:" + exception.ToString());
     }
     Class101.smethod_0("结束测试是不是服务器上传方式");
 }
Exemple #5
0
 // Token: 0x060005F0 RID: 1520 RVA: 0x00006B7E File Offset: 0x00004D7E
 public Class26(IDictionary idictionary_2)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(idictionary_2, "dictionary");
     this.idictionary_0 = idictionary_2;
 }
Exemple #6
0
 // Token: 0x06000702 RID: 1794 RVA: 0x000077BE File Offset: 0x000059BE
 public override Action <DuVmkMErTD7nV2AYDlJ, object> vmethod_5 <DuVmkMErTD7nV2AYDlJ>(FieldInfo fieldInfo_0)
 {
     Class84.Class77 <DuVmkMErTD7nV2AYDlJ> @class = new Class84.Class77 <DuVmkMErTD7nV2AYDlJ>();
     @class.fieldInfo_0 = fieldInfo_0;
     Class101.smethod_0(@class.fieldInfo_0, "fieldInfo");
     return(new Action <DuVmkMErTD7nV2AYDlJ, object>(@class.method_0));
 }
Exemple #7
0
 // Token: 0x06000703 RID: 1795 RVA: 0x000077E7 File Offset: 0x000059E7
 public override Action <LKkAU4Ef5VxoWvkmU3e, object> vmethod_6 <LKkAU4Ef5VxoWvkmU3e>(PropertyInfo propertyInfo_0)
 {
     Class84.Class78 <LKkAU4Ef5VxoWvkmU3e> @class = new Class84.Class78 <LKkAU4Ef5VxoWvkmU3e>();
     @class.propertyInfo_0 = propertyInfo_0;
     Class101.smethod_0(@class.propertyInfo_0, "propertyInfo");
     return(new Action <LKkAU4Ef5VxoWvkmU3e, object>(@class.method_0));
 }
Exemple #8
0
 // Token: 0x06000701 RID: 1793 RVA: 0x00007795 File Offset: 0x00005995
 public override Func <Ph3KSaE7MknVxoi2All, object> vmethod_4 <Ph3KSaE7MknVxoi2All>(FieldInfo fieldInfo_0)
 {
     Class84.Class76 <Ph3KSaE7MknVxoi2All> @class = new Class84.Class76 <Ph3KSaE7MknVxoi2All>();
     @class.fieldInfo_0 = fieldInfo_0;
     Class101.smethod_0(@class.fieldInfo_0, "fieldInfo");
     return(new Func <Ph3KSaE7MknVxoi2All, object>(@class.method_0));
 }
Exemple #9
0
 // Token: 0x06000700 RID: 1792 RVA: 0x0000776C File Offset: 0x0000596C
 public override Func <sepkp5EAYgFiZnf4lXa, object> vmethod_3 <sepkp5EAYgFiZnf4lXa>(PropertyInfo propertyInfo_0)
 {
     Class84.Class75 <sepkp5EAYgFiZnf4lXa> @class = new Class84.Class75 <sepkp5EAYgFiZnf4lXa>();
     @class.propertyInfo_0 = propertyInfo_0;
     Class101.smethod_0(@class.propertyInfo_0, "propertyInfo");
     return(new Func <sepkp5EAYgFiZnf4lXa, object>(@class.method_0));
 }
Exemple #10
0
 public void UpdateSPFL()
 {
     try
     {
         MessageHelper.MsgWait("正在同步" + Class95.string_2 + "信息,请耐心等待...");
         Class84 class2 = new Class84();
         string  str    = class2.method_31();
         string  str2   = "";
         Class101.smethod_0("商品分类信息同步,发送给局端数据:" + str);
         if (HttpsSender.SendMsg("0037", str, out str2) != 0)
         {
             Class101.smethod_1("商品分类更新失败:" + str2);
             if (!this.isAuto)
             {
                 MessageHelper.MsgWait();
                 Class86.smethod_7(Class95.string_2 + "更新失败,请选择手动更新或去税局下载更新包导入更新:" + str2);
             }
         }
         else
         {
             Class101.smethod_1("商品分类信息同步,局端返回数据:" + str2);
             class2.method_32(str2, this.isAuto);
         }
         MessageHelper.MsgWait();
     }
     catch (Exception exception)
     {
         MessageHelper.MsgWait();
         Class101.smethod_1("UpdateSPFL:" + exception.ToString());
         if (!this.isAuto)
         {
             Class86.smethod_7("商品和服务税收分类编码更新失败,请选择手动更新或去税局下载更新包导入更新:" + exception.Message);
         }
     }
 }
Exemple #11
0
    // Token: 0x0600069E RID: 1694 RVA: 0x0002C0FC File Offset: 0x0002A2FC
    public override Action <Fu5NDKQjdwdau68ILj6, object> vmethod_6 <Fu5NDKQjdwdau68ILj6>(PropertyInfo propertyInfo_0)
    {
        Class101.smethod_0(propertyInfo_0, "propertyInfo");
        if (propertyInfo_0.DeclaringType.smethod_13())
        {
            return(Class84.smethod_0().vmethod_6 <Fu5NDKQjdwdau68ILj6>(propertyInfo_0));
        }
        Type typeFromHandle  = typeof(Fu5NDKQjdwdau68ILj6);
        Type typeFromHandle2 = typeof(object);
        ParameterExpression parameterExpression  = Expression.Parameter(typeFromHandle, "instance");
        ParameterExpression parameterExpression2 = Expression.Parameter(typeFromHandle2, "value");
        Expression          expression           = this.method_3(parameterExpression2, propertyInfo_0.PropertyType, false);
        MethodInfo          setMethod            = propertyInfo_0.GetSetMethod(true);
        Expression          body;

        if (setMethod.IsStatic)
        {
            body = Expression.Call(setMethod, expression);
        }
        else
        {
            body = Expression.Call(this.method_3(parameterExpression, propertyInfo_0.DeclaringType, false), setMethod, new Expression[]
            {
                expression
            });
        }
        return((Action <Fu5NDKQjdwdau68ILj6, object>)Expression.Lambda(typeof(Action <Fu5NDKQjdwdau68ILj6, object>), body, new ParameterExpression[]
        {
            parameterExpression,
            parameterExpression2
        }).Compile());
    }
Exemple #12
0
        public object[] UploadFPInPatch(object[] object_2)
        {
            Class84 class2 = new Class84();

            Class101.smethod_0("发票上传-批量接口:进入");
            if ((object_2 != null) && (object_2.Length >= 1))
            {
                Class101.smethod_0("发票上传-批量接口:传入发票为:" + object_2[0].ToString());
                try
                {
                    Class87.bool_3 = true;
                    if (Class87.bool_4)
                    {
                        new ServerUP().UPloadInPatch(object_2[0].ToString());
                    }
                    else
                    {
                        Class87.bool_2 = true;
                        Class85 class3 = new Class85();
                        Class87.string_1 = string.Empty;
                        Class87.bool_0   = false;
                        class3.method_3(object_2[0].ToString());
                    }
                    Class101.smethod_0("发票上传-批量接口:离开");
                }
                catch (Exception exception)
                {
                    Class101.smethod_1("发票上传-批量接口:接口异常" + exception.ToString());
                    Class87.string_1 = exception.ToString();
                }
                return(new object[] { Class87.xmlDocument_0 });
            }
            Class101.smethod_0("发票上传-批量接口:没有传入发票信息");
            return(new object[] { class2.method_24() });
        }
Exemple #13
0
 // Token: 0x0600069D RID: 1693 RVA: 0x0002C028 File Offset: 0x0002A228
 public override Action <aO5jiiQTN2H7SNbj5Xi, object> vmethod_5 <aO5jiiQTN2H7SNbj5Xi>(FieldInfo fieldInfo_0)
 {
     Class101.smethod_0(fieldInfo_0, "fieldInfo");
     if (!fieldInfo_0.DeclaringType.smethod_13() && !fieldInfo_0.IsInitOnly)
     {
         ParameterExpression parameterExpression  = Expression.Parameter(typeof(aO5jiiQTN2H7SNbj5Xi), "source");
         ParameterExpression parameterExpression2 = Expression.Parameter(typeof(object), "value");
         Expression          expression;
         if (fieldInfo_0.IsStatic)
         {
             expression = Expression.Field(null, fieldInfo_0);
         }
         else
         {
             expression = Expression.Field(this.method_3(parameterExpression, fieldInfo_0.DeclaringType, false), fieldInfo_0);
         }
         Expression       right = this.method_3(parameterExpression2, expression.Type, false);
         BinaryExpression body  = Expression.Assign(expression, right);
         return((Action <aO5jiiQTN2H7SNbj5Xi, object>)Expression.Lambda(typeof(Action <aO5jiiQTN2H7SNbj5Xi, object>), body, new ParameterExpression[]
         {
             parameterExpression,
             parameterExpression2
         }).Compile());
     }
     return(Class84.smethod_0().vmethod_5 <aO5jiiQTN2H7SNbj5Xi>(fieldInfo_0));
 }
Exemple #14
0
 // Token: 0x06000590 RID: 1424 RVA: 0x00006699 File Offset: 0x00004899
 public Class21(ICollection <nhRd76JVPX5GP69E2c> icollection_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(icollection_1, "list");
     this.icollection_0 = icollection_1;
 }
Exemple #15
0
 // Token: 0x06000946 RID: 2374 RVA: 0x00008ED1 File Offset: 0x000070D1
 protected Class117(JsonSerializer jsonSerializer_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(jsonSerializer_1, "serializer");
     this.jsonSerializer_0 = jsonSerializer_1;
     this.itraceWriter_0   = jsonSerializer_1.TraceWriter;
 }
Exemple #16
0
 // Token: 0x06000B66 RID: 2918 RVA: 0x0000A9BE File Offset: 0x00008BBE
 public Class141(JsonWriter jsonWriter_1, JsonSchemaResolver jsonSchemaResolver_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(jsonWriter_1, "writer");
     this.jsonWriter_0         = jsonWriter_1;
     this.jsonSchemaResolver_0 = jsonSchemaResolver_1;
 }
Exemple #17
0
 // Token: 0x0600056A RID: 1386 RVA: 0x00006571 File Offset: 0x00004771
 public Class18(TextWriter textWriter_1)
 {
     Class202.ofdixO4zTbIfy();
     this.char_0 = new char[76];
     base..ctor();
     Class101.smethod_0(textWriter_1, "writer");
     this.textWriter_0 = textWriter_1;
 }
Exemple #18
0
        public int UpdateBMBBBH(string string_0)
        {
            Class101.smethod_0("接口UpdateBMBBBH开始:" + string_0);
            int num = 0;

            num = new Class92().method_3(string_0);
            Class101.smethod_0("接口UpdateBMBBBH结束:" + string_0);
            return(num);
        }
Exemple #19
0
 // Token: 0x06000EC3 RID: 3779 RVA: 0x0000CB90 File Offset: 0x0000AD90
 public Class155(string string_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(string_1, "expression");
     this.string_0 = string_1;
     this.list_0   = new List <Class156>();
     this.method_1();
 }
Exemple #20
0
 private void backgroundWorker_2_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         if (base.TaxCardInstance.QYLX.ISTDQY)
         {
             this.bool_1 = true;
         }
         else
         {
             this.bool_1 = false;
             bool     shouGongXiaZai = false;
             DateTime now            = DateTime.Now;
             while (!this.backgroundWorker_2.CancellationPending)
             {
                 if ((now.AddSeconds((double)this.int_2) > DateTime.Now) && !UpLoadCheckState.ShouGongXiaZai)
                 {
                     Thread.Sleep(0x3e8);
                 }
                 else
                 {
                     if (UpLoadCheckState.CheckState())
                     {
                         Thread.Sleep(0x3e8);
                         continue;
                     }
                     now            = DateTime.Now;
                     shouGongXiaZai = UpLoadCheckState.ShouGongXiaZai;
                     this.class105_0.method_0();
                     if (shouGongXiaZai)
                     {
                         UpLoadCheckState.ShouGongXiaZai = false;
                         shouGongXiaZai = false;
                     }
                 }
             }
             e.Cancel    = true;
             this.bool_1 = true;
             BackWorkCancleStyle style = new BackWorkCancleStyle {
                 CanclType = CancleStyle.Cancle
             };
             e.Result = style;
             Class101.smethod_0("<下载线程>下载线程退出,准备软件退出!");
         }
     }
     catch (Exception exception)
     {
         e.Cancel = true;
         BackWorkCancleStyle style2 = new BackWorkCancleStyle {
             CanclType = CancleStyle.Exception
         };
         this.bool_1 = false;
         e.Result    = style2;
         Class101.smethod_1("(下载线程异常:)" + exception.ToString());
     }
 }
Exemple #21
0
 // Token: 0x060008CB RID: 2251 RVA: 0x0000893E File Offset: 0x00006B3E
 public Class116(Class118 class118_1, JsonISerializableContract jsonISerializableContract_1, JsonProperty jsonProperty_1)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     Class101.smethod_0(class118_1, "reader");
     Class101.smethod_0(jsonISerializableContract_1, "contract");
     this.class118_0 = class118_1;
     this.jsonISerializableContract_0 = jsonISerializableContract_1;
     this.jsonProperty_0 = jsonProperty_1;
 }
Exemple #22
0
    // Token: 0x060008CE RID: 2254 RVA: 0x00032C6C File Offset: 0x00030E6C
    public object Convert(object value, TypeCode typeCode)
    {
        Class101.smethod_0(value, "value");
        JValue jvalue;

        if ((jvalue = (value as JValue)) != null)
        {
            value = jvalue.Value;
        }
        return(System.Convert.ChangeType(value, typeCode, CultureInfo.InvariantCulture));
    }
Exemple #23
0
    // Token: 0x060008CD RID: 2253 RVA: 0x00032C20 File Offset: 0x00030E20
    public object Convert(object value, Type type)
    {
        Class101.smethod_0(value, "value");
        JToken jtoken_;

        if ((jtoken_ = (value as JToken)) == null)
        {
            throw new ArgumentException("Value is not a JToken.", "value");
        }
        return(this.class118_0.method_36(jtoken_, type, this.jsonISerializableContract_0, this.jsonProperty_0));
    }
Exemple #24
0
        public static void RefreashStatus()
        {
            Class101.smethod_0("刷新状态栏");
            FormMain main = control_0 as FormMain;

            if (main != null)
            {
                main.method_6();
                Class101.smethod_0("完成");
            }
        }
Exemple #25
0
 // Token: 0x060006FE RID: 1790 RVA: 0x0002DC04 File Offset: 0x0002BE04
 public override Delegate1 <aal5FsEvY51e5Z8hFDG, object> vmethod_0 <aal5FsEvY51e5Z8hFDG>(MethodBase methodBase_0)
 {
     Class84.Class73 <aal5FsEvY51e5Z8hFDG> @class = new Class84.Class73 <aal5FsEvY51e5Z8hFDG>();
     @class.methodBase_0 = methodBase_0;
     Class101.smethod_0(@class.methodBase_0, "method");
     if ((@class.constructorInfo_0 = (@class.methodBase_0 as ConstructorInfo)) != null)
     {
         return(new Delegate1 <aal5FsEvY51e5Z8hFDG, object>(@class.method_0));
     }
     return(new Delegate1 <aal5FsEvY51e5Z8hFDG, object>(@class.method_1));
 }
Exemple #26
0
 // Token: 0x060006FD RID: 1789 RVA: 0x0002DBA8 File Offset: 0x0002BDA8
 public override ObjectConstructor <object> vmethod_1(MethodBase methodBase_0)
 {
     Class84.Class72 @class = new Class84.Class72();
     @class.methodBase_0 = methodBase_0;
     Class101.smethod_0(@class.methodBase_0, "method");
     if ((@class.constructorInfo_0 = (@class.methodBase_0 as ConstructorInfo)) != null)
     {
         return(new ObjectConstructor <object>(@class.method_0));
     }
     return(new ObjectConstructor <object>(@class.method_1));
 }
Exemple #27
0
    // Token: 0x06000697 RID: 1687 RVA: 0x0002BB6C File Offset: 0x00029D6C
    public override ObjectConstructor <object> vmethod_1(MethodBase methodBase_0)
    {
        Class101.smethod_0(methodBase_0, "method");
        Type typeFromHandle = typeof(object);
        ParameterExpression parameterExpression = Expression.Parameter(typeof(object[]), "args");
        Expression          body = this.method_2(methodBase_0, typeFromHandle, null, parameterExpression);

        return((ObjectConstructor <object>)Expression.Lambda(typeof(ObjectConstructor <object>), body, new ParameterExpression[]
        {
            parameterExpression
        }).Compile());
    }
Exemple #28
0
 // Token: 0x060006FF RID: 1791 RVA: 0x0002DC60 File Offset: 0x0002BE60
 public override Func <cjfSSDEck1ocJ1eOpeB> vmethod_2 <cjfSSDEck1ocJ1eOpeB>(Type type_0)
 {
     Class84.Class74 <cjfSSDEck1ocJ1eOpeB> @class = new Class84.Class74 <cjfSSDEck1ocJ1eOpeB>();
     @class.type_0 = type_0;
     Class101.smethod_0(@class.type_0, "type");
     if (@class.type_0.smethod_13())
     {
         return(new Func <cjfSSDEck1ocJ1eOpeB>(@class.method_0));
     }
     @class.constructorInfo_0 = Class90.smethod_9(@class.type_0, true);
     return(new Func <cjfSSDEck1ocJ1eOpeB>(@class.method_1));
 }
Exemple #29
0
    // Token: 0x0600058F RID: 1423 RVA: 0x000272DC File Offset: 0x000254DC
    public Class21(IList ilist_1)
    {
        Class202.ofdixO4zTbIfy();
        base..ctor();
        Class101.smethod_0(ilist_1, "list");
        ICollection <nhRd76JVPX5GP69E2c> collection;

        if ((collection = (ilist_1 as ICollection <nhRd76JVPX5GP69E2c>)) != null)
        {
            this.icollection_0 = collection;
            return;
        }
        this.ilist_0 = ilist_1;
    }
Exemple #30
0
    // Token: 0x06000698 RID: 1688 RVA: 0x0002BBD4 File Offset: 0x00029DD4
    public override Delegate1 <Dr1fGAQHIyohx0c0SC7, object> vmethod_0 <Dr1fGAQHIyohx0c0SC7>(MethodBase methodBase_0)
    {
        Class101.smethod_0(methodBase_0, "method");
        Type typeFromHandle = typeof(object);
        ParameterExpression parameterExpression  = Expression.Parameter(typeFromHandle, "target");
        ParameterExpression parameterExpression2 = Expression.Parameter(typeof(object[]), "args");
        Expression          body = this.method_2(methodBase_0, typeFromHandle, parameterExpression, parameterExpression2);

        return((Delegate1 <Dr1fGAQHIyohx0c0SC7, object>)Expression.Lambda(typeof(Delegate1 <Dr1fGAQHIyohx0c0SC7, object>), body, new ParameterExpression[]
        {
            parameterExpression,
            parameterExpression2
        }).Compile());
    }