private static EPRTRT.DataContracts.LangCollection PopulateWTChartText(string text) { EPRTRT.DataContracts.LangCollection lang = new EPRTRT.DataContracts.LangCollection(); var DOUBLE_COUNTING_TOTAL = new EPRTRT.DataContracts.Lang(); var DISPOSAL_COUNTING_TOTAL = new EPRTRT.DataContracts.Lang(); var RECOVERY_COUNTING_TOTAL = new EPRTRT.DataContracts.Lang(); var UNSPECIFIED_COUNTING_TOTAL = new EPRTRT.DataContracts.Lang(); var TOTAL = new EPRTRT.DataContracts.Lang(); var DISPOSAL = new EPRTRT.DataContracts.Lang(); var RECOVERY = new EPRTRT.DataContracts.Lang(); var UNSPECIFIED = new EPRTRT.DataContracts.Lang(); DOUBLE_COUNTING_TOTAL.Key = "DOUBLE_COUNTING_TOTAL"; DOUBLE_COUNTING_TOTAL.Word = Resources.GetGlobal("ChartLabels", "DOUBLE_COUNTING_TOTAL"); lang.Add(DOUBLE_COUNTING_TOTAL); TOTAL.Key = "TOTAL"; TOTAL.Word = Resources.GetGlobal("ChartLabels", "TOTAL"); lang.Add(TOTAL); DISPOSAL_COUNTING_TOTAL.key = "DISPOSAL_COUNTING_TOTAL"; DISPOSAL_COUNTING_TOTAL.Word = Resources.GetGlobal("ChartLabels", "DISPOSAL_COUNTING_TOTAL"); lang.Add(DISPOSAL_COUNTING_TOTAL); DISPOSAL.Key = "DISPOSAL"; DISPOSAL.Word = Resources.GetGlobal("ChartLabels", "DISPOSAL"); lang.Add(DISPOSAL); RECOVERY_COUNTING_TOTAL.Key = "RECOVERY_COUNTING_TOTAL"; RECOVERY_COUNTING_TOTAL.Word = Resources.GetGlobal("ChartLabels", "RECOVERY_COUNTING_TOTAL"); lang.Add(RECOVERY_COUNTING_TOTAL); RECOVERY.Key = "RECOVERY"; RECOVERY.Word = Resources.GetGlobal("ChartLabels", "RECOVERY"); lang.Add(RECOVERY); UNSPECIFIED_COUNTING_TOTAL.key = "UNSPECIFIED_COUNTING_TOTAL"; UNSPECIFIED_COUNTING_TOTAL.Word = Resources.GetGlobal("ChartLabels", "UNSPECIFIED_COUNTING_TOTAL"); lang.Add(UNSPECIFIED_COUNTING_TOTAL); UNSPECIFIED.Key = "UNSPECIFIED"; UNSPECIFIED.Word = Resources.GetGlobal("ChartLabels", "UNSPECIFIED"); lang.Add(UNSPECIFIED); return(lang); }
private static EPRTRT.DataContracts.LangCollection PopulateWTTHChartText() { EPRTRT.DataContracts.LangCollection lang = new EPRTRT.DataContracts.LangCollection(); var FROM_COUNTRY = new EPRTRT.DataContracts.Lang(); var TO_COUNTRY = new EPRTRT.DataContracts.Lang(); FROM_COUNTRY.Key = "FROM_COUNTRY"; FROM_COUNTRY.Word = Resources.GetGlobal("ChartLabels", "FROM_COUNTRY"); lang.Add(FROM_COUNTRY); TO_COUNTRY.Key = "TO_COUNTRY"; TO_COUNTRY.Word = Resources.GetGlobal("ChartLabels", "TO_COUNTRY"); lang.Add(TO_COUNTRY); return(lang); }