예제 #1
0
        //============================================================================*
        // 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);
        }
예제 #2
0
        //============================================================================*
        // cChargeTestList() - Copy Constructor
        //============================================================================*

        public cChargeTestList(cChargeTestList ChargeTestList)
        {
            foreach (cChargeTest ChargeTest in ChargeTestList)
            {
                cChargeTest NewChargeTest = new cChargeTest(ChargeTest);

                Add(NewChargeTest);
            }

            Sort(cChargeTest.Comparer);
        }