1、库位导入代码调整
2、电梯通信代码调整
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
3
apihost/Tnb.API.Entry/Configurations/Location.json
Normal file
3
apihost/Tnb.API.Entry/Configurations/Location.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"TestLocation": "fffdfadfaf"
|
||||
}
|
||||
@@ -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) =>
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user