예제 #1
0
        public SpringService RemoveService(int ropeId)
        {
            SpringService rope = GetRopeWithId(ropeId);

            if (rope != null)
            {
                rope.SetMassesNewState(true);
                ListOfServices.Remove(rope);
            }
            return(rope);
        }
예제 #2
0
 public void RemoveService(SpringService SpringService)
 {
     SpringService.SetMassesNewState(true);
     this.ListOfServices.Remove(SpringService);
 }
예제 #3
0
 public void AddNewService(SpringService SpringServiceIn)
 {
     ListOfServices.Add(SpringServiceIn);
 }