Ejemplo n.º 1
0
        private void Form_InitialButtonClicked(object pSender, EventArgs pEventArgs)
        {
            try
            {
                _luGATHERING_CODE.CodeText = "";
                _luGATHERING_CODE.NameText = "";

                CoFAS_DevExpressManager.SetCursor(this, Cursors.WaitCursor);

                //확인
                GridView gv = _gdMAIN_VIEW; //바인딩 되는 데이터 마스터 그리드 설정
                CoFAS_ControlManager.Controls_Binding(gv, true, this);
                _pFlagUpdate = "";

                CoFAS_DevExpressManager.SetCursor(this, Cursors.WaitCursor);
                //확인
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
            finally
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.Default);
            }
        }
Ejemplo n.º 2
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                if (e.Clicks > 1)
                {
                    GridView gv = sender as GridView;

                    CoFAS_ControlManager.Controls_Binding(gv, false, this); //

                    //string strWINDOW_NAME = gv.GetFocusedRowCellValue("WINDOW_NAME").ToString();
                    //string strGRID_NAME = gv.GetFocusedRowCellValue("GRID_NAME").ToString();

                    _pScheduling_T50Entity.EQUIPMENT_MST_CODE = gv.GetFocusedRowCellValue("EQUIPMENT_GROUP").ToString();

                    _pScheduling_T50Entity.CRUD = "R";

                    SetEqui();
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager));
            }
        }
Ejemplo n.º 3
0
        private void Form_InitialButtonClicked(object pSender, EventArgs pEventArgs)
        {
            try
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.WaitCursor);
                //확인

                InitializeSetting();
                GridView gv = _gdMAIN_VIEW; //바인딩 되는 데이터 마스터 그리드 설정
                CoFAS_ControlManager.Controls_Binding(gv, true, this);

                //_luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "common_code", "CD99", "", "").Tables[0], 0, 0, "");
                _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE_MATERIAL_T01", "", "", "").Tables[0], 0, 0, "", true);
                _luPART_TYPE.ItemIndex = 0;
                _luTPART_ALL.CodeText  = "";
                _luTPART_ALL.NameText  = "";
                //DisplayMessage("초기화했습니다.");
                DisplayMessage(_pMSG_SEARCH);
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
            finally
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.Default);
            }
        }
Ejemplo n.º 4
0
        private void Form_InitialButtonClicked(object pSender, EventArgs pEventArgs)
        {
            try
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.WaitCursor);
                //확인

                InitializeSetting();
                GridView gv = _gdMAIN_VIEW; //바인딩 되는 데이터 마스터 그리드 설정
                CoFAS_ControlManager.Controls_Binding(gv, true, this);

                //_luEQUIPMENT_CODE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "Terminal_detail_yb", "", "", "").Tables[0], 0, 0, "", true);
                _luEQUIPMENT_CODE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "Terminal_detail_yb", "", "", "").Tables[0], 0, 0, "", false);
                _luCHECK_CYCLE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "common_code", "EM05", "", "").Tables[0], 0, 0, "", false);

                //_luCHECK_CYCLE.ItemIndex = 1;
                //_luEQUIPMENT_CODE.ItemIndex = 1;

                //DisplayMessage("초기화했습니다.");
                DisplayMessage(_pMSG_SEARCH);
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
            finally
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.Default);
            }
        }
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this); //

                //string strWINDOW_NAME = gv.GetFocusedRowCellValue("WINDOW_NAME").ToString();
                //string strGRID_NAME = gv.GetFocusedRowCellValue("GRID_NAME").ToString();
                //
                //_pProductInRegisterEntity.CRUD = "R";
                // SubFind_DisplayData(strWINDOW_NAME, strGRID_NAME);
                _luTPART_NAME.Text = gv.GetFocusedRowCellValue("PART_NAME").ToString();
                //_luTPART_CODE.Text = gv.GetFocusedRowCellValue("PART_CODE").ToString();
                _luTPART_CODE.Text           = gv.GetFocusedRowCellValue("VEND_PART_CODE").ToString();
                _luTINSPECT_STATUS.Text      = gv.GetFocusedRowCellDisplayText("INSPECT_STATUS").ToString();
                _luTAPPROVAL_YN.Text         = _gdMAIN_VIEW.GetFocusedRowCellValue("INSPECT_APPROVAL").ToString() == "" ? _gdMAIN_VIEW.GetFocusedRowCellValue("INSPECT_APPROVAL").ToString() : _gdMAIN_VIEW.GetFocusedRowCellDisplayText("INSPECT_APPROVAL").ToString();;// gv.GetFocusedRowCellDisplayText("APPROVAL").ToString();
                _luTPRODUCTION_ORDER_ID.Text = gv.GetFocusedRowCellValue("PRODUCTION_ORDER_ID").ToString();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 6
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;
                CoFAS_ControlManager.Controls_Binding(gv, false, this); //그리드 정보 디테일 표기

                _pNoticeEntity.CRUD      = "R";
                _pNoticeEntity.NOTICE_ID = gv.GetFocusedRowCellValue("NOTICE_ID").ToString();

                string title    = gv.GetFocusedRowCellValue("TITLE").ToString();
                string contents = gv.GetFocusedRowCellValue("CONTENTS").ToString();
                string user     = gv.GetFocusedRowCellValue("REG_USER").ToString();
                string date     = gv.GetFocusedRowCellValue("NOTICE_DATE").ToString();

                frmCommonPopup.CRUD          = "R";
                frmCommonPopup.USER_CODE     = _pUSER_CODE;
                frmCommonPopup.LANGUAGE_TYPE = _pLANGUAGE_TYPE;
                frmCommonPopup.FONT_TYPE     = _pFONT_SETTING;

                // 0 서비스네임 1 공통코드경우 CODE_TYPE 으로구분자 올린다.
                frmCommonPopup.ARRAY_CODE = new object[4] {
                    title, contents, user, date
                };
                frmCommonPopup xfrmCommonPopup = new CORE.UserForm.frmCommonPopup("NoticeDetail"); //유저컨트롤러 설정 부분

                xfrmCommonPopup.ShowDialog();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 7
0
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            string result = "";

            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int qRowIndex = gv.FocusedRowHandle;
                //string a = gv.FocusedColumn.Name;
                //int a = gv.FocusedColumn.GroupIndex;
                //string qColumnHeader = e.Column.Caption;

                _luTPART_CODE.Font = new Font("Tahoma", 40);
                _luTPART_NAME.Font = new Font("Tahoma", 40);
                _luTPART_CODE.Text = _dtList.Rows[qRowIndex][0].ToString();
                _luTPART_NAME.Text = _dtList.Rows[qRowIndex][1].ToString();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 8
0
        private void _gdMAIN_VIEW_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                string strPART_CODE = gv.GetFocusedRowCellValue("PART_CODE").ToString();
                //  string strPART_TYPE = gv.GetFocusedRowCellValue("PART_TYPE").ToString();
                string strCRUD = "R";
                _pfrmPOPMain_RAWMATERIAL_COSMETICSEntity.INOUT_ID  = gv.GetFocusedRowCellValue("INOUT_ID").ToString();
                _pfrmPOPMain_RAWMATERIAL_COSMETICSEntity.ORDER_ID  = gv.GetFocusedRowCellValue("ORDER_ID").ToString();
                _pfrmPOPMain_RAWMATERIAL_COSMETICSEntity.PART_CODE = gv.GetFocusedRowCellValue("PART_CODE").ToString();
                _pfrmPOPMain_RAWMATERIAL_COSMETICSEntity.PART_NAME = gv.GetFocusedRowCellValue("PART_NAME").ToString();
                _pfrmPOPMain_RAWMATERIAL_COSMETICSEntity.IN_QTY    = gv.GetFocusedRowCellValue("IN_QTY").ToString();

                _pINSPECT_CHECK_YN = false;
                if (gv.GetFocusedRowCellValue("INSPECT_STATUS").ToString() != "QC010001")
                {
                    if (gv.GetFocusedRowCellValue("INSPECT_STATUS").ToString() != "")
                    {
                        _pINSPECT_CHECK_YN = true;
                    }
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            string result = "";

            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int    qRowIndex = gv.FocusedRowHandle;
                string a         = gv.FocusedColumn.Name;
                //int a = gv.FocusedColumn.GroupIndex;
                //string qColumnHeader = e.Column.Caption;

                frmPopupKeypad_T01 frmResult = new frmPopupKeypad_T01();

                if (a.Equals(_dtList.Columns["remark"].ToString()))
                {
                    string PopupValue = string.Empty;
                    if (frmResult.ShowDialog() == DialogResult.OK)
                    {
                        result = frmResult.ReturnValue1;

                        _dtList.Rows[qRowIndex]["remark"] = result;
                    }
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 10
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int    qRowIndex     = gv.FocusedRowHandle;
                string qColumnHeader = e.Column.Caption;
                string qWorkOrderID  = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();

                _gdMAIN_index = qRowIndex;
                _pWorkResultRegister_T07Entity.PRODUCTION_ORDER_ID = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();
                _pWorkResultRegister_T07Entity.PART_CODE           = gv.GetRowCellValue(qRowIndex, "PART_CODE").ToString();
                _pWorkResultRegister_T07Entity.PART_NAME           = gv.GetRowCellValue(qRowIndex, "PART_NAME").ToString();;
                _pWorkResultRegister_T07Entity.PROCESS_CODE        = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE").ToString();
                _pWorkResultRegister_T07Entity.USE_YN = gv.GetRowCellValue(qRowIndex, "PRODUCTION_STATUS").ToString();

                _pWorkResultRegister_T07Entity.COMPLETE_YN   = gv.GetRowCellValue(qRowIndex, "COMPLETE_YN").ToString();
                _pWorkResultRegister_T07Entity.TERMINAL_CODE = gv.GetRowCellValue(qRowIndex, "ORDER_TERMINAL_CODE").ToString();
                //switch (qColumnHeader)
                //{
                //    case "양품":
                //    case "불량":
                //    case "상태":
                //        SubFind_DisplayData(qWorkOrderID, qColumnHeader);
                //        break;
                //    default:
                //        break;
                //}

                SubFind_DisplayData(qWorkOrderID);

                //if ((_dtSub != null && _dtSub.Rows.Count > 0) || (_dtSub != null && _pWorkResultRegister_T07Entity.CRUD != "R") ||
                //    (_dtSub2 != null && _dtSub2.Rows.Count > 0) || (_dtSub2 != null && _pWorkResultRegister_T07Entity.CRUD != "R"))
                //{
                //    CoFAS_DevExpressManager.BindGridControl(_gdSUB1, _gdSUB1_VIEW, _dtSub);
                //    CoFAS_DevExpressManager.BindGridControl(_gdSUB2, _gdSUB2_VIEW, _dtSub2);

                //}
                //else
                //{
                //    //알림 - 조회할 데이터가 없습니다.
                //    CoFAS_DevExpressManager.ShowInformationMessage(_pMSG_SEARCH_EMPT);
                //    _dtSub.Rows.Clear();
                //    CoFAS_DevExpressManager.BindGridControl(_gdSUB1, _gdSUB1_VIEW, _dtSub);
                //    _dtSub.Rows.Clear();
                //    CoFAS_DevExpressManager.BindGridControl(_gdSUB2, _gdSUB2_VIEW, _dtSub2);
                //}
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 11
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);
                
                if (e.CellValue == null)
                {
                    _gdMAIN_VIEW.OptionsBehavior.Editable = true;

                    _gdMAIN_VIEW.OptionsBehavior.ReadOnly = false; // 강제 ReadOnly false

                    return;
                }

                _gdMAIN_VIEW.OptionsBehavior.Editable = false;

                _gdMAIN_VIEW.OptionsBehavior.ReadOnly = true; // 강제 ReadOnly true

                strWORKSHOP_NAME = gv.GetFocusedRowCellValue("WORKSHOP_NAME").ToString();
                strRESOURCE_NAME = gv.GetFocusedRowCellValue("RESOURCE_NAME").ToString();
                strPGMCODE = gv.GetFocusedRowCellValue("PGMCODE").ToString();
                strMODELYEAR = gv.GetFocusedRowCellValue("MODELYEAR").ToString();
                strIFRULE = gv.GetFocusedRowCellValue("IFRULE").ToString();

                //preRuleCode = Convert.ToInt32(gv.GetFocusedRowCellValue("RULE_CODE").ToString());
                //preRuleDetail = strIFRULE; // 기존 룰과 생성 및 수정된 룰과의 비교용

                _luIFCODITION.ItemIndex = 0;
                
                _luRULEDETAIL.Text = strIFRULE;

                _pRuleGeneratorEntity.CRUD = "R";

                //_luVALUE.Text = strRESOURCE_NAME + " | ";
                //_luVALUE.Text = _pRuleGeneratorEntity.RESOURCE_NAME + " | " + strValue;

                _luIFAND.Enabled = false;
                _luIFOR.Enabled = false;
                _luIFTHEN.Enabled = false;
                _luIFTRUE.Enabled = false;
                _luIFFALSE.Enabled = false;
                _luIRULEOPTION.Enabled = false;
                _luIFADD.Enabled = false;

                //_luOPTIONDETAIL.Enabled = false;
                //_luOPTIONDETAIL.Text = "";
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 12
0
        //private void InitializeControl2()
        //{
        //    try
        //    {
        //        _luINOUT_ID.Text = "";
        //        _luINOUT_ID.ReadOnly = true;

        //        _luINOUT_DATE.DateTime = DateTime.Today;

        //        _luTINOUT_CODE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", "common_code_MR", "MR03", "", "").Tables[0], 0, 0, "", true);
        //        _luTINOUT_CODE.ItemIndex = 0;

        //        _luPART_UNIT.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", "COMMON_CODE", "CD04", "", "").Tables[0], 0, 0, "");

        //        _luPART_ALL.CodeText = "";
        //        _luPART_ALL.NameText = "";
        //        _luPART_ALL.CodeReadOnly = true;
        //        _luPART_ALL.NameReadOnly = true;
        //        _luVEND_ALL.CodeText = "";
        //        _luVEND_ALL.NameText = "";
        //        _luVEND_ALL.CodeReadOnly = true;
        //        _luVEND_ALL.NameReadOnly = true;

        //        _luREFERENCE_ID.Text = "";
        //        _luREFERENCE_ID.ReadOnly = true;

        //        _luINOUT_QTY.Text = "0";
        //        _luINOUT_QTY.ReadOnly = false;

        //        _luUNITCOST.Text = "0";
        //        _luUNITCOST.ReadOnly = false;

        //        _luCOST.Text = "0";
        //        _luCOST.ReadOnly = true;

        //        _luREMARK.Text = "";
        //        _luREMARK.ReadOnly = false;

        //        _luINOUT_CODE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", "common_code_MR_DESC", "MR03", "", "").Tables[0], 0, 0, "");
        //        _luINOUT_CODE.ItemIndex = 0;
        //        _luINOUT_CODE.ReadOnly = true;

        //        _luUSE_YN.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", "common_code", "CD99", "", "").Tables[0], 0, 0, "");
        //        _luUSE_YN.ItemIndex = 0;

        //        dxValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual;
        //        dxValidationProvider.Validate();

        //    }
        //    catch (ExceptionManager pExceptionManager)
        //    {
        //        CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
        //    }
        //    finally
        //    {

        //    }
        //}
        #endregion

        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;
                CoFAS_ControlManager.Controls_Binding(gv, false, this); //
                _pMaterialStockStatus_T05Entity.CRUD = "R";
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 13
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;
                CoFAS_ControlManager.Controls_Binding(gv, false, this); //그리드 정보 디테일 표기

                _pCommentInfoRegisterEntity.CRUD       = "R";
                _pCommentInfoRegisterEntity.COMMENT_ID = gv.GetFocusedRowCellValue("COM_CODE").ToString();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 14
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                _pProductPlanRegisterEntity.production_plan_id = gv.GetFocusedRowCellValue("PRODUCTION_PLAN_ID").ToString();;
                _pProductPlanRegisterEntity.USE_YN             = gv.GetFocusedRowCellValue("USE_YN").ToString();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 15
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)

        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int    qRowIndex     = gv.FocusedRowHandle;
                string qColumnHeader = e.Column.Caption;
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 16
0
        /*#region ○ 서브 그리드 신규로우 생성시 이벤트 생성 - _gdSUB_VIEW_InitNewRow(object sender, InitNewRowEventArgs e)
         * private void _gdSUB_VIEW_InitNewRow(object sender, InitNewRowEventArgs e)
         * {
         *  DevExpress.XtraGrid.Views.Grid.GridView view = sender as DevExpress.XtraGrid.Views.Grid.GridView;
         *  view.SetRowCellValue(e.RowHandle, view.Columns["PART_UNITCOST_START_DATE"], DateTime.Today);
         *  view.SetRowCellValue(e.RowHandle, view.Columns["PART_UNITCOST_END_DATE"], DateTime.Parse("9999-12-31"));
         *  view.SetRowCellValue(e.RowHandle, view.Columns["USE_YN"], "Y");
         * }
         #endregion*/

        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                //string strRESOURCE_CODE = "";
                //string strRESOURCE_NAME = "";
                //string strRESOURCE_MIN_1 = "";
                //string strRESOURCE_MAX_1 = "";

                //_pGathering_InfoEntity.RESOURCE_CODE = strRESOURCE_CODE;
                //_pGathering_InfoEntity.RESOURCE_NAME = strRESOURCE_NAME;
                //_pGathering_InfoEntity.RESOURCE_MIN_1 = strRESOURCE_MIN_1;
                //_pGathering_InfoEntity.RESOURCE_MAX_1 = strRESOURCE_MAX_1;

                //_luRESOURCE_CODE.CodeText = _pGathering_InfoEntity.RESOURCE_CODE.ToString();
                //_luRESOURCE_CODE.NameText = _pGathering_InfoEntity.RESOURCE_NAME.ToString();

                //string strFTP_PATH = string.Format(@"{0}{1}/{2}/", _pFTP_PATH, "ITEM", "ITEM_IMAGE");
                _pFlagUpdate = "z";
                _pDPSSetting_mstEntity.CRUD = "R";
                gathering_id = gv.GetFocusedRowCellValue("GATHERING_ID").ToString();
                _luGATHERING_CODE.CodeText = gv.GetFocusedRowCellValue("GATHERING_CODE").ToString();
                _luGATHERING_CODE.NameText = gv.GetFocusedRowCellValue("GATHERING_NAME").ToString();

                // 선택한 이미지 파일 _luIMAGE_NAME에 바인딩
                //using (Stream responseStream = CoFAS_FTPManager.FTPFileBinding(strFTP_PATH, strFILE_NAME, _pFTP_ID, _pFTP_PW))
                //{
                //    if (responseStream != null)
                //    {
                //        System.Drawing.Bitmap bitmapImage = new Bitmap(responseStream);

                //        //_luIMAGE_NAME.Image = bitmapImage;
                //    }
                //}

                //SubFind_DisplayData(strRESOURCE_CODE, strRESOURCE_NAME, strRESOURCE_MIN_1, strRESOURCE_MAX_1);
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 17
0
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                _pucTABCommentEntity.COOMMENT_ID = gv.GetFocusedRowCellValue("COM_CODE").ToString();

                _luCOMMENT_DATA.Text = gv.GetFocusedRowCellValue("COM_DESCRIPTION").ToString();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 18
0
        private void _gdSUB_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                string strRULE_SETTING = gv.GetFocusedRowCellValue("RULE_SETTING").ToString();


                _luRULEDETAIL.Text = strRULE_SETTING;
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 19
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this); //

                string strWINDOW_NAME = gv.GetFocusedRowCellValue("WINDOW_NAME").ToString();
                string strGRID_NAME   = gv.GetFocusedRowCellValue("GRID_NAME").ToString();

                _pMaterialOutStatusEntity.CRUD = "R";
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager));
            }
        }
Ejemplo n.º 20
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int qRowIndex = gv.FocusedRowHandle;
                qEquipment_code = gv.GetRowCellValue(qRowIndex, "EQUIPMENT_CODE").ToString();
                string qColumnHeader = e.Column.Caption;
                string qWorkOrderID  = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();
                string qWorkOrderSEQ = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_SEQ").ToString();
                _gdMAIN_index = qRowIndex;
                _pWorkResultRegister_T50Entity.PRODUCTION_ORDER_ID = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();
                _pWorkResultRegister_T50Entity.PART_CODE           = gv.GetRowCellValue(qRowIndex, "PART_CODE").ToString();
                _pWorkResultRegister_T50Entity.PART_NAME           = gv.GetRowCellValue(qRowIndex, "PART_NAME").ToString();;
                _pWorkResultRegister_T50Entity.PROCESS_CODE        = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE").ToString();
                _pWorkResultRegister_T50Entity.USE_YN = gv.GetRowCellValue(qRowIndex, "PRODUCTION_STATUS").ToString();
                _pWorkResultRegister_T50Entity.PRODUCTION_ORDER_SEQ = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_SEQ").ToString();
                _pWorkResultRegister_T50Entity.COMPLETE_YN          = gv.GetRowCellValue(qRowIndex, "COMPLETE_YN").ToString();

                order_qty = Convert.ToDecimal(gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_QTY").ToString());
                ok_qty    = Convert.ToDecimal(gv.GetRowCellValue(qRowIndex, "PRODUCTION_OK_QTY").ToString());
                ng_qty    = Convert.ToDecimal(gv.GetRowCellValue(qRowIndex, "PRODUCTION_NG_QTY").ToString());


                switch (qColumnHeader)
                {
                case "양품":
                case "불량":
                case "상태":
                    SubFind_DisplayData(qWorkOrderID, qWorkOrderSEQ, qColumnHeader);
                    break;

                default:
                    break;
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 21
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int    qRowIndex     = gv.FocusedRowHandle;
                string qColumnHeader = e.Column.FieldName;
                string qWorkOrderID  = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();

                _gdMAIN_index = qRowIndex;
                _pWorkResultRegisterEntity.PRODUCTION_ORDER_ID = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();
                _pWorkResultRegisterEntity.PART_CODE           = gv.GetRowCellValue(qRowIndex, "PART_CODE").ToString();
                _pWorkResultRegisterEntity.PART_NAME           = gv.GetRowCellValue(qRowIndex, "PART_NAME").ToString();;
                _pWorkResultRegisterEntity.PROCESS_CODE        = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE").ToString();
                _pWorkResultRegisterEntity.USE_YN = gv.GetRowCellValue(qRowIndex, "PRODUCTION_STATUS").ToString();

                _pWorkResultRegisterEntity.COMPLETE_YN = gv.GetRowCellValue(qRowIndex, "COMPLETE_YN").ToString();

                _pWorkResultRegisterEntity.PROCESS_CODE1   = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE_MST").ToString();
                _pWorkResultRegisterEntity.PROCESS_NAME1   = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE_MST_NAME").ToString();
                _pWorkResultRegisterEntity.WORKCENTER_CODE = gv.GetRowCellValue(qRowIndex, "PROCESS_CODE").ToString();
                _pWorkResultRegisterEntity.WORKCENTER_NAME = gv.GetRowCellValue(qRowIndex, "PROCESS_NAME").ToString();


                switch (qColumnHeader)
                {
                case "PRODUCTION_OK_QTY":
                case "PRODUCTION_NG_QTY":
                case "PRODUCTION_STATUS":
                    SubFind_DisplayData(qWorkOrderID, qColumnHeader);
                    break;

                default:
                    break;
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 22
0
        private void _gdPART_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                string strPART_CODE = gv.GetFocusedRowCellValue("PART_CODE").ToString();
                string strPART_TYPE = gv.GetFocusedRowCellValue("PART_TYPE").ToString();
                string strCRUD      = "R";

                SubFind_DisplayData(strCRUD, strPART_CODE, strPART_TYPE);
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 23
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this); //

                string strWINDOW_NAME = gv.GetFocusedRowCellValue("WINDOW_NAME").ToString();
                string strGRID_NAME   = gv.GetFocusedRowCellValue("GRID_NAME").ToString();

                _pDyeing_WorkOrdersRegisterEntity.CRUD = "R";
                SubFind_DisplayData(strWINDOW_NAME, strGRID_NAME);
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 24
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdSUB_MST_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                _pWindowPageSettingEntity.GRID_NAME = gv.GetFocusedRowCellValue("GRID_NAME").ToString();

                _pWindowPageSettingEntity.CRUD = "R";

                GridSubFind_DisplayData();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 25
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                //FTP에서 파일명에 맞는 엑셀 파일 가져오기

                string strFILE_NAME = "";

                strFILE_NAME         = gv.GetFocusedRowCellValue("FILE_NAME").ToString(); //추가
                PASS_PARENT_USE_TYPE = gv.GetFocusedRowCellValue("USE_TYPE").ToString();

                switch (PASS_PARENT_USE_TYPE)
                {
                case "PRINT":
                    strPARENT_FTP_PATH = string.Format(@"{0}{1}/", PASS_PARENT_FTP_PATH, "ORDER_FORM");
                    break;

                case "VIEW":
                    strPARENT_FTP_PATH = string.Format(@"{0}{1}/", PASS_PARENT_FTP_PATH, "PROGRAM_VIEW");
                    break;
                }

                using (Stream responseStream = CoFAS_FTPManager.FTPFileBinding(strPARENT_FTP_PATH, strFILE_NAME, PASS_PARENT_FTP_ID, PASS_PARENT_FTP_PW))
                {
                    if (responseStream != null)
                    {
                        _sdMAIN.LoadDocument(responseStream, enFileFormat.Xlsx);
                    }
                    else
                    {
                        _sdMAIN.ClearSheet();
                    }
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager));
            }
        }
Ejemplo n.º 26
0
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                //string strPART_CODE = gv.GetFocusedRowCellValue("PART_CODE").ToString();
                //string strPART_REVISION_NO = gv.GetFocusedRowCellValue("PART_REVISION_NO").ToString();
                //string strPART_TYPE = gv.GetFocusedRowCellValue("PART_TYPE").ToString();
                //string strPART_NAME = gv.GetFocusedRowCellValue("PART_NAME").ToString();
                _pWasherTruckRegisterEntity.CRUD = "R";
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                int qRowIndex = gv.FocusedRowHandle;
                //string qColumnHeader = e.Column.Caption;

                //선택한 행의 셀이 작업지시일자인 데이터를 변수에 저장
                string qWorkOrderID = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();
                //_pManufacturingHistoryEntity.PRODUCTION_ORDER_ID = gv.GetRowCellValue(qRowIndex, "PRODUCTION_ORDER_ID").ToString();

                _gdMAIN_index = qRowIndex;

                // 작업지시를 인수로 넘겨서 해당 메소드 실행
                SubFind_DisplayData(qWorkOrderID);
                SubFind_DisplayData2(qWorkOrderID);

                if ((_dtSub != null && _dtSub.Rows.Count > 0) || (_dtSub != null && _pManufacturingHistory_T01Entity.CRUD == "") ||
                    (_dtSub2 != null && _dtSub2.Rows.Count > 0) || (_dtSub2 != null && _pManufacturingHistory_T01Entity.CRUD == ""))
                {
                    CoFAS_DevExpressManager.BindGridControl(_gdSUB, _gdSUB_VIEW, _dtSub);
                    CoFAS_DevExpressManager.BindGridControl(_gdSUB2, _gdSUB2_VIEW, _dtSub2);
                }
                else
                {
                    //알림 - 조회할 데이터가 없습니다.
                    CoFAS_DevExpressManager.ShowInformationMessage(_pMSG_SEARCH_EMPT);
                    _dtSub.Rows.Clear();
                    CoFAS_DevExpressManager.BindGridControl(_gdSUB, _gdSUB_VIEW, _dtSub);
                    _dtSub2.Rows.Clear();
                    CoFAS_DevExpressManager.BindGridControl(_gdSUB2, _gdSUB2_VIEW, _dtSub2);
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
Ejemplo n.º 28
0
        // 추가 이벤트 생성
        #region ○ 메인 그리드 로우 선택 이벤트 생성 - _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                CoFAS_ControlManager.Controls_Binding(gv, false, this);

                string strRULE_OPTION = gv.GetFocusedRowCellValue("RULE_OPTION").ToString();
                string strRULE_VALUE  = gv.GetFocusedRowCellValue("RULE_VALUE").ToString();

                RuleGenerator.ruleOption = strRULE_OPTION;
                RuleGenerator.ruleValue  = strRULE_VALUE;

                Close();
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
        private void _gdMAIN_VIEW_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            try
            {
                GridView gv = sender as GridView;

                _pucTerminalDetailInfoPopup_Entity.TERMINAL_CODE = gv.GetFocusedRowCellValue("TERMINAL_CODE").ToString();
                _pucTerminalDetailInfoPopup_Entity.TERMINAL_SEQ  = gv.GetFocusedRowCellValue("INFO_SEQ").ToString();

                MainBindingFind_DisplayData();

                if ((_dtList != null))
                {
                    CoFAS_ControlManager.Controls_Binding(_dtList, false, this);
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
        private void Form_InitialButtonClicked(object pSender, EventArgs pEventArgs)
        {
            try
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.WaitCursor);
                _luT_PART_TYPE.ItemIndex = 0;
                //확인
                //if (_gdSUB_VIEW.GridControl != null && CoFAS_ConvertManager.DataTable_FindCount(_gdSUB_VIEW.GridControl.DataSource as DataTable, "CRUD IN ('C','U','D')", ""))
                //{
                //    if (CoFAS_DevExpressManager.ShowQuestionMessage("작업 초기화 하겠습니까?") == DialogResult.No)
                //    {
                //        return;
                //    }
                //    else
                //    {
                //        InitializeSetting();
                //        GridView gv = _gdMAIN_VIEW; //바인딩 되는 데이터 마스터 그리드 설정
                //        CoFAS_ControlManager.Controls_Binding(gv, true, this);

                //        DisplayMessage("초기화했습니다.");
                //    }
                //}
                //else
                //{
                InitializeSetting();
                GridView gv = _gdMAIN_VIEW;     //바인딩 되는 데이터 마스터 그리드 설정
                CoFAS_ControlManager.Controls_Binding(gv, true, this);

                //    DisplayMessage("초기화했습니다.");
                //}
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
            finally
            {
                CoFAS_DevExpressManager.SetCursor(this, Cursors.Default);
            }
        }