JiShe.IOT.Admin/src/JiShe.IoT.Domain/IoTDomainModule.cs

31 lines
1.2 KiB
C#

using JiShe.ServicePro.CTWingManagement;
using JiShe.ServicePro.DeviceManagement;
using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT
{
[DependsOn(
typeof(IoTDomainSharedModule),
typeof(BasicManagementDomainModule),
typeof(NotificationManagementDomainModule),
typeof(DataDictionaryManagementDomainModule),
typeof(LanguageManagementDomainModule),
typeof(TemplateManagementDomainModule),
typeof(FileManagementDomainModule),
typeof(IoTDBManagementDomainModule),
typeof(DynamicMenuManagementDomainModule),
typeof(CTWingManagementDomainModule),
typeof(DeviceManagementDomainModule)
)]
public class IoTDomainModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
Configure<AbpAutoMapperOptions>(options => { options.AddMaps<IoTDomainModule>(); });
}
}
}