Change campaign type
This commit is contained in:
@ -14,7 +14,7 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
|||||||
{
|
{
|
||||||
Campaign.CampaignType.ExportPrivateRegistryElements_15_7_0_1 => new ExportPrivateRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
|
Campaign.CampaignType.ExportPrivateRegistryElements_15_7_0_1 => new ExportPrivateRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
|
||||||
Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1 => new ExportCommonRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
|
Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1 => new ExportCommonRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
|
||||||
Campaign.CampaignType.ExportHousesData_15_7_0_1 => new ExportHousesDataManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign)
|
Campaign.CampaignType.ParseHousesData_15_7_0_1 => new ParseHousesDataManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
||||||
{
|
{
|
||||||
public class ExportHousesDataManager_15_7_0_1(
|
public class ParseHousesDataManager_15_7_0_1(
|
||||||
IServiceScopeFactory scopeFactory,
|
IServiceScopeFactory scopeFactory,
|
||||||
OperationExecutionState operationExecutionState,
|
OperationExecutionState operationExecutionState,
|
||||||
ResultWaitState resultWaitState,
|
ResultWaitState resultWaitState,
|
||||||
6
Hcs.WebApp/BackgroundServices/DataParsers/IDataParser.cs
Normal file
6
Hcs.WebApp/BackgroundServices/DataParsers/IDataParser.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace Hcs.WebApp.BackgroundServices.DataParsers
|
||||||
|
{
|
||||||
|
public class IDataParser
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -61,7 +61,7 @@
|
|||||||
</AuthorizedContent>
|
</AuthorizedContent>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
protected override Campaign.CampaignType CampaignType => Campaign.CampaignType.ExportHousesData_15_7_0_1;
|
protected override Campaign.CampaignType CampaignType => Campaign.CampaignType.ParseHousesData_15_7_0_1;
|
||||||
|
|
||||||
protected override bool HasPermission(ClaimsPrincipal user)
|
protected override bool HasPermission(ClaimsPrincipal user)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -13,8 +13,8 @@ namespace Hcs.WebApp.Data.Hcs
|
|||||||
[Display(Description = "Экспорт частных справочников")]
|
[Display(Description = "Экспорт частных справочников")]
|
||||||
ExportPrivateRegistryElements_15_7_0_1,
|
ExportPrivateRegistryElements_15_7_0_1,
|
||||||
|
|
||||||
[Display(Description = "Экспорт данных домов")]
|
[Display(Description = "Парсинг данных домов")]
|
||||||
ExportHousesData_15_7_0_1
|
ParseHousesData_15_7_0_1
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user