Example #1
0
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //생성 :
        //추가 :
        //목적 : Visible 유무
        //설명 :
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        public void SetVisible(bool bVisible)
        {
            var pDocument = CDocument.GetDocument;

            this.Visible = bVisible;
            var pFormCommon = CFormCommon.GetFormCommon;

            if (true == bVisible)
            {
                // 유저 권한 레벨에 따른 버튼 상태 변경 델리게이트 생성
                m_delegateSetChangeButtonStatus = new DelegateSetChangeButtonStatus(pFormCommon.SetChangeButtonStatus);
                // 페이지 편집 권한에 따라 버튼 상태 변경
                pFormCommon.SetChangeButtonStatus(pDocument, this.Controls, CDefine.FormView.FORM_VIEW_CONFIG);
                // 권한에따른 버튼 숨김표시 설정
                SetButtonStatus();
                // 해당 폼을 말단으로 설정
                pDocument.GetMainFrame().SetCurrentForm(this);
                // 옵션 파라미터 갱신
                m_objSystemParameter = pDocument.m_objConfig.GetSystemParameter();
                //조명파라미터 갱신
                m_objLightControllerParameter = pDocument.m_objConfig.GetLightControllerParameter(CDefine.enumLightController.LIGHT_CONTROLLER_MAIN);
                // 카메라 파라미터 갱신
                m_objCameraParameter = pDocument.m_objConfig.GetCameraParameter(( int )m_eCamera);
                m_objRecipeParameter = pDocument.m_objConfig.GetRecipeParameter(( int )m_eCamera);
            }
        }
Example #2
0
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //생성 :
        //추가 :
        //목적 : Visible 유무
        //설명 :
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        public void SetVisible(bool bVisible)
        {
            var pDocument = CDocument.GetDocument;

            this.Visible = bVisible;

            if (true == bVisible)
            {
                var pFormCommon = CFormCommon.GetFormCommon;
                // 유저 권한 레벨에 따른 버튼 상태 변경 델리게이트 생성
                m_delegateSetChangeButtonStatus = new DelegateSetChangeButtonStatus(pFormCommon.SetChangeButtonStatus);
                // 페이지 편집 권한에 따라 버튼 상태 변경
                //pFormCommon.SetChangeButtonStatus( pDocument, this.Controls, CDefine.FormView.FORM_VIEW_IO );
                // 해당 폼을 말단으로 설정
                pDocument.GetMainFrame().SetCurrentForm(this);
            }
        }
Example #3
0
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //생성 :
        //추가 :
        //목적 : Visible 유무
        //설명 :
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        public void SetVisible(bool bVisible)
        {
            var pDocument = CDocument.GetDocument;

            this.Visible = bVisible;
            var pFormCommon = CFormCommon.GetFormCommon;

            if (true == bVisible)
            {
                // 유저 권한 레벨에 따른 버튼 상태 변경 델리게이트 생성
                m_delegateSetChangeButtonStatus = new DelegateSetChangeButtonStatus(pFormCommon.SetChangeButtonStatus);
                // 페이지 편집 권한에 따라 버튼 상태 변경
                pFormCommon.SetChangeButtonStatus(pDocument, this.Controls, CDefine.FormView.FORM_VIEW_SETUP);
                // 해당 폼을 말단으로 설정
                pDocument.GetMainFrame().SetCurrentForm(this);
                // 모델 정보 리스트 갱신
                m_objRecipeInformationList = pDocument.m_objRecipe.GetRecipeInformationList();
            }
        }