/// <summary>
 /// (从数据库中)获取所有煤矿
 /// </summary>
 /// <returns></returns>
 Dictionary<string, string> IForGis.GetAllCoals()
 {
     Dictionary<string, string> myDic = new Dictionary<string, string>();
     TDTK.IndustryPlatform.SafetyMonitor.SQLServerDAL.TN_Coal t = new TDTK.IndustryPlatform.SafetyMonitor.SQLServerDAL.TN_Coal();
     myDic = t.GetCoalList();
     return myDic;
 }
        public List<TDTK.IndustryPlatform.SafetyMonitor.Model.XY_CoalInfo> GetXY_CoalInfoList()
        {
            List<Model.XY_CoalInfo> xycoallst = new List<TDTK.IndustryPlatform.SafetyMonitor.Model.XY_CoalInfo>();

            Dictionary<string, string> myDic = new Dictionary<string, string>();
            TDTK.IndustryPlatform.SafetyMonitor.SQLServerDAL.TN_Coal t = new TDTK.IndustryPlatform.SafetyMonitor.SQLServerDAL.TN_Coal();
            myDic = t.GetCoalList();
            foreach (System.Collections.Generic.KeyValuePair<string,string> str in myDic)
            {
                Model.XY_CoalInfo xy = new TDTK.IndustryPlatform.SafetyMonitor.Model.XY_CoalInfo();
                xy.CoalCode = str.Key;
                xy.CoalName = str.Value;
                xycoallst.Add(xy);
            }
            return xycoallst;
        }