Beispiel #1
0
 public void UpdateNoUsedShow()
 {
     //foreach (var t in lst)
     //{
     //    if(NodeId==t.Item1)
     //    {
     if (CollectionWj1090.Count > 0)
     {
         CollectionWj1090.Clear();
     }
     ThisNodeAddPartsNode();
     GetNoUsedCount();
     //    }
     //}
 }
Beispiel #2
0
        public override void OnNodeSelectActive()
        {
            if (CollectionWj1090.Count > 0)
            {
                CollectionWj1090.Clear();
            }
            ThisNodeAddPartsNode();
            IsExpanded        = true;
            CurrentSelectNode = this;

            var args = new PublishEventArgs
            {
                EventType = PublishEventType.Core,
                EventId   = Sr.EquipmentInfoHolding.Services.EventIdAssign.EquipmentSelected,
            };

            args.AddParams(NodeId);

            EventPublisher.EventPublish(args);
        }