Ejemplo n.º 1
0
 public void AddMovelet(MoveletTemplate m)
 {
     _movelets.Add(m);
 }
Ejemplo n.º 2
0
 public void AddMovelet(MoveletTemplate m)
 {
     _movelets.Add(m);
 }
Ejemplo n.º 3
0
        public void SendMoveletTo(MoveletTemplate mTemplate, string[] unames, string[] phones)
        {           
            string debugOutput = Configuration.GetDebugOutputPath();
            if (!String.IsNullOrEmpty(debugOutput))
            {
                // backup the movelet as xml              
                mTemplate.SerializeToFile(debugOutput);
            }

            MovilizerMovelet movelet = mTemplate.ToMovelet();
            _service.EnqueueMoveletDeletion(movelet.moveletKey, movelet.moveletKeyExtension);

            _service.EnqueueMovelet(movelet, unames[0], phones[0]);
            for (int i = 1; i < unames.Length; ++i)
            {
                _service.EnqueueMoveletAssignment(movelet.moveletKey, movelet.moveletKeyExtension, unames[i], phones[i]);
            }            
        }
Ejemplo n.º 4
0
 public void SendMoveletTo(MoveletTemplate mTemplate, string uname, string phone) =>
     SendMoveletTo(mTemplate, new string[] { uname }, new string[] { phone });
Ejemplo n.º 5
0
 public void SendMoveletTo(MoveletTemplate mTemplate, string phone) =>
     SendMoveletTo(mTemplate, phone, phone);
Ejemplo n.º 6
0
 public void SendMoveletTo(MoveletTemplate mTemplate, string[] phones) =>
     SendMoveletTo(mTemplate, phones, phones);