프로젝트

일반

사용자정보

개정판 7d6d1693

ID7d6d16939d070dd389cec7aff8e4f27157681807
상위 a96d48f8
하위 6805be6e

이지연이(가) 약 3년 전에 추가함

issue #000: ValveGroupingSetting No Selection 삭제, No Selection 로직 제거, EGT 삭제 시 ML 및 연관 데이터 삭제 로직 추가, EGT Naming Rule 변경, Scope Break 로직 수정

Change-Id: I97a2ebb58bc9607c7448d884ba3cd1db16bb0f81

차이점 보기:

DTI_PID/ID2PSN/Form/ValveGroupingSetting.cs
101 101

  
102 102
            SymbolList = DB.SelectAllSymbolAttribute();
103 103

  
104
            //repositoryAttributeItem.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
105
            //repositoryAttributeItem.AppearanceDropDown.Font = Font;
106
            //repositoryAttributeItem.Items.Add("NoSelection");
107
            //foreach (DataRow dr in SymbolList.Rows)
108
            //{
109
            //    repositoryAttributeItem.Items.Add(dr["SymbolAttribute"].ToString());
110
            //}
111
            //repositoryAttributeItem.Items.Add("");
112

  
113 104
            repositoryAttributeItem.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
114 105
            repositoryAttributeItem.AppearanceDropDown.Font = Font;
115 106
            gridValveGroup.RepositoryItems.Add(repositoryAttributeItem);
......
165 156

  
166 157
                repositoryAttributeItem.Items.Clear();
167 158
                repositoryAttributeItem.Items.Add("");
168
                repositoryAttributeItem.Items.Add("NoSelection");
169 159
                foreach (DataRow dr in SymbolList.Rows)
170 160
                {
171 161
                    if(dr["SymbolName"].ToString().ToUpper().Equals(SppidSymbolName.ToUpper()))
......
173 163
                        repositoryAttributeItem.Items.Add(dr["SymbolAttribute"].ToString());
174 164
                    }                    
175 165
                }
176
                //repositoryAttributeItem.Items.Add("");
177 166
            }
178 167
        }
179 168

  
......
344 333
                    DataTable dt = gridValveGroup.DataSource as DataTable;
345 334
                    if (selectItem.Contains("Valves"))
346 335
                    {
347
                        dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "CV";
336
                        gridViewValveGroup.SetRowCellValue(columnView.FocusedRowHandle, "TagIdentifier", "CV");
337
                        //dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "CV";
348 338
                    }
349 339
                    else if (selectItem.Contains("Traps"))
350 340
                    {
351
                        dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "ST";
341
                        gridViewValveGroup.SetRowCellValue(columnView.FocusedRowHandle, "TagIdentifier", "ST");
342
                      //  dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "ST";
352 343
                    }
353 344
                    else if (selectItem.Contains("Reliefs"))
354 345
                    {
355
                        dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "PSV";
346
                        gridViewValveGroup.SetRowCellValue(columnView.FocusedRowHandle, "TagIdentifier", "PSV");
347
                       // dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "PSV";
348
                    }
349
                    else
350
                    {
351
                        gridViewValveGroup.SetRowCellValue(columnView.FocusedRowHandle, "TagIdentifier", string.Empty);
356 352
                    }
357 353
                }
358 354
            }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)