Constants.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. using System;
  2. namespace LotteryWebApp.Common
  3. {
  4. public class Constants
  5. {
  6. public const String HOME_NAVIGATOR = "1";
  7. public const String BUY_TICKET_NAVIGATOR = "2";
  8. public const String HISTORY_NAVIGATOR = "3";
  9. public const String CASH_AGENT_NAVIGATOR = "4";
  10. public const String PROFILE_NAVIGATOR = "5";
  11. public const String PATH_CONTENT = "pathContent";
  12. public const String PATH_OUTSIDE = "pathOutside";
  13. public const String SERVICE_NAME = "serviceName";
  14. public const String SUB_DOMAIN = "subDomain";
  15. public const String SUB_DOMAIN_ = "subDomain_";
  16. public const String CHANNEL = "channel";
  17. public const string TRANSFER_SHOW = "1";
  18. public const string TRANSFER_CONFIRM = "2";
  19. public const string TRANSFER_RESULT = "3";
  20. public const string LOGIN_ENTER_MSISDN = "1";
  21. public const string LOGIN_ENTER_OTP = "2";
  22. public const string TRANSACTION_PROCESSING_CODE = "0";
  23. public const string TRANSACTION_SUCCESS_CODE = "1";
  24. public const string TRANSACTION_PENDING_CODE = "2";
  25. public const string TRANSACTION_REVERTED_CODE = "3";
  26. public const string PAYMENT_SHOW = "1";
  27. public const string PAYMENT_CHECK_OTP = "2";
  28. public const string PAYMENT_RESULT = "3";
  29. public const int CHANGE_PASSWORD_SHOW = 1;
  30. public const int CHANGE_PASSWORD_RESULT = 2;
  31. public const int PROFILE_INFO_SHOW = 1;
  32. public const int PROFILE_INFO_RESULT = 2;
  33. public const int FORGOT_PASSWORD_SHOW = 1;
  34. public const int FORGOT_PASSWORD_RESULT = 2;
  35. public const int FORGOT_PASSWORD_REDIRECT = 3;
  36. // 2 first row
  37. public const string NEW_YORK_NUMBERS_CODE = "41";
  38. public const string NEW_YORK_WIN4_CODE = "42";
  39. public const string FLORIDA_PICK3_CODE = "71";
  40. public const string FLORIDA_PICK4_CODE = "72";
  41. public const string GEORGIA_CASH3_CODE = "121";
  42. public const string GEORGIA_CASH4_CODE = "122";
  43. public const string TEXAS_PICK3_CODE = "151";
  44. public const string TEXAS_DAILY4_CODE = "152";
  45. public const string TENNESSEE_CASH3_CODE = "181";
  46. public const string TENNESSEE_CASH4_CODE = "182";
  47. public const string BOULCHANS_CODE = "3";
  48. public const string NEW_YORK_BOLET_CODE = "4";
  49. public const string NEW_YORK_MAYRAJ_CODE = "5";
  50. public const string NEW_YORK_LOTTO3_CODE = "6";
  51. public const string FLORIDA_BOLET_CODE = "7";
  52. public const string FLORIDA_MAYRAJ_CODE = "8";
  53. public const string FLORIDA_LOTTO3_CODE = "9";
  54. public const string GEORGIA_BOLET_CODE = "12";
  55. public const string GEORGIA_MAYRAJ_CODE = "13";
  56. public const string GEORGIA_LOTTO3_CODE = "14";
  57. public const string TEXAS_BOLET_CODE = "15";
  58. public const string TEXAS_MAYRAJ_CODE = "16";
  59. public const string TEXAS_LOTTO3_CODE = "17";
  60. public const string TENNESSEE_BOLET_CODE = "18";
  61. public const string TENNESSEE_MAYRAJ_CODE = "19";
  62. public const string TENNESSEE_LOTTO3_CODE = "20";
  63. public const string MEGA_LOTO_Pick10 = "87";
  64. public const string MEGA_LOTO_Millions = "88";
  65. public const string MEGA_LOTO_Bet = "89";
  66. public const string PIC10_BASIC_CODE = "30";
  67. public const string PIC10_BIGSMALL_CODE = "31";
  68. public const string PIC10_ODDEVEN_CODE = "32";
  69. public const string Millions_CODE = "33";
  70. public const string TERM_HAS_RESULT_TYPE = "1";
  71. public const string TERM_HAS_NOT_RESULT_TYPE = "0";
  72. public const string DECS = "desc";
  73. public const string ASC = "asc";
  74. public const string ROW_ON_PAGE = "10";
  75. public const string ALL_DATA = "-1";
  76. public const string BASIC_WALLET_TICKET = "0";
  77. public const string NATCASH_WALLET_TICKET = "1";
  78. public const string BASIC_WALLET_TRANSFER = "1";
  79. public const string NATCASH_WALLET_TRANSFER = "2";
  80. public const string MORNING_CODE = "0";
  81. public const string EVENING_CODE = "1";
  82. public const string MIDDAY_CODE = "2";
  83. public const string NIGHT_CODE = "3";
  84. public const string BOLET_CODE = "1";
  85. public const string MAYRAJ_CODE = "2";
  86. public const string LOTTO3_CODE = "10";
  87. public const string NOT_DRAW_CODE = "0";
  88. public const string WIN_CODE = "2";
  89. public const string DRAWN_CODE = "1";
  90. public const String PATH = "/img/";
  91. //public const String URL_GET_MSISDN = "http://apisuperapp.natcom.com.ht/privateapi/decrypt/v1/users";
  92. public const String URL_GET_MSISDN = "http://10.228.102.57:8288/privateapi/decrypt/v1/users";
  93. public const string WEB_CHANNEL = "WEB";
  94. }
  95. public class Code
  96. {
  97. public const String SUCCESS = "0";
  98. public const String FAILURE = "-1";
  99. public const String ERROR = "-2";
  100. public const String EXCEPTION = "-3";
  101. public const String OTP_SUCCESS = "100";
  102. public const String SESSION_EXPIRED = "35";
  103. public const String WRONG_USER_PASS = "1";
  104. public const String NOT_AUTHEN = "-4";
  105. public const int SUCCESS_CODE = 200;
  106. }
  107. }