public clsOilInlet(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //===================================================================== { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; mCount_MainOilSupply = 1; mOrifice.StartPos = eOrificeStartPos.Below; mOrifice.Ratio_L_D = 1.5; }
public clsPad(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //============================================================== { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; //....Default Values: mCount = 4; mPivot.Offset = 50.0F; }
public clsARP(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //===================================================================== { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; mDowel = new clsPin(mCurrent_Bearing_Radial_FP.Unit.System); mDowel.Spec_Type = "P"; mDowel.Spec_Mat = "STEEL"; mOffset_Direction = "CCW"; mInsertedOn = eInsertedOn.BearingOD; }
public clsSL(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //============================================================= { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; //....Screw. // mScrew = new clsScrew(mCurrent_Bearing_Radial_FP.Unit.System); mScrew.Spec_Type = "SHCS"; mScrew.Spec_Mat = "STEEL"; //....Dowel. // mDowel = new clsPin(mCurrent_Bearing_Radial_FP.Unit.System); mDowel.Spec_Type = "P"; mDowel.Spec_Mat = "STEEL"; }
public clsFlange(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //================================================================= { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; }
//public Double Clearance() ////----------------------- //{ // return (mBore_Range[0] - mDShaft_Range[0]); //} //public Double PreLoad() ////--------------------- //{ // Double pPreLoad = 0.0f; // pPreLoad = (PadBore() - Bore()) / (PadBore() - DShaft()); // return pPreLoad; //} #endregion #endregion #region "VALIDATION ROUTINE:" //public Double Validate_Depth_EndConfig (Double Depth_In) ////====================================================== //{ // if (Depth_In < mc_DEPTH_END_CONFIG_MIN) // { // string pMsg = " End config. depth should not be less than the design minimum value of, " // + mc_DEPTH_END_CONFIG_MIN + "."; // MessageBox.Show(pMsg); // Depth_In = mc_DEPTH_END_CONFIG_MIN; // } // return Depth_In; //} #endregion #region "CLASS OBJECTS COPYING & COMPARISON ROUTINES:" public bool Compare(clsBearing_Radial_FP Bearing_In, string FormName_In) //======================================================================= { bool mblnVal_Changed = false; //int pRetValue = 0; //if (FormName_In == "Bearing") //{ // if (modMain.CompareVar(Bearing_In.SplitConfig, mSplitConfig, pRetValue) > 0) // { // mblnVal_Changed = true; // } // for (int i = 0; i < 2; i++) // { // if (modMain.CompareVar(Bearing_In.DShaft_Range[i], mDShaft_Range[i], 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.DFit_Range[i], mDFit_Range[i], 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.DPad_Range[i], mDPad_Range[i], 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.DSet_Range[i], mDSet_Range[i], 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // } // if (modMain.CompareVar(Bearing_In.Pad.Count, mPad.Count, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.L, mPad.L, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // //if (modMain.CompareVar(Bearing_In.Pad.Ang, mPad.Ang, 0, pRetValue) > 0) // //{ // // mblnVal_Changed = true; // //} // //if (modMain.CompareVar(Bearing_In.Pad.RFillet, mPad.RFillet, 3, pRetValue) > 0) // //{ // // mblnVal_Changed = true; // //} // if (modMain.CompareVar(Bearing_In.Pad.Pivot.AngStart, mPad.Pivot.AngStart, 0, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.Pivot.Offset, mPad.Pivot.Offset, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.T.Lead, mPad.T.Lead, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.T.Pivot, mPad.T.Pivot, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.T.Trail, mPad.T.Trail, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlexurePivot.Web.T, mFlexurePivot.Web.T, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlexurePivot.Web.RFillet, mFlexurePivot.Web.RFillet, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlexurePivot.Web.H, mFlexurePivot.Web.H, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlexurePivot.GapEDM, mFlexurePivot.GapEDM, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlexurePivot.Rot_Stiff, mFlexurePivot.Rot_Stiff, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.Orifice.D, mOilInlet.Orifice.D, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Mat.Base, mMat.Base, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Mat.Lining, mMat.Lining, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Mat.LiningExists, mMat.LiningExists, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.LiningT, mLiningT, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad.Type.ToString(), mPad.Type.ToString(), pRetValue) > 0) // { // mblnVal_Changed = true; // } // //if (modMain.CompareVar(Bearing_In.L_Tot, mL_Tot,4, pRetValue) > 0) // //{ // // mblnVal_Changed = true; // //} //} //else if (FormName_In == "Performance") //{ // if (modMain.CompareVar(Bearing_In.mPerformData.Power_HP, mPower_HP, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FlowReqd_gpm, mFlowReqd_gpm, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempRise_F, mTempRise_F, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TFilm_Min, mTFilm_Min, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad_Perform_Max.TempRise, mPad_Perform_Max.TempRise, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad_Perform_Max.Press, mPad_Perform_Max.Press, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad_Perform_Max.Rot, mPad_Perform_Max.Rot, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad_Perform_Max.Load, mPad_Perform_Max.Load, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.Pad_Perform_Max.Stress, mPad_Perform_Max.Stress, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } //} //else if (FormName_In == "Bearing Design Details") //{ // if (modMain.CompareVar(Bearing_In.L, mL, 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.Count_MainOilSupply, mOilInlet.Count_MainOilSupply, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.Annulus.Ratio_L_H, mOilInlet.Annulus.Ratio_L_H, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.Annulus.L, mOilInlet.Annulus.L, 3, pRetValue) > 0) //SB 15MAR10 // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.Annulus.D, mOilInlet.Annulus.D, 3, pRetValue) > 0) //SB 15MAR10 // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.OilInlet.OrificeStartPos.ToString(), mOilInlet.OrificeStartPos.ToString(), pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.MillRelief.Exists, mMillRelief.Exists, pRetValue) > 0) //SB 26MAY09 // { // mblnVal_Changed = true; // } // //if (modMain.CompareVar(Bearing_In.MillRelief.D, mMillRelief.D,3, pRetValue) > 0) //SG 09JAN12 Review // //{ // // mblnVal_Changed = true; // //} // if (modMain.CompareVar(Bearing_In.SplitLine_Screw_Spec.Type, mSplitLine_Screw_Spec.Type, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Screw_Spec.D_Desig, mSplitLine_Screw_Spec.D_Desig, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Screw_Spec.Pitch, mSplitLine_Screw_Spec.Pitch, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Screw_Spec.L, mSplitLine_Screw_Spec.L, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Screw_Spec.Mat, mSplitLine_Screw_Spec.Mat, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Dowel_Spec.Type, mSplitLine_Dowel_Spec.Type, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Dowel_Spec.D_Desig, mSplitLine_Dowel_Spec.D_Desig, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Dowel_Spec.L, mSplitLine_Dowel_Spec.L, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SplitLine_Dowel_Spec.Mat, mSplitLine_Dowel_Spec.Mat, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Spec.Type, mAntiRot_Pin_Spec.Type, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Spec.D_Desig, mAntiRot_Pin_Spec.D_Desig, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Spec.L, mAntiRot_Pin_Spec.L, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Spec.Mat, mAntiRot_Pin_Spec.Mat, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Loc.Angle, mAntiRot_Pin_Loc.Angle, 0, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Loc.Dist_Front, mAntiRot_Pin_Loc.Dist_Front, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // //if (modMain.CompareVar(Bearing_In.AntiRotPin.Loc.From_BearingSplit.ToString(), mAntiRotPin.Loc.From_BearingSplit.ToString(), pRetValue) > 0) // //{ // // mblnVal_Changed = true; // //} // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Loc.Bearing_Vert.ToString(), mAntiRot_Pin_Loc.Bearing_Vert.ToString(), pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Loc.Casing_SL.ToString(), mAntiRot_Pin_Loc.Casing_SL.ToString(), pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.AntiRot_Pin_Loc.Offset, mAntiRot_Pin_Loc.Offset, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FrontMountingHoles.GoThru, mEndConfig_MountingHoles_Front.GoThru, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.FrontMountingHoles.Depth, mEndConfig_MountingHoles_Front.Depth, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.PartNo, mEndConfig_MountFixture_Sel_Front.PartNo, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.DBC, mEndConfig_MountFixture_Sel_Front.DBC, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.D_Finish, mEndConfig_MountFixture_Sel_Front.D_Finish, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.PartNo, mEndConfig_MountFixture_Sel_Front.PartNo, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.Hole.Count, mEndConfig_MountFixture_Sel_Front.Hole.Count, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.HolesEqiSpaced, mEndConfig_MountFixture_Sel_Front.HolesEqiSpaced, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.HolesAngStart, mEndConfig_MountFixture_Sel_Front.HolesAngStart, 0, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.HolesAngStart_Comp_Chosen, mEndConfig_MountFixture_Sel_Front.HolesAngStart_Comp_Chosen, pRetValue) > 0) // { // mblnVal_Changed = true; // } // for (int i = 0; i < (mc_COUNT_MOUNT_HOLES_ANG_OTHER_MAX); i++) // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Front.HolesAngOther[i], mEndConfig_MountFixture_Sel_Front.HolesAngOther[i], 0, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Thread_Front.Type, mEndConfig_MountFixture_Sel_Front_Thread.Type, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Thread_Front.D_Desig, mEndConfig_MountFixture_Sel_Front_Thread.D_Desig, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Thread_Front.L, mEndConfig_MountFixture_Sel_Front_Thread.L, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Thread_Front.Pitch, mEndConfig_MountFixture_Sel_Front_Thread.Pitch, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.SealMountFixture_Sel_Thread_Front.Mat, mEndConfig_MountFixture_Sel_Front_Thread.Mat, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.CanLength, mTempSensorHoles.CanLength, 3, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.Exists, mTempSensorHoles.Exists, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.Loc.ToString(), mTempSensorHoles.Loc.ToString(), pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.Count, mTempSensorHoles.Count, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.D, mTempSensorHoles.D, 4, pRetValue) > 0) // { // mblnVal_Changed = true; // } // if (modMain.CompareVar(Bearing_In.TempSensorHoles.AngStart, mTempSensorHoles.AngStart, 0, pRetValue) > 0) // { // mblnVal_Changed = true; // } //} return(mblnVal_Changed); }
public clsEDM_Pad(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //================================================================== { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; }
public clsMillRelief(clsBearing_Radial_FP Current_Bearing_Radial_FP_In) //====================================================================== { mCurrent_Bearing_Radial_FP = Current_Bearing_Radial_FP_In; }