Beispiel #1
0
        /// <summary>
        /// 消费
        /// </summary>
        /// <param name="request"></param>
        /// <param name="response"></param>
        public void Consume00(MisPosRequest request, ref MisPosResponse response)
        {
#if DEBUG
            var res = "000308621483******9012    000003000000000001交易成功                                898500080620629000000040000030422173915173915040319      042200000000000000000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ";
            response = GetObject <MisPosResponse>(Encoding.Default.GetBytes(res));
#endif
        }
Beispiel #2
0
        private void btn消费_Click(object sender, EventArgs e)
        {
#if DEBUG
            var req      = "0012345678234567890100000000000120141212123412341234000002000                                                                                                                                                                                      ";
            var request  = DLL.GetObject <MisPosRequest>(Encoding.Default.GetBytes(req));
            var response = new MisPosResponse();
            DLL.Consume00(request, ref response);
#endif
        }
Beispiel #3
0
 /// <summary>
 /// 结算
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 public void SettleAccounts06(MisPosRequest request, ref MisPosResponse response)
 {
 }
Beispiel #4
0
 /// <summary>
 /// 签到
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 /// <returns></returns>
 public void Sign05(MisPosRequest request, ref MisPosResponse response)
 {
 }
Beispiel #5
0
 /// <summary>
 /// 重打印
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 public void RePrint04(MisPosRequest request, ref MisPosResponse response)
 {
 }
Beispiel #6
0
 /// <summary>
 /// 查询余额
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 public void CheckBalances03(MisPosRequest request, ref MisPosResponse response)
 {
 }
Beispiel #7
0
 /// <summary>
 /// 退货
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 public void Refund02(MisPosRequest request, ref MisPosResponse response)
 {
 }
Beispiel #8
0
 /// <summary>
 /// 消费撤销
 /// </summary>
 /// <param name="request"></param>
 /// <param name="response"></param>
 public void Cancel01(MisPosRequest request, ref MisPosResponse response)
 {
 }