Ejemplo n.º 1
0
        /// <summary>
        /// 初始化基站信息
        /// </summary>
        public void InitLocationDevice()
        {
            Log.Info(LogTags.DbInit, "导入基站信息");
            //string basePath = AppDomain.CurrentDomain.BaseDirectory;
            string filePath = InitPaths.GetBaseStationInfo();
            //    string filePath = basePath + "Data\\基站信息\\基站信息.xml";
            // string filePath = basePath + "Data\\基站信息\\淄博基站信息.xml";
            bool value = LocationDeviceHelper.ImportLocationDeviceFromFile(filePath, Archors, Areas);

            Log.Info(LogTags.DbInit, string.Format("导入基站信息结果:{0}", value));
        }