コード例 #1
0
ファイル: DirectoryManager.cs プロジェクト: giorgizek/Apothex
        public static DS_Dictionary.SP_GetDictionaryDataTable GetClass()
        {
            var table = new DS_Dictionary.SP_GetDictionaryDataTable();

            table.AddSP_GetDictionaryRow("H ", "H ", "მაღალი");
            table.AddSP_GetDictionaryRow("M ", "M ", "საშუალო");
            table.AddSP_GetDictionaryRow("L ", "L ", "დაბალი");
            return(table);
        }
コード例 #2
0
ファイル: DirectoryManager.cs プロジェクト: giorgizek/Apothex
        public static DS_Dictionary.SP_GetDictionaryDataTable GetStyle()
        {
            var table = new DS_Dictionary.SP_GetDictionaryDataTable();

            table.AddSP_GetDictionaryRow("W ", "W ", "ქალის");
            table.AddSP_GetDictionaryRow("M ", "M ", "კაცის");
            table.AddSP_GetDictionaryRow("U ", "U ", "უნივერსალური");
            return(table);
        }
コード例 #3
0
ファイル: DirectoryManager.cs プロジェクト: giorgizek/Apothex
        public static DS_Dictionary.SP_GetDictionaryDataTable GetProductLine()
        {
            var table = new DS_Dictionary.SP_GetDictionaryDataTable();

            table.AddSP_GetDictionaryRow("R ", "R ", "გზა");
            table.AddSP_GetDictionaryRow("M ", "M ", "მთა");
            table.AddSP_GetDictionaryRow("T ", "T ", "ტურისტული");
            table.AddSP_GetDictionaryRow("S ", "S ", "სტანდარტული");
            return(table);
        }
コード例 #4
0
ファイル: DirectoryManager.cs プロジェクト: giorgizek/Apothex
        public static DS_Currency.DD_CurrencyDataTable GetCurrencies(DS_Dictionary.SP_GetDictionaryDataTable table)
        {
            var result = new DS_Currency.DD_CurrencyDataTable();

            foreach (var row in table)
            {
                result.AddDD_CurrencyRow(result.Count + 1, row.ID, NumToStrHelper.ToCurrencyName(row.ID), NumToStrHelper.ToCurrencyMinorUnit(row.ID), NumToStrHelper.ToCurrencySymbol(row.ID), ConvertHelper.ToDecimal(row[table.CodeColumn]));
            }

            return(result);
        }