public void add_detail(Detail d) { list.Add(d); }
/// <summary> /// Удаление детали /// </summary> /// <param name="d"></param> public void remove_detail(Detail d) { h += d.l; map[d.i] -= 1; }