增加接口获取安全类型

This commit is contained in:
jzxc95 2022-12-02 17:07:21 +08:00
parent fdf3f4b8e9
commit 7b09ef84b1
2 changed files with 9 additions and 0 deletions

View File

@ -124,6 +124,8 @@ public:
//获取企业网类型 //获取企业网类型
bool getEnterpiseEapMethod(const QString &uuid, KyEapMethodType &type); bool getEnterpiseEapMethod(const QString &uuid, KyEapMethodType &type);
//获取无线网配置安全类型
KySecuType getConnectSecuType(const QString &uuid);
bool wiredConnectIsActived(); bool wiredConnectIsActived();
bool wirelessConnectIsActived(); bool wirelessConnectIsActived();

View File

@ -207,6 +207,13 @@ bool KyNetworkManager::getEnterpiseEapMethod(const QString &uuid, KyEapMethodTyp
return resource.getEnterpiseEapMethod(uuid, type); return resource.getEnterpiseEapMethod(uuid, type);
} }
//获取无线网配置安全类型
KySecuType KyNetworkManager::getConnectSecuType(const QString &uuid)
{
KyWirelessConnectOperation operate;
return operate.getConnectSecuType(uuid);
}
bool KyNetworkManager::wiredConnectIsActived() bool KyNetworkManager::wiredConnectIsActived()
{ {
return m_activeConnectResource->wiredConnectIsActived(); return m_activeConnectResource->wiredConnectIsActived();