public SpringService RemoveService(int ropeId) { SpringService rope = GetRopeWithId(ropeId); if (rope != null) { rope.SetMassesNewState(true); ListOfServices.Remove(rope); } return(rope); }
public void RemoveService(SpringService SpringService) { SpringService.SetMassesNewState(true); this.ListOfServices.Remove(SpringService); }
public void AddNewService(SpringService SpringServiceIn) { ListOfServices.Add(SpringServiceIn); }