diff --git a/ds-wms-service/DS.Module.MQ/DS.Module.MQ.csproj b/ds-wms-service/DS.Module.MQ/DS.Module.MQ.csproj new file mode 100644 index 00000000..b3971ede --- /dev/null +++ b/ds-wms-service/DS.Module.MQ/DS.Module.MQ.csproj @@ -0,0 +1,14 @@ + + + + net8.0 + enable + enable + + + + + + + + diff --git a/ds-wms-service/DS.Module.MQ/IRabbitMQService.cs b/ds-wms-service/DS.Module.MQ/IRabbitMQService.cs new file mode 100644 index 00000000..808c7d80 --- /dev/null +++ b/ds-wms-service/DS.Module.MQ/IRabbitMQService.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.Module.MQ +{ + public interface IRabbitMQService + { + } +} diff --git a/ds-wms-service/DS.Module.MQ/MQModuleInstall.cs b/ds-wms-service/DS.Module.MQ/MQModuleInstall.cs new file mode 100644 index 00000000..a8d76ed2 --- /dev/null +++ b/ds-wms-service/DS.Module.MQ/MQModuleInstall.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; + +namespace DS.Module.MQ +{ + public static class MQModuleInstall + { + /// + /// + /// + /// + /// + public static void AddMQModuleInstall(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddScoped(); + } + } +} diff --git a/ds-wms-service/DS.Module.MQ/RabbitMQService.cs b/ds-wms-service/DS.Module.MQ/RabbitMQService.cs new file mode 100644 index 00000000..506743ec --- /dev/null +++ b/ds-wms-service/DS.Module.MQ/RabbitMQService.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.Module.MQ +{ + public class RabbitMQService: IRabbitMQService + { + } +} diff --git a/ds-wms-service/DS.Module.Nuget/DS.Module.Nuget.csproj b/ds-wms-service/DS.Module.Nuget/DS.Module.Nuget.csproj index f7feda11..867f7ab1 100644 --- a/ds-wms-service/DS.Module.Nuget/DS.Module.Nuget.csproj +++ b/ds-wms-service/DS.Module.Nuget/DS.Module.Nuget.csproj @@ -45,6 +45,7 @@ + diff --git a/ds-wms-service/ds-wms-service.sln b/ds-wms-service/ds-wms-service.sln index 3000f802..1bc1d32c 100644 --- a/ds-wms-service/ds-wms-service.sln +++ b/ds-wms-service/ds-wms-service.sln @@ -76,6 +76,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DS.Module.HangfireModule", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DS.WMS.JobService", "DS.WMS.JobService\DS.WMS.JobService.csproj", "{99B79A25-3732-4023-BD56-ABD169CE43AD}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DS.Module.MQ", "DS.Module.MQ\DS.Module.MQ.csproj", "{9A0BAA77-B0C3-44F8-A97E-E041ED159FFA}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -210,6 +212,10 @@ Global {99B79A25-3732-4023-BD56-ABD169CE43AD}.Debug|Any CPU.Build.0 = Debug|Any CPU {99B79A25-3732-4023-BD56-ABD169CE43AD}.Release|Any CPU.ActiveCfg = Release|Any CPU {99B79A25-3732-4023-BD56-ABD169CE43AD}.Release|Any CPU.Build.0 = Release|Any CPU + {9A0BAA77-B0C3-44F8-A97E-E041ED159FFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A0BAA77-B0C3-44F8-A97E-E041ED159FFA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A0BAA77-B0C3-44F8-A97E-E041ED159FFA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9A0BAA77-B0C3-44F8-A97E-E041ED159FFA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -247,6 +253,7 @@ Global {7C3E248A-DF40-46AC-A8DF-224DD7C4EEF7} = {65D75DB2-12D5-4D1F-893D-9750905CE5E4} {BDF89987-3B7B-4CC6-88A9-DA4765F6FF62} = {518DB9B5-80A8-4B2C-8570-52BD406458DE} {99B79A25-3732-4023-BD56-ABD169CE43AD} = {65D75DB2-12D5-4D1F-893D-9750905CE5E4} + {9A0BAA77-B0C3-44F8-A97E-E041ED159FFA} = {518DB9B5-80A8-4B2C-8570-52BD406458DE} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {66115F23-94B4-43C0-838E-33B5CF77F788}