/// <summary> /// 获取控制板的临时卡读头 /// </summary> public override bool IsTempReader(EntranceReader reader) { return(reader == EntranceReader.Reader1); }
/// <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); }
/// <summary> /// 获取控制板的临时卡读头 /// </summary> public abstract bool IsTempReader(EntranceReader reader);