2025-05-27 14:02:24 +08:00
|
|
|
using JiShe.ServicePro.BasicManagement;
|
|
|
|
|
using JiShe.ServicePro.DataDictionaryManagement;
|
|
|
|
|
using JiShe.ServicePro.DynamicMenuManagement;
|
2025-05-27 22:53:46 +08:00
|
|
|
using JiShe.ServicePro.FileManagement;
|
2025-06-04 17:09:21 +08:00
|
|
|
using JiShe.ServicePro.IoTDBManagement;
|
2025-05-27 14:02:24 +08:00
|
|
|
using JiShe.ServicePro.LanguageManagement;
|
|
|
|
|
using JiShe.ServicePro.NotificationManagement;
|
|
|
|
|
using JiShe.ServicePro.TemplateManagement;
|
|
|
|
|
|
2025-05-27 14:27:50 +08:00
|
|
|
namespace JiShe.IoT
|
2025-05-27 14:02:24 +08:00
|
|
|
{
|
|
|
|
|
[DependsOn(
|
2025-05-27 14:27:50 +08:00
|
|
|
typeof(IoTApplicationContractsModule),
|
2025-05-27 14:02:24 +08:00
|
|
|
typeof(BasicManagementHttpApiClientModule),
|
|
|
|
|
typeof(NotificationManagementHttpApiClientModule),
|
|
|
|
|
typeof(DataDictionaryManagementHttpApiClientModule),
|
|
|
|
|
typeof(LanguageManagementHttpApiClientModule),
|
|
|
|
|
typeof(TemplateManagementHttpApiClientModule),
|
2025-05-27 22:53:46 +08:00
|
|
|
typeof(FileManagementHttpApiClientModule),
|
2025-06-04 17:09:21 +08:00
|
|
|
typeof(IoTDBManagementHttpApiClientModule),
|
2025-05-27 14:02:24 +08:00
|
|
|
typeof(DynamicMenuManagementHttpApiClientModule)
|
|
|
|
|
)]
|
2025-05-27 14:27:50 +08:00
|
|
|
public class IoTHttpApiClientModule : AbpModule
|
2025-05-27 14:02:24 +08:00
|
|
|
{
|
|
|
|
|
public const string RemoteServiceName = "Default";
|
|
|
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
|
|
|
{
|
|
|
|
|
context.Services.AddHttpClientProxies(
|
2025-05-27 14:27:50 +08:00
|
|
|
typeof(IoTApplicationContractsModule).Assembly,
|
2025-05-27 14:02:24 +08:00
|
|
|
RemoteServiceName
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|