//============================================================================* // cCharge() - Copy Constructor //============================================================================* public cCharge(cCharge Charge) { m_dPowderWeight = Charge.m_dPowderWeight; m_dFillRatio = Charge.m_dFillRatio; m_fFavorite = Charge.m_fFavorite; m_fReject = Charge.m_fReject; m_TestList = new cChargeTestList(Charge.m_TestList); }
//============================================================================* // cChargeTestList() - Copy Constructor //============================================================================* public cChargeTestList(cChargeTestList ChargeTestList) { foreach (cChargeTest ChargeTest in ChargeTestList) { cChargeTest NewChargeTest = new cChargeTest(ChargeTest); Add(NewChargeTest); } Sort(cChargeTest.Comparer); }