Exemple #1
0
 /// <summary>
 /// 获取控制板的临时卡读头
 /// </summary>
 public override bool IsTempReader(EntranceReader reader)
 {
     return(reader == EntranceReader.Reader1);
 }
Exemple #2
0
        /// <summary>
        /// 向控制板发送卡片无效
        /// </summary>
        /// <param name="cardevent"></param>
        public override void CardInValid(string cardID, CardType cardType, byte hcardType, EntranceReader reader, EventInvalidType invalidType, object param)
        {
            if (AppSettings.CurrentSetting.Debug)
            {
                FileLog.Log(EntranceName, "发送卡片无效" + CardInvalidDescripition.GetDescription(invalidType));
            }
            Packet p = _PacketCreater.CreateCardInvalidPacket(Address, invalidType, param);

            _CommComponent.SendPacket(p);
        }
Exemple #3
0
 /// <summary>
 /// 获取控制板的临时卡读头
 /// </summary>
 public abstract bool IsTempReader(EntranceReader reader);