Nationality.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CollectInformation.HCUSBSDK
  7. {
  8. public static class Nationality
  9. {
  10. static Dictionary<string, string> NationalDictionary= new Dictionary<string, string>()
  11. {
  12. {"01","汉"},
  13. {"02","蒙古"},
  14. {"03","回"},
  15. {"04","藏"},
  16. {"05","维吾尔"},
  17. {"06","苗"},
  18. {"07","彝"},
  19. {"08","壮"},
  20. {"09","布依"},
  21. {"10","朝鲜"},
  22. {"11","满"},
  23. {"12","侗"},
  24. {"13","瑶"},
  25. {"14","白"},
  26. {"15","土家"},
  27. {"16","哈尼"},
  28. {"17","哈萨克"},
  29. {"18","傣"},
  30. {"19","黎"},
  31. {"20","傈僳"},
  32. {"21","佤"},
  33. {"22","畲"},
  34. {"23","高山"},
  35. {"24","拉祜"},
  36. {"25","水"},
  37. {"26","东乡"},
  38. {"27","纳西"},
  39. {"28","景颇"},
  40. {"29","柯尔克孜"},
  41. {"30","土"},
  42. {"31","达斡尔"},
  43. {"32","仫佬"},
  44. {"33","羌"},
  45. {"34","布朗"},
  46. {"35","撒拉"},
  47. {"36","毛南"},
  48. {"37","仡佬"},
  49. {"38","锡伯"},
  50. {"39","阿昌"},
  51. {"40","普米"},
  52. {"41","塔吉克"},
  53. {"42","怒"},
  54. {"43","乌孜别克"},
  55. {"44","俄罗斯"},
  56. {"45","鄂温克"},
  57. {"46","德昂"},
  58. {"47","保安"},
  59. {"48","裕固"},
  60. {"49","京"},
  61. {"50","塔塔尔"},
  62. {"51","独龙"},
  63. {"52","鄂伦春"},
  64. {"53","赫哲"},
  65. {"54","门巴"},
  66. {"55","珞巴"},
  67. {"56","基诺"},
  68. };
  69. public static string GetNationality(ref string Num)
  70. {
  71. return NationalDictionary[Num];
  72. }
  73. }
  74. }