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 clsRadB(clsUnit.eSystem UnitSystem_In, eDesign Design_In, clsJBearing CurrentBearing_In) //============================================================================================= { mCurrentBearing = CurrentBearing_In; if (Design_In == eDesign.Flexure_Pivot) { mPivot = new clsPivot.clsFP(UnitSystem_In, clsRadB.eDesign.Flexure_Pivot, CurrentBearing_In); } else if (Design_In == eDesign.Tilting_Pad) { mPivot = new clsPivot.clsTP(UnitSystem_In, clsRadB.eDesign.Tilting_Pad, CurrentBearing_In); } //....Instantiate member class objects: mPad = new clsPad(this); mOilInlet = new clsOilInlet(CurrentBearing_In); mARP = new clsARP(CurrentBearing_In); mSL = new clsSL(CurrentBearing_In); mFlange = new clsFlange(this); //....Initialize: mSplitConfig = true; //........Material. mMat.WCode_Base = "1002-107"; mMat.LiningExists = true; mMat.WCode_Lining = "1002-960"; }