namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2 { using System.Collections.Generic; using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum; using Kreta.Resources; public static class Constant { private static readonly Dictionary megjegyzesByJavasoltJelenletTemplateTypeDictionary = new Dictionary { { JavasoltJelenletTemplateType.Igazolas, NaploApiResource.ATanulonakIgazolasLettRogzitve }, { JavasoltJelenletTemplateType.ElozoOranHianyzott, NaploApiResource.ElozoOranHianyzott }, { JavasoltJelenletTemplateType.ParhuzamosOranNaplozott, NaploApiResource.ParuzamosOranMarNaploztak }, { JavasoltJelenletTemplateType.Felmentes, NaploApiResource.ATanulonakFelmenteseVan }, { JavasoltJelenletTemplateType.SzakmaiGyakorlat, NaploApiResource.SzakmaiGyakorlatonJelenlevo }, { JavasoltJelenletTemplateType.JogviszonySzuneteltetes, NaploApiResource.JogviszonySzunetelteto }, { JavasoltJelenletTemplateType.MagantanuloOralatogatasAloliMentesseg, NaploApiResource.Magantanulo } }; public static string GetMegjegyzesByJavasoltJelenletTemplateType(JavasoltJelenletTemplateType tipus) { return megjegyzesByJavasoltJelenletTemplateTypeDictionary.TryGetValue(tipus, out string value) ? value : null; } public static readonly int FeltolthetoFajlokMaxSzama = 25; public static readonly string DateTimeFormat = "yyyyMMdd_HHmm"; } }