/// <summary> /// update the information which is common, very similar to clone /// </summary> /// <param name="exampleLabware"></param> public void CarryInfo(Labware exampleLabware) { _typeName = exampleLabware.TypeName; _dimension = exampleLabware._dimension; _backgroundColor = exampleLabware.BackgroundColor; _wellsInfo = (WellsInfo)exampleLabware.WellsInfo.Clone(); _zValues = (ZValues)exampleLabware.ZValues.Clone(); }
/// <summary> /// Default constructor /// </summary> public Labware() { _zValues = new ZValues(); _dimension = new Dimension(); _wellsInfo = new WellsInfo(); if (_parentCarrier != null) { _calibCarrier = _parentCarrier; } }