/// <summary> /// 验证客户端是否存在 /// </summary> /// <returns></returns> private bool ISClient() { bool rbool = false; try { if (Common.CLIENTID > 0) { ClientInfo client = ClientDAL.GetClientInfo(Common.CLIENTID); if (client != null) { int idictionaryId = DictionaryDAL.GetDictionaryID("启动"); if (client.Client_Dictionary_ID == idictionaryId) { Common.CLIENT_NAME = client.Client_NAME; rbool = true; } } } } catch (Exception ex) { Common.WriteTextLog("验证客户端是否存在Login.ISClient异常:" + ex.Message); } return(rbool); }