public string Getcoal(string coal) { BLL.TN_Coal dal = new TDTK.IndustryPlatform.SafetyMonitor.BLL.TN_Coal(); string coalcoad = dal.GetCoalNameByCoalName(coal); return coalcoad; }
/// <summary> /// 获取煤矿列表 /// </summary> /// <returns></returns> Dictionary<string, string> IGetAlarm.GetAllCoals() { Dictionary<string, string> myDic = new Dictionary<string, string>(); BLL.TN_Coal coal = new TDTK.IndustryPlatform.SafetyMonitor.BLL.TN_Coal(); myDic = coal.GetCoalList(); return myDic; }