1、库位导入代码调整

2、电梯通信代码调整
This commit is contained in:
yang.lee
2023-12-11 13:52:54 +08:00
parent c8d5847941
commit 0dd220ee4f
14 changed files with 352 additions and 130 deletions

View File

@@ -1,10 +1,10 @@
{
"Cache": {
"CacheType": "RedisCache", //MemoryCache
"ip": "localhost",
"ip": "192.168.11.109",
"port": 6379,
"password": "05jWEoJa8v",
"RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=7"
"RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=0"
},
"Redis": {
"ip": "localhost",

View File

@@ -6,5 +6,5 @@
"GetTagListUrl": "http://192.168.11.110:9100/Dev/GetTagList",
"GetTagUrl": "http://192.168.11.110:9100/Dev/GetTag",
"WriteTagUrl": "http://192.168.11.110:9100/Dev/writeTag",
"Environment": ""
"Environment": "tianyi"
}

View File

@@ -0,0 +1,3 @@
{
"TestLocation": "fffdfadfaf"
}

View File

@@ -6,6 +6,8 @@ public class WebComponent : IWebComponent
public void Load(WebApplicationBuilder builder, ComponentContext componentContext)
{
builder.Host.UseWindowsService();
builder.Configuration.AddJsonFile("Location.json", optional: true, reloadOnChange: true);
//// 日志过滤
//builder.Logging.AddFilter((provider, category, logLevel) =>
//{