프로젝트

일반

사용자정보

개정판 4842b66a

ID4842b66a3b92a6604a46b151eaf20ce744c48878
상위 ac2f33ba
하위 db2a7db9, e9e77eb6

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

issue #000: GroudLevel 추가

Change-Id: Icb8e25bc0283b6e29989b297c2edde40b7fc4499

차이점 보기:

DTI_PID/ID2PSN/PSN.cs
2182 2182
                pipeSystemNetworkDT.Columns.Add("Pocket", typeof(string));
2183 2183
                pipeSystemNetworkDT.Columns.Add("EGTag", typeof(string));
2184 2184
                pipeSystemNetworkDT.Columns.Add("HasMLTags", typeof(string));
2185
                pipeSystemNetworkDT.Columns.Add("GroundLevel", typeof(string));
2185 2186
                pipeSystemNetworkDT.Columns.Add("AFC", typeof(string));
2186 2187
                pipeSystemNetworkDT.Columns.Add("PUMP", typeof(string));
2187 2188

  
......
2529 2530
                                    {
2530 2531
                                        LineNumber lineNumber = item.Document.LineNumbers.Find(x => x.UID == item.Owner);
2531 2532
                                        string FluidCode = string.Empty;
2533
                                        string GroundLevel = string.Empty;
2532 2534
                                        if (lineNumber != null)
2533 2535
                                        {
2534 2536
                                            List<Attribute> att = lineNumber.Attributes;
......
2575 2577
                                                    newPipesystemRow["FLUID"] = FluidCode;
2576 2578
                                                    newPipesystemRow["PMC"] = PMC;
2577 2579
                                                    newPipesystemRow["PipeLineQty"] = string.Empty;
2578
                                                    string GroundLevel = string.Empty;
2580
                                                    
2579 2581
                                                    if (!string.IsNullOrEmpty(FluidCode) && !string.IsNullOrEmpty(PMC))
2580 2582
                                                    {
2581 2583
                                                        FluidCodeGL = PSNFluidDT.Select(string.Format("Code = '{0}'", FluidCode)).FirstOrDefault().Field<string>("GroundLevel");
......
2590 2592
                                                    newPipesystemRow["GroundLevel"] = GroundLevel;
2591 2593
                                                    pipesystemDT.Rows.Add(newPipesystemRow);
2592 2594
                                                }
2595
                                                else
2596
                                                {
2597
                                                    GroundLevel = pipesystemDT.Select(string.Format("OID = '{0}'", PipeSystem_OID)).First().Field<string>("GroundLevel");
2598
                                                }
2593 2599
                                            }
2594 2600
                                        }
2595 2601

  
......
2809 2815

  
2810 2816
                                        newRow["EGTag"] = string.Empty;
2811 2817
                                        newRow["HasMLTags"] = "False";
2818
                                        newRow["GroundLevel"] = GroundLevel;
2812 2819
                                        pipeSystemNetworkDT.Rows.Add(newRow);
2813 2820
                                    }
2814 2821
                                }

내보내기 Unified diff

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