Esempio n. 1
0
        /// <summary>
        /// 下机结算
        /// </summary>
        public static void CardCheckOut(DataResultBlock resultBlock, string card)
        {
            CSEmkCheckout.Builder checkout = new CSEmkCheckout.Builder();
            checkout.SetCardnumber(card);

            MessageContent.Builder content = new MessageContent.Builder();
            content.SetMessageType(1);
            content.SetCsEmkCheckout(checkout);

            SendModel send = new SendModel()
            {
                cmd     = Cmd.CMD_EMK_CHECKOUT,
                content = content.Build()
            };

            NetMessageManage.SendMsg(send, resultBlock);
        }