프로젝트

일반

사용자정보

개정판 bfbc9f6c

IDbfbc9f6c9a1f5cecc784b34fde2d2c8c5e9cc749
상위 944f3409
하위 0a67495d, c4b11eb8

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

issue #000:

Change-Id: I11d4ffc99b26ccefaf7012c2336afa4e0a71983d

차이점 보기:

DTI_PID/ID2PSN/Form/ValveGroupingSetting.cs
76 76

  
77 77

  
78 78
            repositoryGroupType = new RepositoryItemComboBox();
79
            repositoryGroupType.Items.AddRange(new string[] { "Valves (CV, PRV..)", "Traps (ST, DT..)", "Reliefs (PSV..)", "Pumps", "Scope Break" });
79
            repositoryGroupType.Items.AddRange(new string[] { "Valves (CV, PRV..)", "Traps (ST, DT..)", "Reliefs (PSV..)", "Scope Break" });
80 80
            repositoryGroupType.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
81 81
            //repositoryGroupType.EditValueChanging += RepositoryGroupType_EditValueChanging;
82 82
           // repositoryGroupType.SelectedIndexChanged += RepositoryGroupType_SelectedIndexChanged;
......
354 354
                    {
355 355
                        dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "PSV";
356 356
                    }
357
                    else if(selectItem.Contains("Pumps"))
358
                    {
359
                        dt.Rows[columnView.FocusedRowHandle]["TagIdentifier"] = "Pump";
360
                    }
361 357
                }
362 358
            }
363 359
           
......
385 381
            ReNumbering(currentValveGroupInfo);
386 382
            if(currentValveGroupInfo.ValveGroupItems.Find(x => x.TagIdentifier == string.Empty || x.AttributeName == string.Empty || x.SppidSymbolName == string.Empty) != null)
387 383
            {
388
                IEnumerable<ValveGroupItem> lstvalue = currentValveGroupInfo.ValveGroupItems.Where(x => x.TagIdentifier == string.Empty || x.AttributeName == string.Empty || x.SppidSymbolName == string.Empty);
384
                IEnumerable<ValveGroupItem> lstvalue = currentValveGroupInfo.ValveGroupItems.Where(x => x.TagIdentifier == string.Empty || x.SppidSymbolName == string.Empty);
389 385
                //Scope Break
390 386
                foreach(ValveGroupItem vg in lstvalue)
391 387
                {
392
                    if(vg.GroupType != "Scope Break")
388
                    if(vg.GroupType != "Scope Break" )
393 389
                    {
394 390
                        MessageBox.Show("Please save after entering data.", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
395 391
                        return;

내보내기 Unified diff

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