private Dictionary <int, int> method_10() { TaxCard card = TaxCard.CreateInstance(CTaxCardType.const_7); Dictionary <int, int> dictionary = new Dictionary <int, int>(); try { List <int> periodCount = card.GetPeriodCount(0); if ((periodCount != null) && (periodCount.Count >= 2)) { dictionary.Add(0, periodCount[1]); dictionary.Add(2, periodCount[1]); } else { dictionary.Add(0, 1); dictionary.Add(2, 1); } periodCount.Clear(); periodCount = card.GetPeriodCount(12); if ((periodCount != null) && (periodCount.Count >= 2)) { dictionary.Add(12, periodCount[1]); } else { dictionary.Add(12, 1); } periodCount.Clear(); periodCount = card.GetPeriodCount(11); if ((periodCount != null) && (periodCount.Count >= 2)) { dictionary.Add(11, periodCount[1]); } else { dictionary.Add(11, 1); } periodCount.Clear(); periodCount = card.GetPeriodCount(0x33); if ((periodCount != null) && (periodCount.Count >= 2)) { dictionary.Add(0x33, periodCount[1]); } else { dictionary.Add(0x33, 1); } return(dictionary); } catch (Exception exception) { List <int> list2 = card.GetPeriodCount(0); dictionary.Add(0, list2[1]); Class101.smethod_1("[获取进水设备当前报税期异常]" + exception.ToString()); if ((list2 != null) && (list2.Count >= 2)) { return(dictionary); } return(dictionary); } }