12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using Models;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace KJH55128_Rec.Util
- {
- public enum KJDdescribeType
- {
- /// <summary>
- /// 什么是
- /// </summary>
- What = 1,
- }
- public class KJiHdescribe
- {
- /// <summary>
- /// key 命令规则 SCCLottery+"-"+KJDdescribeType key值
- /// </summary>
- private Dictionary<string, string> Mdescribe = new Dictionary<string, string>()
- {
- { string.Format("{0}-{1}",SCCLottery.QG_FC3D.ToString(),KJDdescribeType.What.ToString()),
- "福彩3D开机号就是投注站出票机开机时打出的第一注机选号码。福彩3D开机号是众多彩民购买福彩3D的重要分析数据。" },
- { string.Format("{0}-{1}",SCCLottery.QG_TCP3.ToString(),KJDdescribeType.What.ToString()),"排列三开机号就是投注站出票机开机时打出的第一注机选号码。排列三开机号是众多彩民购买排列三的重要分析数据。"},
- { string.Format("{0}-{1}",SCCLottery.QG_FCSSQ.ToString(),KJDdescribeType.What.ToString()),"双色球开机号就是投注站出票机开机时打出的第一注机选号码。双色球开机号是众多彩民购买双色球的重要分析数据。"},
- { string.Format("{0}-{1}",SCCLottery.QG_TCDLT.ToString(),KJDdescribeType.What.ToString()),"大乐透开机号就是投注站出票机开机时打出的第一注机选号码。大乐透开机号是众多彩民购买大乐透的重要分析数据。"},
- };
- /// <summary>
- /// key 命令规则 SCCLottery+"-"+KJDdescribeType key值
- /// </summary>
- /// <param name="key"></param>
- /// <returns></returns>
- public string GetValueByKey(string key)
- {
- try
- {
- if (Mdescribe.Keys.Contains(key))
- {
- return Mdescribe[key];
- }
- else
- {
- return string.Empty;
- }
- }
- catch (Exception ee)
- {
- return null;
- }
- }
- };
- }
|