/// <summary>
        /// 获取所有的终端设置
        /// </summary>
        /// <returns></returns>
        public static List <ClassModel.TerminalInfo> GetTerminalsInfo()
        {
            IWCFService.ISeatManageService SeatService = new WcfServiceForSeatManage.SeatManageDateService();
            bool error = false;

            try
            {
                List <ClassModel.TerminalInfo> terminals = SeatService.GetAllTerminals();
                return(terminals);
            }
            catch (Exception ex)
            {
                error = true;
                SeatManageComm.WriteLog.Write("获取终端设置失败:" + ex.Message);
                return(new List <TerminalInfo>());
            }
        }