public void method_22(Class84 class84_0) { this.method_4(); this.method_21(class84_0); this.int_0 = (this.int_0 + 1 & 15); this.float_2 = ((this.float_2 == this.float_0) ? this.float_1 : this.float_0); Array.Clear(this.float_3, 0, 32); }
public virtual void vmethod_0(Class82 class82_1, zzSoundClass class107_1, Class80 class80_2, Class80 class80_3, Class84 class84_1, Enum4 enum4_1) { this.class82_0 = class82_1; this.class107_0 = class107_1; this.class80_0 = class80_2; this.class80_1 = class80_3; this.class84_0 = class84_1; this.enum4_0 = enum4_1; }
public Class105() { this.dataTable_0 = new DataTable(); this.list_0 = new List <XmlDocument>(); this.class84_0 = new Class84(); this.class100_0 = new Class100(); this.dataTable_1 = new DataTable(); this.bool_0 = true; if (!this.dataTable_1.Columns.Contains("FPSLH")) { this.dataTable_1.Columns.Add("FPSLH", typeof(string)); } }
public void method_15() { Class100 class2 = new Class100(); Class84 class3 = new Class84(); List <string> slxlhs = new List <string>(); List <Dictionary <string, string> > listFP = new List <Dictionary <string, string> >(); try { foreach (string str in Class87.string_4.Split(new char[] { ';' })) { if (!string.IsNullOrEmpty(str)) { string[] strArray3 = str.Split(new char[] { ',' }); if (strArray3.Length >= 2) { string str2 = strArray3[1]; if (str2.Length < 8) { str2 = str2.PadLeft(8, '0'); } Class96 class4 = class2.method_3(Class97.dataTable_0, str2, strArray3[0]); if ((class4 != null) && !string.IsNullOrEmpty(class4.FPSLH)) { if (!slxlhs.Contains(class4.FPSLH)) { slxlhs.Add(class4.FPSLH); } } else { Dictionary <string, string> item = new Dictionary <string, string>(); item.Add("FPDM", strArray3[0]); item.Add("FPHM", str2); listFP.Add(item); } } } } Class87.xmlDocument_0 = class3.method_23(slxlhs, listFP); } catch (Exception exception) { Class101.smethod_1("发票上传-获取批量上传结果异常:" + exception.ToString()); } }
public bool method_7(XmlDocument xmlDocument_0, XmlDocument xmlDocument_1) { if ((xmlDocument_0 != null) && (xmlDocument_1 != null)) { Class84 class2 = new Class84(); string str = ""; try { string str2 = string.Empty; string str3 = class2.method_11(xmlDocument_0, ref str, out str2); if (string.IsNullOrEmpty(str)) { string str4 = "已执行发票上传,服务器处理异常"; if (string.IsNullOrEmpty(str2)) { str4 = str4 + "。"; } else { str4 = str4 + ",服务器返回错误信息:" + str2; } Class87.string_0 = "-0005"; Class87.string_1 = "服务器处理异常,发票上传失败!"; class2.method_20(xmlDocument_1, str4, 0); Class101.smethod_1("(发票上传):局端处理错误:" + str3); return(false); } Class101.smethod_0("(发票上传)开始解析卷票上传结果中序列号"); class2.method_13(xmlDocument_1, str); class2.method_20(xmlDocument_1, "已执行发票上传,发票报送状态已置为报送中。", 3); Class87.string_0 = "0000"; Class87.string_1 = str; return(true); } catch (Exception) { } return(false); } Class101.smethod_1("(发票上传):无返回信息!"); return(false); }
private void method_3(zzSoundClass class107_0) { Enum5 @enum = class107_0.method_8(); class107_0.method_4(); int num = (@enum == Enum5.const_3 || this.class104_1.method_0() != Enum4.const_0) ? 1 : 2; if (this.class84_0 == null) { this.class84_0 = new Class84(num); } float[] float_ = this.class105_0.method_0(); this.class80_0 = new Class80(0, float_); if (num == 2) { this.class80_1 = new Class80(1, float_); } this.int_1 = num; this.int_0 = class107_0.method_7(); this.bool_0 = true; }
public Class85() { this.dateTime_0 = new DateTime(0x76c, 1, 1); this.list_0 = new List <XmlDocument>(); this.list_1 = new List <XmlDocument>(); this.list_2 = new List <XmlDocument>(); this.list_3 = new List <XmlDocument>(); this.list_4 = new List <XmlDocument>(); this.dateTime_1 = new DateTime(0x76c, 1, 1); this.class90_0 = new Class90(); this.class84_0 = new Class84(); this.class100_0 = new Class100(); this.class81_0 = new Class81(); try { this.dateTime_1 = DateTime.Now; this.bool_1 = RegisterManager.CheckRegFile("JI"); } catch { } }
public bool method_8(XmlDocument xmlDocument_0, XmlDocument xmlDocument_1, string string_0) { if ((xmlDocument_0 != null) && (xmlDocument_1 != null)) { try { Class84 class2 = new Class84(); XmlNodeList elementsByTagName = xmlDocument_0.GetElementsByTagName("data"); if ((elementsByTagName != null) && (elementsByTagName.Count >= 1)) { string str = string.Empty; string str5 = string.Empty; string str2 = string.Empty; string str4 = string.Empty; for (int i = 0; i < elementsByTagName.Count; i++) { if (elementsByTagName[i].Attributes["name"].Value.Equals("fplx_dm", StringComparison.CurrentCultureIgnoreCase)) { if (elementsByTagName[i].Attributes["value"] != null) { str = elementsByTagName[i].Attributes["value"].Value; } } else if (elementsByTagName[i].Attributes["name"].Value.Equals("returnCode", StringComparison.CurrentCultureIgnoreCase)) { if (elementsByTagName[i].Attributes["value"] != null) { str5 = elementsByTagName[i].Attributes["value"].Value; } } else if (elementsByTagName[i].Attributes["name"].Value.Equals("slxlh", StringComparison.CurrentCultureIgnoreCase)) { if (elementsByTagName[i].Attributes["value"] != null) { str2 = elementsByTagName[i].Attributes["value"].Value; } } else if (elementsByTagName[i].Attributes["name"].Value.Equals("returnMessage", StringComparison.CurrentCultureIgnoreCase) && (elementsByTagName[i].Attributes["value"] != null)) { str4 = elementsByTagName[i].Attributes["value"].Value; } } if ((!string.IsNullOrEmpty(str2) && !string.IsNullOrEmpty(str)) && str5.Equals("00")) { class2.method_14(xmlDocument_1, str2, str); class2.method_21(xmlDocument_1, string_0, "已执行发票上传,发票报送状态已置为报送中", 3); Class87.string_0 = "0000"; Class87.string_1 = str2; return(true); } string str3 = "已执行发票上传,服务器处理异常"; if (string.IsNullOrEmpty(str4)) { str3 = str3 + "。"; } else { str3 = str3 + ",返回错误信息为:" + str4; } Class87.string_0 = "-0005"; Class87.string_1 = "服务器处理异常,发票上传失败!"; class2.method_21(xmlDocument_1, string_0, str3, 0); Class101.smethod_1("(上传线程)返回货运机动车发票处理失败! 受理序列号:" + str2 + " fplx:" + str + " returnCode=" + str5); return(false); } Class87.string_0 = "-0005"; Class87.string_1 = "服务器处理异常,发票上传失败!"; Class101.smethod_1("(上传线程)获取返回的货运机动车发票data节点失败!"); return(false); } catch (Exception exception) { Class101.smethod_1("(上传线程)设置货运机动车发票信息至共享表失败!" + exception.ToString()); } return(false); } Class101.smethod_1("(发票上传):无返回信息!"); return(false); }
public void method_1(string string_0) { try { Class84 class2 = new Class84(); class2.method_40(string_0); Class87.list_1.Clear(); DataTable table = new DataTable(); table.Columns.Add("FPSLH", typeof(string)); DataRow row = table.NewRow(); row["FPSLH"] = string_0; table.Rows.Add(row); table.AcceptChanges(); this.list_0.Clear(); this.list_0 = this.class84_0.method_5(table); XmlDocument document = new XmlDocument(); string str = ""; int num4 = (this.list_0.Count > 5) ? 5 : this.list_0.Count; for (int i = 0; i < num4; i++) { Class103.smethod_0(this.list_0[i], "DownMethodToServer" + i); string str2 = this.class84_0.method_28(this.list_0[i]); Class101.smethod_0("(发票下载)通过受理序列号得到的票种为:" + str2); if (!str2.Equals("q") && !str2.Equals("JSFP")) { if (HttpsSender.SendMsg("0004", this.list_0[i].InnerXml.ToString(), out str) == 0) { goto Label_023F; } Class87.bool_1 = false; int index = str.IndexOf("["); int num = str.IndexOf("]"); if ((index > -1) && (num > index)) { Class87.string_3 = str.Substring(index + 1, num - 1); } if (num > 0) { Class87.string_2 = str.Substring(num + 1); } else { Class87.string_2 = str; } Class87.xmlDocument_1 = class2.method_26(1); class2.method_22(this.list_0[i], str, 3); continue; } Class101.smethod_0("(发票下载)开始卷票上传,原文:" + this.list_0[i].InnerXml); if (HttpsSender.SendMsg("0030", this.list_0[i].InnerXml.ToString(), out str) != 0) { class2.method_22(this.list_0[i], str, 3); Class101.smethod_1("(下载线程)发票下载失败! " + str); continue; } Label_023F: Class87.bool_1 = true; document.LoadXml(str); if (Class87.bool_2) { XmlDocument document2 = new XmlDocument(); document2.LoadXml(document.InnerXml); Class101.smethod_0("发票下载-批量接口:局端返回报文处理前:" + document2.InnerXml); Class87.xmlDocument_1 = this.class84_0.method_25(document2); Class101.smethod_0("发票下载-批量接口:局端返回报文处理后:" + document2.InnerXml); } Class103.smethod_0(document, "DownMethodFromServer" + i); Class101.smethod_0("开始调用AnalyzeDownMethodXmlDoc-Single"); this.class84_0.method_9(document, this.list_0[i]); } Class88.smethod_1(); Class88.smethod_4(); } catch (Exception exception) { Class101.smethod_1("DownLoadBySingle异常:" + exception.ToString()); } }
private void method_21(Class84 class84_0) { switch (this.int_0) { case 0: this.method_5(); break; case 1: this.method_6(); break; case 2: this.method_7(); break; case 3: this.method_8(); break; case 4: this.method_9(); break; case 5: this.method_10(); break; case 6: this.method_11(); break; case 7: this.method_12(); break; case 8: this.method_13(); break; case 9: this.method_14(); break; case 10: this.method_15(); break; case 11: this.method_16(); break; case 12: this.method_17(); break; case 13: this.method_18(); break; case 14: this.method_19(); break; case 15: this.method_20(); break; } if (class84_0 != null) { class84_0.method_4(this.int_1, this.float_5); } }
public static void smethod_1() { try { lock (Class97.dataTable_0) { List <string> list = new List <string>(); List <Dictionary <string, object> > parameter = new List <Dictionary <string, object> >(); List <Dictionary <string, object> > list3 = new List <Dictionary <string, object> >(); Class89 class2 = new Class89(); IBaseDAO baseDAOSQLite = BaseDAOFactory.GetBaseDAOSQLite(); List <Dictionary <string, string> > list4 = new List <Dictionary <string, string> >(); TaxCard card = TaxCard.CreateInstance(CTaxCardType.const_7); DataRow[] rowArray = Class97.dataTable_0.Select("(FPStatus = '0' OR FPStatus = '2' OR FPStatus = '4') AND isDBUpdated=false"); if ((rowArray != null) && (rowArray.Length >= 1)) { Class81 class3 = new Class81(); foreach (DataRow row in rowArray) { if (row["FPStatus"].ToString() == "0") { list.Add("Aisino.Framework.MainForm.UpDown.UpdateFpStatus"); parameter.Add(class2.method_0(row)); list.Add("Aisino.Framework.MainForm.UpDown.replaceFPSLH"); parameter.Add(class2.method_1(row)); } else { if (!row["Fplx"].ToString().Equals("DZFP")) { class3.method_6(row["FPNO"].ToString(), row["FPDM"].ToString(), row["Fplx"].ToString(), row["FPStatus"].ToString()); } list.Add("Aisino.Framework.MainForm.UpDown.DeleteFPSLH"); parameter.Add(class2.method_1(row)); } list3.Add(class2.method_2(row)); if (card.SubSoftVersion == "Linux") { list4.Add(class2.method_4(row, "down")); } } if (card.SubSoftVersion == "Linux") { string str = new Class84().method_30(list4); Class101.smethod_0("发送给Linux服务器端数据:" + str); Class101.smethod_0("GeneralCmdHandle返回:" + card.GeneralCmdHandle("C028", str)); string errCode = card.ErrCode; Class101.smethod_0(string.Concat(new object[] { "ErrorCode:", errCode, " retCode:", card.RetCode })); string messageInfo = MessageManager.GetMessageInfo(errCode); Class101.smethod_0("RetCode:" + card.RetCode); Class101.smethod_0("底层返回信息:ErrCode:" + errCode + " 描述信息:" + messageInfo); if (((card.RetCode == 0) && (baseDAOSQLite.未确认DAO方法1(list.ToArray(), parameter) > 0)) && (list3.Count >= 1)) { for (int i = 0; i < list3.Count; i++) { class2.method_3(list3[i]); Class101.smethod_0("(下载线程)更新数据库:发票代码:" + list3[i]["FPDM"].ToString() + " 发票号码:" + list3[i]["FPHM"].ToString() + " 报送状态:" + list3[i]["BSZT"].ToString()); } } } else if ((baseDAOSQLite.未确认DAO方法1(list.ToArray(), parameter) > 0) && (list3.Count >= 1)) { for (int j = 0; j < list3.Count; j++) { class2.method_3(list3[j]); Class101.smethod_0("(下载线程)更新数据库:发票代码:" + list3[j]["FPDM"].ToString() + " 发票号码:" + list3[j]["FPHM"].ToString() + " 报送状态:" + list3[j]["BSZT"].ToString()); } } } } } catch (Exception exception) { Class101.smethod_1("(下载线程)批量更新数据库(0-2)失败!" + exception.ToString()); } }
public Class85(Class82 class82_1, zzSoundClass class107_1, Class80 class80_2, Class80 class80_3, Class84 class84_1, Enum4 enum4_1) : base() { int[] array = new int[1]; this.int_12 = array; int[] array2 = new int[1]; this.int_13 = array2; int[] array3 = new int[1]; this.int_14 = array3; int[] array4 = new int[1]; this.int_15 = array4; this.int_16 = new int[576]; this.float_7 = new float[576]; this.float_8 = new float[18]; this.float_9 = new float[36]; //base..ctor(); Class103.smethod_0(); this.int_2 = new int[580]; this.float_0 = new float[2][,]; this.float_0[0] = new float[32, 18]; this.float_0[1] = new float[32, 18]; this.float_1 = new float[2][,]; this.float_1[0] = new float[32, 18]; this.float_1[1] = new float[32, 18]; this.float_2 = new float[576]; this.float_3 = new float[2, 576]; this.float_4 = new float[2, 576]; this.int_3 = new int[2]; this.class90_0 = new Class85.Class90[2]; this.class90_0[0] = new Class85.Class90(); this.class90_0[1] = new Class85.Class90(); this.class90_1 = this.class90_0; this.class86_0 = new Class85.Class86[9]; int[] array5 = new int[] { 0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576 }; int[] array6 = new int[] { 0, 4, 8, 12, 18, 24, 32, 42, 56, 74, 100, 132, 174, 192 }; int[] array7 = new int[] { 0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 114, 136, 162, 194, 232, 278, 330, 394, 464, 540, 576 }; int[] array8 = new int[] { 0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 136, 180, 192 }; int[] array9 = new int[] { 0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576 }; int[] array10 = new int[] { 0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 134, 174, 192 }; int[] array11 = new int[] { 0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 52, 62, 74, 90, 110, 134, 162, 196, 238, 288, 342, 418, 576 }; int[] array12 = new int[] { 0, 4, 8, 12, 16, 22, 30, 40, 52, 66, 84, 106, 136, 192 }; int[] array13 = new int[] { 0, 4, 8, 12, 16, 20, 24, 30, 36, 42, 50, 60, 72, 88, 106, 128, 156, 190, 230, 276, 330, 384, 576 }; int[] array14 = new int[] { 0, 4, 8, 12, 16, 22, 28, 38, 50, 64, 80, 100, 126, 192 }; int[] array15 = new int[] { 0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 54, 66, 82, 102, 126, 156, 194, 240, 296, 364, 448, 550, 576 }; int[] array16 = new int[] { 0, 4, 8, 12, 16, 22, 30, 42, 58, 78, 104, 138, 180, 192 }; int[] array17 = new int[] { 0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576 }; int[] array18 = new int[] { 0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 134, 174, 192 }; int[] array19 = new int[] { 0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576 }; int[] array20 = new int[] { 0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 134, 174, 192 }; int[] array21 = new int[] { 0, 12, 24, 36, 48, 60, 72, 88, 108, 132, 160, 192, 232, 280, 336, 400, 476, 566, 568, 570, 572, 574, 576 }; int[] array22 = new int[] { 0, 8, 16, 24, 36, 52, 72, 96, 124, 160, 162, 164, 166, 192 }; this.class86_0[0] = new Class85.Class86(array5, array6); this.class86_0[1] = new Class85.Class86(array7, array8); this.class86_0[2] = new Class85.Class86(array9, array10); this.class86_0[3] = new Class85.Class86(array11, array12); this.class86_0[4] = new Class85.Class86(array13, array14); this.class86_0[5] = new Class85.Class86(array15, array16); this.class86_0[6] = new Class85.Class86(array17, array18); this.class86_0[7] = new Class85.Class86(array19, array20); this.class86_0[8] = new Class85.Class86(array21, array22); if (Class85.int_22 == null) { Class85.int_22 = new int[9][]; for (int i = 0; i < 9; i++) { Class85.int_22[i] = Class85.smethod_1(this.class86_0[i].int_1); } } int[] array23 = new int[] { 0, 6, 11, 16, 21 }; int[] array24 = new int[] { 0, 6, 12 }; this.class91_0 = new Class85.Class91(this, array23, array24); this.int_0 = new int[54]; this.class82_0 = class82_1; this.class107_0 = class107_1; this.class80_0 = class80_2; this.class80_1 = class80_3; this.class84_0 = class84_1; this.enum4_0 = enum4_1; this.int_5 = 0; this.int_7 = ((this.class107_0.method_8() == Enum5.const_3) ? 1 : 2); this.int_4 = ((this.class107_0.method_3() == Enum3.const_1) ? 2 : 1); this.int_10 = this.class107_0.method_6() + ((this.class107_0.method_3() == Enum3.const_1) ? 3 : ((this.class107_0.method_3() == Enum3.const_2) ? 6 : 0)); if (this.int_7 == 2) { switch (this.enum4_0) { case Enum4.const_0: IL_4E3: this.int_8 = 0; this.int_9 = 1; goto IL_521; case Enum4.const_1: case Enum4.const_3: this.int_9 = 0; this.int_8 = 0; goto IL_521; case Enum4.const_2: this.int_9 = 1; this.int_8 = 1; goto IL_521; } // goto IL_4E3 this.int_8 = 0; this.int_9 = 1; goto IL_521; } this.int_9 = 0; this.int_8 = 0; IL_521: Array.Clear(this.float_3, 0, 1152); int[] arg_54B_0 = this.int_3; int arg_54B_1 = 0; this.int_3[1] = 576; arg_54B_0[arg_54B_1] = 576; this.class102_0 = new Class102(); this.class89_0 = new Class85.Class89(); }
public Class91() { this.class84_0 = new Class84(); this.string_0 = ""; this.string_1 = ""; }