コード例 #1
0
        //BG 19DEC12
        //public clsProject(clsUnit.eSystem UnitSystem_In, clsBearing.eType Type_In, clsBearing_Radial_FP.eDesign Design_In,
        //                  clsEndConfig.eType[] EndConfigType_In, clsDB DB_In)
        ////================================================================================================================
        //{
        //    mUnit.System = UnitSystem_In;
        //    mProduct = new clsProduct(UnitSystem_In,Type_In, Design_In, EndConfigType_In, DB_In);


        //    mFiltered_Project_Nos = new StringCollection();
        //}


        public clsProject(clsUnit.eSystem UnitSystem_In)
        //==============================================
        {
            mUnit.System = UnitSystem_In;
            mProduct     = new clsProduct(mUnit.System, modMain.gDB);
            //mProduct.Unit.System = mUnit.System;                      //PB 22JAN13.

            mFiltered_Project_Nos = new StringCollection();
        }
コード例 #2
0
        public clsSeal(clsUnit.eSystem UnitSystem_In, eType Type_In, clsDB DB_In, clsProduct CurrentProduct_In)
            : base(UnitSystem_In, Type_In, DB_In, CurrentProduct_In)
            //=====================================================================================================
        {
            //....Default Values:
            mDesign  = eDesign.Fixed;
            mLiningT = mc_DESIGN_LINING_THICK;

            //....Instantiate member object variables:
            mBlade         = new clsBlade();
            mDrainHoles    = new clsDrainHoles(this);
            mWireClipHoles = new clsWireClipHoles(this);
        }
コード例 #3
0
        public clsEndConfig(clsUnit.eSystem UnitSystem_In, eType Type_In,
                            clsDB DB_In, clsProduct CurrentProduct_In)
        //=================================================================
        {
            mUnit.System = UnitSystem_In;
            mType        = Type_In;

            mMountHoles = new clsMountHoles(this);

            mMat.Base         = "Bronze 660";
            mMat.LiningExists = false;
            mMat.Lining       = "None";

            mCurrentProduct = CurrentProduct_In;

            mDB = DB_In;
        }
コード例 #4
0
        public clsBearing_Thrust_TL(clsUnit.eSystem UnitSystem_In, eType Type_In, clsDB DB_In, clsProduct CurrentProduct_In)
            : base(UnitSystem_In, Type_In, DB_In, CurrentProduct_In)
            //====================================================================================================================
        {
            mPadD = new Double[2];

            mFeedGroove  = new clsFeedGroove(this);
            mWeepSlot    = new clsWeepSlot();
            mPerformData = new clsPerformData();

            ////mT1 = new clsEndMill();
            ////mT2 = new clsEndMill();
            ////mT3 = new clsEndMill();
            ////mT4 = new clsEndMill();

            ////mT2.Type = clsEndMill.eType.Flat;
            ////mT4.Type = clsEndMill.eType.Chamfer;

            ////mOverlap_frac = mc_DESIGN_OVERLAP_FRAC;
            ////mFeedRate.Taperland = mc_FEED_RATE_TL_DEF;
            ////mDepth_TL_BackLash = mc_DEPTH_TL_BACKLASH;
            ////mDepth_TL_Dwell_T = mc_DEPTH_TL_DWELL_T;
            ////mFeedRate.WeepSlot = mc_FEED_RATE_WEEPSLOT_DEF;
            ////mDepth_WS_Cut_Per_Pass = mc_DEPTH_WS_CUT_PER_PASS_DEF;

            Mat.Base         = "Steel 4340";
            Mat.LiningExists = false;
            Mat.Lining       = "Babbitt";
        }