Exemple #1
0
        private void ItemUpdated_Handler(object sender, ItemUpdatedEventArgs e)
        {
            CardInfo info = (CardInfo)e.UpdatedItem;

            cardView.UpdateCardInfo(info);
            foreach (ParkingAdapter pad in ParkingAdapterManager.Instance.ParkAdapters)
            {
                pad.SaveCard(info, ActionType.Upate);
            }
        }
Exemple #2
0
        private void ItemUpdated_Handler(object sender, ItemUpdatedEventArgs e)
        {
            CardInfo info = (CardInfo)e.UpdatedItem;

            cardView.UpdateCardInfo(info);
            if (DataBaseConnectionsManager.Current.StandbyConnected)
            {
                CardBll standbybll = new CardBll(AppSettings.CurrentSetting.CurrentStandbyConnect);
                standbybll.UpdateOrInsert(info);
            }
            //foreach (ParkingAdapter pad in ParkingAdapterManager.Instance.ParkAdapters)
            //{
            //    pad.SaveCard(info, ActionType.Upate);
            //}
        }