Exemple #1
0
        public clsBearing_Radial_FP(clsUnit.eSystem UnitSystem_In, eDesign Design_In, clsProduct CurrentProduct_In)
            : base(UnitSystem_In, Design_In)
            //=========================================================================================================
        {
            //....Instantiate member class objects:
            mPad          = new clsPad(this);
            mFlexurePivot = new clsFlexurePivot();
            mOilInlet     = new clsOilInlet(this);
            mFlange       = new clsFlange(this);
            //mTempSensor = new clsTempSensor(this);
            mMillRelief  = new clsMillRelief(this);
            mSL          = new clsSL(this);
            mARP         = new clsARP(this);
            mEDM_Pad     = new clsEDM_Pad(this);
            mMount       = new clsMount(CurrentProduct_In);
            mPerformData = new clsPerformData();

            //....Initialize:
            mSplitConfig = true;

            //........Material.
            mMat.WCode_Base   = "1002-107";
            mMat.LiningExists = true;
            mMat.WCode_Lining = "1002-960";

            mCurrentProduct = CurrentProduct_In;
        }
        //....Class Constructor
        public clsJBearing(clsUnit.eSystem UnitSystem_In, clsBearing.eType BearingType_In)
            : base(UnitSystem_In, BearingType_In)
            //===============================================================================
        {
            mUnit.System = UnitSystem_In;

            mRadB = new clsRadB(UnitSystem_In, clsRadB.eDesign.Flexure_Pivot, this);

            //....End Plates:
            mEndPlate = new clsEndPlate[2];

            //....Mount
            mMount = new clsMount[2];

            for (int i = 0; i < 2; i++)
            {
                mEndPlate[i] = new clsEndPlate(mUnit.System, this);
                mMount[i]    = new clsMount(this);
            }
        }