using Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace KJH55128_Rec.Util { public enum KJDdescribeType { /// /// 什么是 /// What = 1, } public class KJiHdescribe { /// /// key 命令规则 SCCLottery+"-"+KJDdescribeType key值 /// private Dictionary Mdescribe = new Dictionary() { { 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()),"大乐透开机号就是投注站出票机开机时打出的第一注机选号码。大乐透开机号是众多彩民购买大乐透的重要分析数据。"}, }; /// /// key 命令规则 SCCLottery+"-"+KJDdescribeType key值 /// /// /// public string GetValueByKey(string key) { try { if (Mdescribe.Keys.Contains(key)) { return Mdescribe[key]; } else { return string.Empty; } } catch (Exception ee) { return null; } } }; }