Init - 初始化仓库

master
Wen JY 10 months ago
parent 052661b951
commit 84664f7f0a

@ -14,10 +14,12 @@
<ItemGroup>
<ProjectReference Include="..\SlnMesnac.Config\SlnMesnac.Config.csproj" />
<ProjectReference Include="..\SlnMesnac.Model\SlnMesnac.Model.csproj" />
<ProjectReference Include="..\SlnMesnac.Mqtt\SlnMesnac.Mqtt.csproj" />
<ProjectReference Include="..\SlnMesnac.Plc\SlnMesnac.Plc.csproj" />
<ProjectReference Include="..\SlnMesnac.Quartz\SlnMesnac.Quartz.csproj" />
<ProjectReference Include="..\SlnMesnac.Repository\SlnMesnac.Repository.csproj" />
<ProjectReference Include="..\SlnMesnac.Serilog\SlnMesnac.Serilog.csproj" />
<ProjectReference Include="..\SlnMesnac.TouchSocket\SlnMesnac.TouchSocket.csproj" />
</ItemGroup>
</Project>

@ -1,13 +1,12 @@
using Microsoft.OpenApi.Models;
using Serilog;
using Serilog.Events;
using SlnMesnac.Common;
using SlnMesnac.Config;
using SlnMesnac.Plc;
using SlnMesnac.Plc.Impl;
using SlnMesnac.Quartz;
using SlnMesnac.Repository;
using SlnMesnac.Serilog;
using SlnMesnac.Mqtt;
using SlnMesnac.TouchSocket;
using System.Runtime.Serialization;
namespace SlnMesnac
@ -78,17 +77,23 @@ namespace SlnMesnac
//注册通用类
services.AddCommonSetup();
//注册SqlSugar
//注册ORM
services.AddSqlSugarSetup();
//注册服务
//注册Service
services.AddServices();
//注册任务调度
//注册Quartz
services.AddQuartzSetUp();
//注册PLC
services.AddPlcSetup();
//注册MQTT
services.AddMqttSetup();
//注册TouchSocket
services.AddTouchSocketSetup();
}
/// <summary>

Loading…
Cancel
Save