| | |
| | | "MinimumLevel": { |
| | | "Default": "Information", |
| | | "Override": { |
| | | "Microsoft": "Information", |
| | | "Microsoft": "Warning", |
| | | "Microsoft.AspNetCore": "Warning", |
| | | "Microsoft.AspNetCore.Routing": "Warning", |
| | | "Microsoft.AspNetCore.Mvc": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.Infrastructure": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.Filters": "Warning", |
| | | "Microsoft.AspNetCore.Mvc.ModelBinding": "Warning", |
| | | "Microsoft.EntityFrameworkCore": "Warning" |
| | | "Microsoft.EntityFrameworkCore": "Warning", |
| | | "Quartz": "Warning" |
| | | } |
| | | } |
| | | }, |
| | | "Logging": { |
| | | "LogLevel": { |
| | | "Default": "Information", |
| | | "Microsoft.AspNetCore": "Warning" |
| | | "Default": "Warning", |
| | | "Microsoft.AspNetCore": "Warning", |
| | | "Quartz": "Debug" |
| | | } |
| | | }, |
| | | "dics": "deviceType,devicePlcType,jobAssembly,jobClassName,deviceStatus,taskType,taskState,inOutType,dispatchId", |
| | |
| | | //5.PostgreSQL |
| | | "DBType": "SqlServer", |
| | | //连接字符串 |
| | | "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_ShanMei;User ID=sa;Password=P@ssw0rd;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | "ConnectionString": "Data Source=192.168.60.30;Initial Catalog=WIDESEAWCS_ShanMei;User ID=sa;Password=P@ssw0rd;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //"ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_ShanMei;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | |
| | | //跨域 |
| | | "Cors": { |
| | | "PolicyName": "CorsIpAccess", //策略名称 |
| | | "EnableAllIPs": false, //当为true时,开放所有IP均可访问。 |
| | | "EnableAllIPs": true, //当为true时,开放所有IP均可访问。 |
| | | // 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的 |
| | | // 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的 |
| | | "IPs": "http://127.0.0.1:8080,http://localhost:8080,http://localhost:8081" |
| | |
| | | "110681": "Split" |
| | | }, |
| | | "AddressRoadwayMap": { // 对应设备地址映射 |
| | | "11001": "换盘机械手", |
| | | "11010": "换盘机械手", |
| | | "11068": "注液组盘机械手", |
| | | "10010": "换盘机械手", |
| | | "10030": "换盘机械手" |
| | | "11001": "HCSC1", |
| | | "11010": "HCSC1", |
| | | "11068": "GWSC1", |
| | | "10010": "GWSC1", |
| | | "10030": "GWSC1" |
| | | }, |
| | | "AddressSourceLineNoMap": { // 对应输送线编号地址映射 |
| | | "11001": "10010", |
| | |
| | | "10030": "11010" |
| | | } |
| | | }, |
| | | "RobotAddressRules": { |
| | | "11068": [ "1", "2" ], |
| | | "11001": [ "3", "1" ], |
| | | "11010": [ "4", "2" ], |
| | | "2101": [ "1", "3" ], |
| | | "2103": [ "2", "4" ] |
| | | }, |
| | | "RedisConfig": { |
| | | "Enabled": true, //是否启用Redis,false时仅使用内存缓存 |
| | | "ConnectionString": "127.0.0.1:6379,password=P@ssw0rd,defaultDatabase=0,connectTimeout=5000,abortConnect=false", //Redis连接字符串 |