Esempio n. 1
0
        /// <summary>
        /// 获取所有检测线的信息
        /// </summary>
        public int getStationLineCount(string stationid)
        {
            string sql   = "select count(*) as number from stationNormalInf" + " where STATIONID=" + "'" + stationid + "'";
            int    count = 0;

            try
            {
                count = DBHelperSQL.ExecuteCount(sql);
                return(count);
            }
            catch
            {
                return(0);

                throw;
            }
        }