Exemple #1
0
 public void Stop(IPXTrigger trigger)
 {
     if (trigger != null && trigger.context.Status == PXTriggerStatus.Running)
     {
         trigger.Stop();
     }
 }
Exemple #2
0
        public IPXTrigger Add(PXTriggerContext context)
        {
            context.PropertyChanged += Context_PropertyChanged;
            IPXTrigger newTrigger = GetTrigger(context);

            triggers.Add(newTrigger);
            return(newTrigger);
        }
Exemple #3
0
 public void Start(IPXTrigger trigger)
 {
     trigger.OnTrigger += Trigger_OnTrigger;
     trigger.Start();
 }