コード例 #1
0
        public ActivtyRegistrationReply registerAtivty(Activtys regd)
        {
            Console.WriteLine("In registerActivty");
            ActivtyRegistrationReply regreply = new ActivtyRegistrationReply();

            ActivtyRegistration.getInstance().Add(regd);
            regreply.Type          = regd.Type;
            regreply.OUTAgentMACID = regd.OUTAgentMACID;
            //   Activtys aa=new Activtys()

            //regreply.RegistrationStatus = "Successful";

            return(regreply);
        }
コード例 #2
0
 // GET: api/TouchLess/5
 // public string Get(int id)
 List <Activtys> GetAllActivtys()
 {
     //  return "value";
     return(ActivtyRegistration.getInstance().getAllActives());
 }
コード例 #3
0
        //GET api/activtyretrive

        public List <Activtys> GetAllActivtys()
        {
            return(ActivtyRegistration.getInstance().getAllActives());
        }