Esempio n. 1
0
 private void print()
 {
     try
     {
         string payType = "";
         if ("01".Equals(Payment.propPayTempParam.PropType))
         {
             payType = "水费";
         }
         if ("02".Equals(Payment.propPayTempParam.PropType))
         {
             payType = "电费";
         }
         if ("03".Equals(Payment.propPayTempParam.PropType))
         {
             payType = "燃气费";
         }
         PrintParam printParam = new PrintParam();
         printParam.payType = "物业" + payType;
         printParam.account = Payment.propPayTempParam.AccountNo;
         printParam.cardNo  = Payment.propPayTempParam.CardNo;
         printParam.amout   = Payment.propPayTempParam.PropOrderInfo.msgrsp.realAmout;
         printParam.orderno = Payment.propPayTempParam.PropOrderInfo.msgrsp.orderNo;
         PrintBLL.print(printParam);
     }
     catch (Exception ex)
     {
         log.Write("error:FormPropStepTemp06_success:print:" + ex.Message);
     }
 }
Esempio n. 2
0
 void print()
 {
     try {
         PrintParam printParam = new PrintParam();
         printParam.payType = "联通";
         if (Payment.unicomPayParam.IcParams == null)
         {
             //万通交易
             printParam.tradingType = "万通";
         }
         else
         {
             printParam.tradingType = "银行卡";
         }
         printParam.account = Payment.unicomPayParam.PhoneOn;
         printParam.cardNo  = Payment.unicomPayParam.CardNo;
         printParam.amout   = Payment.unicomPayParam.RechageAmount;
         printParam.orderno = Payment.unicomPayParam.Orderinfo.msgrsp.orderNo;
         printParam.resqn   = Payment.unicomPayParam.Resqn;
         PrintBLL.print(printParam);
     }catch (Exception ex)
     {
         log.Write("error:FormUnicomStep06_success:print():" + ex.Message);
     }
 }
 void print()
 {
     try {
         PrintParam printParam = new PrintParam();
         //交易类型
         if (Payment.mobilePayParam.IcParams == null)
         {
             //甘肃一卡通交易
             printParam.tradingType = "甘肃一卡通";
         }
         else
         {
             //银联交易
             printParam.tradingType = "银行卡";
         }
         printParam.payType = "移动";
         printParam.account = Payment.mobilePayParam.PhoneOn;
         printParam.cardNo  = Payment.mobilePayParam.CardNo;
         printParam.amout   = Payment.mobilePayParam.RechageAmount;
         printParam.orderno = Payment.mobilePayParam.OrderInfo.msgrsp.orderNo;
         printParam.resqn   = Payment.mobilePayParam.Resqn;
         PrintBLL.print(printParam);
     }catch (Exception ex)
     {
         log.Write("error:FormMobileStep06_success:print():" + ex.Message);
     }
 }
 void print()
 {
     try {
         PrintParam printParam = new PrintParam();
         printParam.payType = "电力";
         printParam.account = Payment.elecPayParam.Account;
         printParam.cardNo  = Payment.elecPayParam.CardNo;
         printParam.amout   = Payment.elecPayParam.OrderInfo.msgrsp.realAmout;
         printParam.orderno = Payment.elecPayParam.OrderInfo.msgrsp.orderNo;
         printParam.resqn   = Payment.elecPayParam.OrderInfo.msghead.reqsn;
         PrintBLL.print(printParam);
     }catch (Exception ex)
     {
         log.Write("error:电力打印异常:" + ex.Message);
     }
 }
 private void print()
 {
     try
     {
         PrintParam printParam = new PrintParam();
         printParam.payType = "物业";
         printParam.account = Payment.PropPayParam.Mobile;
         printParam.cardNo  = Payment.PropPayParam.CardNo;
         printParam.amout   = Payment.PropPayParam.PropOrderInfo.msgrsp.realAmout;
         printParam.orderno = Payment.PropPayParam.PropOrderInfo.msgrsp.orderNo;
         PrintBLL.print(printParam);
     }catch (Exception ex)
     {
         log.Write("error:FormPropStep06_success:print:" + ex.Message);
     }
 }
Esempio n. 6
0
 private void print()
 {
     try
     {
         PrintParam printParam = new PrintParam();
         printParam.payType = "公交";
         printParam.account = Payment.BusPayParam.BusNo;
         printParam.cardNo  = Payment.BusPayParam.CardNo;
         printParam.amout   = Payment.BusPayParam.UserInputMoney + ".00";
         printParam.orderno = Payment.BusPayParam.BusCpuCardInfo.msgrsp.orderno;
         printParam.resqn   = Payment.BusPayParam.BusCpuCardInfo.msghead.reqsn;
         PrintBLL.print(printParam);
     }catch (Exception ex)
     {
         log.Write("error:FormBusStep08_success:print():" + ex.Message);
     }
 }
        void print()
        {
            try {
                WantongBLL wt = new WantongBLL();
                //万通卡号
                string wtCard = wt.GetCardNo();

                PrintParam printParam = new PrintParam();
                printParam.payType = "燃气";
                printParam.account = Payment.GasPayParam.GasCard.CardNo;
                printParam.amout   = Payment.GasPayParam.GasCard.price;
                printParam.cardNo  = Payment.GasPayParam.CardNo;
                printParam.orderno = Payment.GasPayParam.GasOrderInfo.msgrsp.orderNo;
                //printParam.resqn = orderInfo.msghead.resqn;
                PrintBLL.print(printParam);
            }catch (Exception ex)
            {
                log.Write("error:FormGasGoldenCardStep8_success:print():" + ex.Message);
            }
        }
        private void print()
        {
            try
            {
                WantongBLL wt = new WantongBLL();

                PrintParam printParam = new PrintParam();
                printParam.payType = "广电";
                printParam.account = list.CUSTNO;
                printParam.cardNo  = Payment.broadCasPayParam.CardNo;
                printParam.amout   = orderInfo.msgrsp.realAmout;
                printParam.orderno = orderInfo.msgrsp.orderNo;
                printParam.resqn   = orderInfo.msghead.reqsn;
                PrintBLL.print(printParam);
            }
            catch (Exception ex)
            {
                log.Write("error:FormBroadCasStep06_success:print():" + ex.Message);
            }
        }
        private void print()
        {
            try
            {
                WantongBLL wt = new WantongBLL();
                //万通卡号
                string wtCard = wt.GetCardNo();

                PrintParam printParam = new PrintParam();
                printParam.payType = "热力";
                printParam.account = Payment.heatPayParam.HeatQueryOrderlist.custNo;
                printParam.cardNo  = Payment.heatPayParam.CardNo;
                printParam.amout   = Payment.heatPayParam.HeatOrderInfo.msgrsp.realAmout;
                printParam.orderno = Payment.heatPayParam.HeatOrderInfo.msgrsp.orderNo;
                printParam.resqn   = Payment.heatPayParam.HeatOrderInfo.msghead.resqn;
                PrintBLL.print(printParam);
            }catch (Exception ex)
            {
                log.Write("error:FormHeatStep06_success:print():" + ex.Message + ex.InnerException);
            }
        }
Esempio n. 10
0
        private void print()
        {
            try
            {
                WantongBLL wt = new WantongBLL();
                //万通卡号
                string wtCard = wt.GetCardNo();

                PrintParam printParam = new PrintParam();
                printParam.payType = "水务";
                printParam.account = Payment.waterPayParam.OrderInfo.msgrsp.paymentNo;
                printParam.cardNo  = Payment.waterPayParam.CardNo;
                printParam.amout   = Payment.waterPayParam.OrderInfo.msgrsp.realAmout;
                printParam.orderno = Payment.waterPayParam.OrderInfo.msgrsp.orderNo;
                printParam.resqn   = Payment.waterPayParam.OrderInfo.msghead.reqsn;
                PrintBLL.print(printParam);
            }
            catch (Exception ex)
            {
                log.Write("error:FormMobileStep06_successprint:" + ex.Message);
            }
        }