/// <summary>
        /// 获取单例;
        /// </summary>
        /// <returns></returns>
        public static CMrCylinderDoorTopManager GetInstance()
        {
            if (null == mInstance)
            {
                mInstance = new CMrCylinderDoorTopManager();
            }

            return(mInstance);
        }
        /// <summary>
        /// 获得零件右侧的标注,主要是底部和顶部的零部件;
        /// </summary>
        /// <returns></returns>
        public CMrDimSet GetYRightPartDim()
        {
            CMrDimSet mrDimSet = new CMrDimSet();

            CMrPart yNormalBottomPart = CMrCylinderDoorTopManager.GetInstance().mYNormalBottomPart;
            CMrPart yNormalTopPart    = CMrCylinderDoorTopManager.GetInstance().mTopPart;

            if (mMrPart == yNormalBottomPart)
            {
                mrDimSet.AddPoint(mMrPart.GetMaxXMinYPoint());
                mrDimSet.AddPoint(mMrPart.GetMaxXMaxYPoint());
            }
            if (mMrPart == yNormalTopPart)
            {
                mrDimSet.AddPoint(mMrPart.GetMaxXMinYPoint());
                mrDimSet.AddPoint(mMrPart.GetMaxXMaxYPoint());
            }

            return(mrDimSet);
        }