JiShe.IOT.Admin/src/JiShe.IoT.HttpApi/IoTHttpApiModule.cs
2025-07-07 13:45:55 +08:00

47 lines
1.5 KiB
C#

using JiShe.ServicePro.CTWingManagement;
using JiShe.ServicePro.DataDictionaryManagement;
using JiShe.ServicePro.DeviceManagement;
using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.LanguageManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT
{
[DependsOn(
typeof(IoTApplicationContractsModule),
typeof(BasicManagementHttpApiModule),
typeof(NotificationManagementHttpApiModule),
typeof(DataDictionaryManagementHttpApiModule),
typeof(LanguageManagementHttpApiModule),
typeof(TemplateManagementHttpApiModule),
typeof(FileManagementHttpApiModule),
typeof(IoTDBManagementHttpApiModule),
typeof(DynamicMenuManagementHttpApiModule),
typeof(CTWingManagementHttpApiModule),
typeof(OneNETManagementHttpApiModule),
typeof(DeviceManagementHttpApiModule)
)]
public class IoTHttpApiModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
ConfigureLocalization();
}
private void ConfigureLocalization()
{
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<IoTResource>()
.AddBaseTypes(
typeof(AbpUiResource)
);
});
}
}
}