コード例 #1
0
 public void setClearParseMap()
 {
     MapDocid.Clear();
     MapRetailer.Clear();
     MapGoods.Clear();
     MapTourist.Clear();
     MapAdsInfo.Clear();
 }
コード例 #2
0
        public bool getParseRetailer(string retailer)
        {
            try
            {
                string[] arrRatiler = retailer.Split('|');
                MapRetailer.Add(Retailer.TaxOffice, arrRatiler[0]);
                MapRetailer.Add(Retailer.TaxPlace, arrRatiler[1]);
                MapRetailer.Add(Retailer.Seller, arrRatiler[2]);
                MapRetailer.Add(Retailer.SellerAddr, arrRatiler[3]);
            }
            catch
            {
                return(false);
            }

            return(true);
        }
コード例 #3
0
        public bool getParseRetailer(string retailer)
        {
            try
            {
                string[] arrRatiler = retailer.Split('|');
                MapRetailer.Add(Retailer.TaxOffice, arrRatiler[0]);
                MapRetailer.Add(Retailer.TaxPlace1, arrRatiler[1]);
                MapRetailer.Add(Retailer.TaxPlace2, arrRatiler[2]);
                MapRetailer.Add(Retailer.Seller, arrRatiler[3]);
                MapRetailer.Add(Retailer.SellerAddr1, arrRatiler[4]);
                MapRetailer.Add(Retailer.SellerAddr2, arrRatiler[5]);
                MapRetailer.Add(Retailer.OptCorpJpnm, arrRatiler[6]);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                return(false);
            }

            return(true);
        }