diff --git a/host/JiShe.IoT.HttpApi.Host/IoTHttpApiHostModule.cs b/host/JiShe.IoT.HttpApi.Host/IoTHttpApiHostModule.cs index 1dd10bd..0a1c8b3 100644 --- a/host/JiShe.IoT.HttpApi.Host/IoTHttpApiHostModule.cs +++ b/host/JiShe.IoT.HttpApi.Host/IoTHttpApiHostModule.cs @@ -1,4 +1,4 @@ -using JiShe.ServicePro.ServerOptions; +using JiShe.ServicePro.Core; using JiShe.ServicePro.SwaggerConfigs; using System.Reflection; using Volo.Abp.BlobStoring.FileSystem; @@ -51,6 +51,11 @@ namespace JiShe.IoT { configuration.GetSection(nameof(ServerApplicationOptions)).Bind(options); }); + + Configure(options => + { + configuration.GetSection(nameof(DataChannelOptions)).Bind(options); + }); } public override void OnApplicationInitialization(ApplicationInitializationContext context) diff --git a/host/JiShe.IoT.HttpApi.Host/JiShe.IoT.HttpApi.Host.csproj b/host/JiShe.IoT.HttpApi.Host/JiShe.IoT.HttpApi.Host.csproj index dca879f..0748d96 100644 --- a/host/JiShe.IoT.HttpApi.Host/JiShe.IoT.HttpApi.Host.csproj +++ b/host/JiShe.IoT.HttpApi.Host/JiShe.IoT.HttpApi.Host.csproj @@ -6,7 +6,8 @@ JiShe.IoT true JiShe.IoT-4681b4fd-151f-4221-84a4-929d86723e4c - + true + diff --git a/src/JiShe.IoT.Application/BusinessSystemAggregation/BusinessSystemAggregationService.cs b/src/JiShe.IoT.Application/BusinessSystemAggregation/BusinessSystemAggregationService.cs index fa25ccd..dbb79ee 100644 --- a/src/JiShe.IoT.Application/BusinessSystemAggregation/BusinessSystemAggregationService.cs +++ b/src/JiShe.IoT.Application/BusinessSystemAggregation/BusinessSystemAggregationService.cs @@ -1,6 +1,4 @@ -using JiShe.IoT.OneNETAggregation.Dto; -using JiShe.IoT.Workshops; -using JiShe.ServicePro; +using JiShe.ServicePro; using JiShe.ServicePro.Core; using JiShe.ServicePro.DeviceManagement.DeviceInfos; using JiShe.ServicePro.Dto; @@ -8,15 +6,7 @@ using JiShe.ServicePro.Encrypt; using JiShe.ServicePro.Enums; using JiShe.ServicePro.FreeRedisProvider; using JiShe.ServicePro.Kafka.Consts; -using JiShe.ServicePro.Kafka.Producer; -using JiShe.ServicePro.ServerOptions; using Microsoft.Extensions.Options; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Xml.Linq; namespace JiShe.IoT.BusinessSystemAggregation { diff --git a/src/JiShe.IoT.Application/CTWingAggregation/CTWingAggregationService.cs b/src/JiShe.IoT.Application/CTWingAggregation/CTWingAggregationService.cs index 326ad2a..90e016e 100644 --- a/src/JiShe.IoT.Application/CTWingAggregation/CTWingAggregationService.cs +++ b/src/JiShe.IoT.Application/CTWingAggregation/CTWingAggregationService.cs @@ -1,19 +1,12 @@ using JiShe.IoT.CTWingAggregation.Dto; using JiShe.IoT.DeviceAggregation; using JiShe.IoT.DeviceAggregation.Dto; -using JiShe.IoT.OneNETAggregation.Dto; using JiShe.IoT.Workshops; using JiShe.ServicePro; using JiShe.ServicePro.Core; -using JiShe.ServicePro.CTWingManagement.CTWingDevices; using JiShe.ServicePro.CTWingManagement.CTWingProduct; -using JiShe.ServicePro.DeviceManagement.DeviceInfos; -using JiShe.ServicePro.DeviceManagement.DeviceInfos.Dto; using JiShe.ServicePro.Encrypt; using JiShe.ServicePro.Enums; -using JiShe.ServicePro.FreeRedisProvider; -using JiShe.ServicePro.ServerOptions; -using Mapster; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; diff --git a/src/JiShe.IoT.Application/OneNETAggregation/OneNETAggregationService.cs b/src/JiShe.IoT.Application/OneNETAggregation/OneNETAggregationService.cs index 7cf20be..cbc3e7d 100644 --- a/src/JiShe.IoT.Application/OneNETAggregation/OneNETAggregationService.cs +++ b/src/JiShe.IoT.Application/OneNETAggregation/OneNETAggregationService.cs @@ -6,9 +6,7 @@ using JiShe.ServicePro; using JiShe.ServicePro.Core; using JiShe.ServicePro.Encrypt; using JiShe.ServicePro.Enums; -using JiShe.ServicePro.OneNETManagement.OneNETDevices; using JiShe.ServicePro.OneNETManagement.OneNETProducts; -using JiShe.ServicePro.ServerOptions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options;