コード例 #1
0
ファイル: Labware.cs プロジェクト: ToughBill/SixFingers
 /// <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();
 }
コード例 #2
0
ファイル: Labware.cs プロジェクト: ToughBill/SixFingers
        /// <summary>
        /// Default constructor
        /// </summary>
        public Labware()
        {
            _zValues   = new ZValues();
            _dimension = new Dimension();
            _wellsInfo = new WellsInfo();

            if (_parentCarrier != null)
            {
                _calibCarrier = _parentCarrier;
            }
        }