Add supply contracts page

This commit is contained in:
2025-11-23 18:08:51 +09:00
parent 5ec3776f6f
commit 1ba1576943
8 changed files with 122 additions and 4 deletions

View File

@ -0,0 +1,27 @@
using Hcs.WebApp.Data.Hcs;
namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
public class ExportSupplyContractsManager_15_7_0_1(
IServiceScopeFactory scopeFactory,
OperationExecutionState operationExecutionState,
ResultGetState resultGetState,
DataParsingState dataParsingState,
Campaign campaign) : ManagerBase(scopeFactory, operationExecutionState, resultGetState, dataParsingState, campaign)
{
private enum Step
{
Start = 0,
ExecutionWait = 1,
ResultWait = 2,
End = 3
}
protected override int StepCount => Enum.GetValues(typeof(Step)).Length;
public override async Task ProcessAsync()
{
throw new NotImplementedException();
}
}
}

View File

@ -15,7 +15,8 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
Campaign.CampaignType.ExportPrivateRegistryElements_15_7_0_1 => typeof(ExportPrivateRegistryElementsManager_15_7_0_1),
Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1 => typeof(ExportCommonRegistryElementsManager_15_7_0_1),
Campaign.CampaignType.ParseHousesData_15_7_0_1 => typeof(ParseHousesDataManager_15_7_0_1)
Campaign.CampaignType.ParseHousesData_15_7_0_1 => typeof(ParseHousesDataManager_15_7_0_1),
Campaign.CampaignType.ExportSupplyContracts_15_7_0_1 => typeof(ExportSupplyContractsManager_15_7_0_1),
};
var args = new object[] { serviceScopeFactory, operationExecutionState, resultGetState, dataParsingState, campaign };
var instance = Activator.CreateInstance(type, args);