add-添加朗读监听业务
parent
a285df3194
commit
ae5f646864
@ -0,0 +1,39 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Remove="appsettings.json" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="appsettings.json">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Business\SlnMesnac.Business.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Common\SlnMesnac.Common.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Config\SlnMesnac.Config.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Extensions\SlnMesnac.Extensions.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Generate\SlnMesnac.Generate.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Ioc\SlnMesnac.Ioc.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Model\SlnMesnac.Model.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Redis\SlnMesnac.Redis.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Repository\SlnMesnac.Repository.csproj" />
|
||||||
|
<ProjectReference Include="..\SlnMesnac.Serilog\SlnMesnac.Serilog.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft": "Warning",
|
||||||
|
"Microsoft.Hosting.Lifetime": "Information"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*",
|
||||||
|
"AppConfig": {
|
||||||
|
"logPath": "E:\\c#\\京源环保\\程序设计\\生产控制\\SlnMesnac\\SlnMesnac.WPF\\bin\\Debug\\net6.0-windows",
|
||||||
|
"stationId": 11,
|
||||||
|
"SqlConfig": [
|
||||||
|
{
|
||||||
|
"configId": "mes",
|
||||||
|
"dbType": 0,
|
||||||
|
// "connStr": "Data Source=175.27.215.92;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=haiwei@123;Charset=utf8mb4;SslMode=none"
|
||||||
|
"connStr": "Data Source=172.16.12.100;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=JyhbRk@123456;Charset=utf8mb4;SslMode=none"
|
||||||
|
}
|
||||||
|
//{
|
||||||
|
// "configId": "local",
|
||||||
|
// "dbType": 2,
|
||||||
|
// "connStr": "DataSource=E:\\c#\\京源环保\\程序设计\\生产控制\\SlnMesnac\\SlnMesnac.WPF\\bin\\Debug\\net6.0-windows\\data\\data.db"
|
||||||
|
//}
|
||||||
|
//{
|
||||||
|
// "configId": "mesTD",
|
||||||
|
// "dbType": 17,
|
||||||
|
// "connStr": "Host=175.27.215.92;Port=6030;Username=root;Password=taosdata;Database=db_hwmes"
|
||||||
|
//},
|
||||||
|
|
||||||
|
//{
|
||||||
|
// "configId": "scada",
|
||||||
|
// "dbType": 0,
|
||||||
|
// "connStr": "Data Source=175.27.215.92;Port=3306;Initial Catalog=jy-scada;uid=root;pwd=haiwei@123;Charset=utf8mb4;SslMode=none"
|
||||||
|
//}
|
||||||
|
],
|
||||||
|
"PlcConfig": [
|
||||||
|
{
|
||||||
|
"configId": 1,
|
||||||
|
"plcType": "SiemensPlc",
|
||||||
|
"plcIp": "192.168.2.220",
|
||||||
|
// "plcIp": "127.0.0.1",
|
||||||
|
"plcPort": 102,
|
||||||
|
"plcKey": "plc",
|
||||||
|
"isFlage": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"configId": 2, //MES信号处理
|
||||||
|
"plcType": "SiemensPlc",
|
||||||
|
"plcIp": "127.0.0.1",
|
||||||
|
"plcPort": 103,
|
||||||
|
"plcKey": "mesSingal",
|
||||||
|
"isFlage": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RfidConfig": [
|
||||||
|
{
|
||||||
|
// 小包码垛位RFID
|
||||||
|
"configId": 1,
|
||||||
|
"equipIp": "192.168.2.27",
|
||||||
|
"equipPort": 20108,
|
||||||
|
"equipKey": "secondFloorPallet",
|
||||||
|
"isFlage": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// 小包出口位RFID
|
||||||
|
"configId": 2,
|
||||||
|
"equipIp": "192.168.2.28",
|
||||||
|
"equipPort": 20108,
|
||||||
|
"equipKey": "secondFloorOut",
|
||||||
|
"isFlage": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
//"redisConfig": "175.27.215.92:6379,password=redis@2023"
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue