OneNET模块注入

This commit is contained in:
ChenYi 2025-07-07 13:45:55 +08:00
parent e85dc95654
commit d535aa285e
8 changed files with 16 additions and 1 deletions

View File

@ -3,6 +3,7 @@ using JiShe.ServicePro.DeviceManagement;
using JiShe.ServicePro.DynamicMenuManagement; using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement; using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT namespace JiShe.IoT
@ -18,7 +19,8 @@ namespace JiShe.IoT
typeof(FileManagementApplicationContractsModule), typeof(FileManagementApplicationContractsModule),
typeof(IoTDBManagementApplicationContractsModule), typeof(IoTDBManagementApplicationContractsModule),
typeof(DynamicMenuManagementApplicationContractsModule), typeof(DynamicMenuManagementApplicationContractsModule),
typeof(CTWingManagementApplicationContractsModule), typeof(CTWingManagementApplicationContractsModule),
typeof(OneNETManagementApplicationContractsModule),
typeof(DeviceManagementApplicationContractsModule) typeof(DeviceManagementApplicationContractsModule)
)] )]
public class IoTApplicationContractsModule : AbpModule public class IoTApplicationContractsModule : AbpModule

View File

@ -7,6 +7,7 @@ using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.FreeRedisProvider; using JiShe.ServicePro.FreeRedisProvider;
using JiShe.ServicePro.FreeSqlProvider; using JiShe.ServicePro.FreeSqlProvider;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
@ -26,6 +27,7 @@ namespace JiShe.IoT
typeof(ServiceProFreeRedisProviderModule), typeof(ServiceProFreeRedisProviderModule),
typeof(ServiceProFreeSqlProviderModule), typeof(ServiceProFreeSqlProviderModule),
typeof(CTWingManagementApplicationModule), typeof(CTWingManagementApplicationModule),
typeof(OneNETManagementApplicationModule),
typeof(DeviceManagementApplicationModule) typeof(DeviceManagementApplicationModule)
)] )]
public class IoTApplicationModule : AbpModule public class IoTApplicationModule : AbpModule

View File

@ -4,6 +4,7 @@ using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement; using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.FreeSqlProvider; using JiShe.ServicePro.FreeSqlProvider;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT namespace JiShe.IoT
@ -19,6 +20,7 @@ namespace JiShe.IoT
typeof(IoTDBManagementDomainSharedModule), typeof(IoTDBManagementDomainSharedModule),
typeof(ServiceProFreeSqlProviderModule), typeof(ServiceProFreeSqlProviderModule),
typeof(CTWingManagementDomainSharedModule), typeof(CTWingManagementDomainSharedModule),
typeof(OneNETManagementDomainSharedModule),
typeof(ServiceProCoreModule), typeof(ServiceProCoreModule),
typeof(DeviceManagementDomainSharedModule) typeof(DeviceManagementDomainSharedModule)
)] )]

View File

@ -3,6 +3,7 @@ using JiShe.ServicePro.DeviceManagement;
using JiShe.ServicePro.DynamicMenuManagement; using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement; using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT namespace JiShe.IoT
@ -18,6 +19,7 @@ namespace JiShe.IoT
typeof(IoTDBManagementDomainModule), typeof(IoTDBManagementDomainModule),
typeof(DynamicMenuManagementDomainModule), typeof(DynamicMenuManagementDomainModule),
typeof(CTWingManagementDomainModule), typeof(CTWingManagementDomainModule),
typeof(OneNETManagementDomainModule),
typeof(DeviceManagementDomainModule) typeof(DeviceManagementDomainModule)
)] )]
public class IoTDomainModule : AbpModule public class IoTDomainModule : AbpModule

View File

@ -2,6 +2,7 @@ using JiShe.ServicePro.CTWingManagement.EntityFrameworkCore;
using JiShe.ServicePro.DeviceManagement.EntityFrameworkCore; using JiShe.ServicePro.DeviceManagement.EntityFrameworkCore;
using JiShe.ServicePro.DynamicMenuManagement.EntityFrameworkCore; using JiShe.ServicePro.DynamicMenuManagement.EntityFrameworkCore;
using JiShe.ServicePro.FileManagement.EntityFrameworkCore; using JiShe.ServicePro.FileManagement.EntityFrameworkCore;
using JiShe.ServicePro.OneNETManagement.EntityFrameworkCore;
using JiShe.ServicePro.TemplateManagement.EntityFrameworkCore; using JiShe.ServicePro.TemplateManagement.EntityFrameworkCore;
using Volo.Abp.Guids; using Volo.Abp.Guids;
@ -18,6 +19,7 @@ namespace JiShe.IoT.EntityFrameworkCore
typeof(FileManagementEntityFrameworkCoreModule), typeof(FileManagementEntityFrameworkCoreModule),
typeof(DynamicMenuManagementEntityFrameworkCoreModule), typeof(DynamicMenuManagementEntityFrameworkCoreModule),
typeof(CTWingManagementEntityFrameworkCoreModule), typeof(CTWingManagementEntityFrameworkCoreModule),
typeof(OneNETManagementEntityFrameworkCoreModule),
typeof(DeviceManagementEntityFrameworkCoreModule) typeof(DeviceManagementEntityFrameworkCoreModule)
)] )]
public class IoTEntityFrameworkCoreModule : AbpModule public class IoTEntityFrameworkCoreModule : AbpModule

View File

@ -7,6 +7,7 @@ using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.LanguageManagement; using JiShe.ServicePro.LanguageManagement;
using JiShe.ServicePro.NotificationManagement; using JiShe.ServicePro.NotificationManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT namespace JiShe.IoT
@ -22,6 +23,7 @@ namespace JiShe.IoT
typeof(IoTDBManagementHttpApiClientModule), typeof(IoTDBManagementHttpApiClientModule),
typeof(DynamicMenuManagementHttpApiClientModule), typeof(DynamicMenuManagementHttpApiClientModule),
typeof(CTWingManagementHttpApiClientModule), typeof(CTWingManagementHttpApiClientModule),
typeof(OneNETManagementHttpApiClientModule),
typeof(DeviceManagementHttpApiClientModule) typeof(DeviceManagementHttpApiClientModule)
)] )]
public class IoTHttpApiClientModule : AbpModule public class IoTHttpApiClientModule : AbpModule

View File

@ -5,6 +5,7 @@ using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.FileManagement; using JiShe.ServicePro.FileManagement;
using JiShe.ServicePro.IoTDBManagement; using JiShe.ServicePro.IoTDBManagement;
using JiShe.ServicePro.LanguageManagement; using JiShe.ServicePro.LanguageManagement;
using JiShe.ServicePro.OneNETManagement;
using JiShe.ServicePro.TemplateManagement; using JiShe.ServicePro.TemplateManagement;
namespace JiShe.IoT namespace JiShe.IoT
@ -20,6 +21,7 @@ namespace JiShe.IoT
typeof(IoTDBManagementHttpApiModule), typeof(IoTDBManagementHttpApiModule),
typeof(DynamicMenuManagementHttpApiModule), typeof(DynamicMenuManagementHttpApiModule),
typeof(CTWingManagementHttpApiModule), typeof(CTWingManagementHttpApiModule),
typeof(OneNETManagementHttpApiModule),
typeof(DeviceManagementHttpApiModule) typeof(DeviceManagementHttpApiModule)
)] )]
public class IoTHttpApiModule : AbpModule public class IoTHttpApiModule : AbpModule

View File

@ -24,6 +24,7 @@
<ProjectReference Include="..\..\JiShe.ServicePro\modules\LanguageManagement\src\JiShe.ServicePro.LanguageManagement.HttpApi\JiShe.ServicePro.LanguageManagement.HttpApi.csproj" /> <ProjectReference Include="..\..\JiShe.ServicePro\modules\LanguageManagement\src\JiShe.ServicePro.LanguageManagement.HttpApi\JiShe.ServicePro.LanguageManagement.HttpApi.csproj" />
<ProjectReference Include="..\..\JiShe.ServicePro\modules\NotificationManagement\src\JiShe.ServicePro.NotificationManagement.HttpApi\JiShe.ServicePro.NotificationManagement.HttpApi.csproj" /> <ProjectReference Include="..\..\JiShe.ServicePro\modules\NotificationManagement\src\JiShe.ServicePro.NotificationManagement.HttpApi\JiShe.ServicePro.NotificationManagement.HttpApi.csproj" />
<ProjectReference Include="..\..\JiShe.ServicePro\modules\TemplateManagement\src\JiShe.ServicePro.TemplateManagement.HttpApi\JiShe.ServicePro.TemplateManagement.HttpApi.csproj" /> <ProjectReference Include="..\..\JiShe.ServicePro\modules\TemplateManagement\src\JiShe.ServicePro.TemplateManagement.HttpApi\JiShe.ServicePro.TemplateManagement.HttpApi.csproj" />
<ProjectReference Include="..\..\JiShe.ServicePro\modules\OneNETManagement\src\JiShe.ServicePro.OneNETManagement.HttpApi\JiShe.ServicePro.OneNETManagement.HttpApi.csproj" />
</ItemGroup> </ItemGroup>