Exemple #1
0
        /// <summary>
        /// 充值补贴
        /// </summary>
        /// <param name="p_intMoney"></param>
        /// <returns></returns>
        public override bool RechargeSubsidize(decimal p_dboMoney)
        {
            int l_intBlock = m_intSectorNo * 4 + 8;
            int l_intMoney = (int)(p_dboMoney * 100.00M);

            return(JocatDevice.AddCardMoney(m_intComPort, l_intBlock, l_intMoney));
        }
Exemple #2
0
        public override bool WriteInitSubzVal(decimal dMoney)
        {
            byte bSection     = 2;
            int  iCardPieceNo = EquipmentGeneral.GetCardSectionPieceList()[bSection][0];

            JocatDevice.CleanCardMoney(1, iCardPieceNo);
            return(JocatDevice.AddCardMoney(1, iCardPieceNo, (int)(dMoney * 100)));
        }