개정판 a653883a
issue #000: Status
Change-Id: I125f473e3f4dd6d8893366af4763ea801ad16721
DTI_PID/ID2PSN/Form/MainForm.cs | ||
---|---|---|
490 | 490 |
PSNPageDT.Columns.Add("Status", typeof(string)); |
491 | 491 |
PSNPageDT.Columns.Add("IncludingVirtualData", typeof(string)); |
492 | 492 |
PSNPageDT.Columns.Add("PSNAccuracy", typeof(string)); |
493 |
PSNPageDT.Columns.Add("AFC", typeof(string)); |
|
493 |
//PSNPageDT.Columns.Add("AFC", typeof(string));
|
|
494 | 494 |
PSNPageDT.Columns.Add("Show", typeof(string)); |
495 | 495 |
|
496 | 496 |
|
... | ... | |
630 | 630 |
newRow["Pocket"] = row["Pocket"].ToString(); |
631 | 631 |
newRow["EGTag"] = row["EGTag"].ToString(); |
632 | 632 |
newRow["HasMLTags"] = row["HasMLTags"].ToString(); |
633 |
if(row.Table.Columns["AFC"] != null) |
|
634 |
newRow["AFC"] = row["AFC"].ToString(); |
|
633 |
//if(row.Table.Columns["AFC"] != null)
|
|
634 |
// newRow["AFC"] = row["AFC"].ToString();
|
|
635 | 635 |
|
636 | 636 |
PSNPageDT.Rows.Add(newRow); |
637 | 637 |
} |
DTI_PID/ID2PSN/PSN.cs | ||
---|---|---|
2629 | 2629 |
|
2630 | 2630 |
if (psnOrder == 0) //order 0일땐 그냥 붙여줌 |
2631 | 2631 |
{ |
2632 |
if (!string.IsNullOrEmpty(PSNItem.Status)) //to에 status가 있다면 |
|
2633 |
{ |
|
2634 |
status += oStatus + PSNItem.Status; |
|
2635 |
} |
|
2632 |
status += oStatus + PSNItem.Status; |
|
2636 | 2633 |
} |
2637 | 2634 |
else if (psnOrder > 0) //0보다 크면 |
2638 | 2635 |
{ |
... | ... | |
2640 | 2637 |
|
2641 | 2638 |
if (psnOrder >= 1) |
2642 | 2639 |
{ |
2643 |
if(!string.IsNullOrEmpty(PSNItem.Status)) |
|
2640 |
if (!string.IsNullOrEmpty(PSNItem.Status))
|
|
2644 | 2641 |
{ |
2645 |
dr["Status"] = dr["Status"].ToString().Replace(PSNItem.Status, string.Empty); |
|
2642 |
if (dr["Status"].ToString().Contains(PSNItem.Status)) |
|
2643 |
{ |
|
2644 |
dr["Status"] = dr["Status"].ToString().Replace(PSNItem.Status, string.Empty); |
|
2645 |
} |
|
2646 |
else |
|
2647 |
{ |
|
2648 |
dr["Status"] = dr["Status"].ToString().Replace(PSNItem.Status.Remove(0, 2), string.Empty); |
|
2649 |
} |
|
2646 | 2650 |
} |
2647 | 2651 |
} |
2648 | 2652 |
|
내보내기 Unified diff