merge
This commit is contained in:
commit
8d06b1c1cf
31 changed files with 8030 additions and 679 deletions
|
@ -85,6 +85,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
allowedEngines.Add( new ShortHeliconZooEngine(){
|
||||
Name = (string)reader["QuotaName"],
|
||||
DisplayName= (string)reader["QuotaDescription"],
|
||||
Enabled = true
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -120,6 +122,21 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
|
||||
|
||||
public static bool IsWebCosoleEnabled(int serviceId)
|
||||
{
|
||||
HeliconZoo zooServer = new HeliconZoo();
|
||||
ServiceProviderProxy.Init(zooServer, serviceId);
|
||||
return zooServer.IsWebCosoleEnabled();
|
||||
}
|
||||
|
||||
public static void SetWebCosoleEnabled(int serviceId, bool enabled)
|
||||
{
|
||||
HeliconZoo zooServer = new HeliconZoo();
|
||||
ServiceProviderProxy.Init(zooServer, serviceId);
|
||||
zooServer.SetWebCosoleEnabled(enabled);
|
||||
}
|
||||
|
||||
|
||||
#region private helpers
|
||||
private static void UpdateQuotas(int serviceId, HeliconZooEngine[] userEngines)
|
||||
{
|
||||
|
@ -183,7 +200,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
DataProvider.AddHeliconZooQuota(groupId, quotaId,
|
||||
HeliconZooQuotaPrefix+engine.name,
|
||||
engine.displayName,
|
||||
order++);
|
||||
existingQuotas.Count + order++);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue