public String UpdateActive(Activtys acti)
 {
     for (int i = 0; i < activetList.Count; i++)
     {
         Activtys actit = activetList.ElementAt(i);
         if (actit.OUTAgentMACID.Equals(acti.OUTAgentMACID))
         {
             activetList[i] = actit;//update the new record
             return("Update successful");
         }
     }
     return("Update un-successful");
 }
 public void Add(Activtys active)
 {
     activetList.Add(active);
 }