2026-02-03 17:28:39 +08:00

587 lines
19 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"urls": "http://localhost:8877", //项目启动url如果改动端口前端对应devServer也需要进行修改
"corsUrls": [ "http://localhost:8887", "http://localhost:8886" ], //跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
"JwtSettings": {
"Issuer": "RIZOAdmin.NET", //即token的签发者。
"Audience": "RIZOAdmin.NET", //指该token是服务于哪个群体的群体范围
"SecretKey": "SecretKey-RIZOADMIN.NET-202311281883838",
"Expire": 1440, //jwt登录过期时间
"RefreshTokenTime": 30, //分钟
"TokenType": "Bearer"
},
"MainDb": "0", // 多租户主库配置ID
"UseTenant": 0, //是否启用多租户 0:不启用 1:启用
"InjectClass": [ "RIZO.Repository", "RIZO.Service", "RIZO.Tasks", "RIZO.ServiceCore", "RIZO.Mall", "MDM" ], //自动注入类
"ShowDbLog": false, //是否打印db日志
"InitDb": false, //是否初始化db
"InitModelDb": false, //是否初始化model db
"DemoMode": false, //是否演示模式
"SingleLogin": false, //是否允许多设备/浏览器登录
"workId": 1, //雪花id唯一数字
"sqlExecutionTime": 5, //Sql执行时间超过多少秒记录日志并警报
"Upload": {
"uploadUrl": "http://localhost:8888", //本地存储资源访问路径
"localSavePath": "", //本地上传默认文件存储目录 wwwroot
"maxSize": 15, //上传文件大小限制 15M
"notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ],
"requestLimitSize": 50 //请求body大小限制
},
//阿里云存储配置
"ALIYUN_OSS": {
"REGIONID": "", //egcn-hangzhou
"KEY": "XX",
"SECRET": "XX",
"bucketName": "bucketName",
"domainUrl": "http://xxx.xxx.com", //访问资源域名
"maxSize": 100 //上传文件大小限制 100M
},
//企业微信通知配置
"WxCorp": {
"AgentID": "",
"CorpID": "",
"CorpSecret": "",
"SendUser": "@all"
},
//微信公众号设置
"WxOpen": {
"AppID": "",
"AppSecret": ""
},
//邮箱配置信息
"MailOptions": [
{
//发件人名称(请保证数组里面唯一)
"FromName": "system",
//发送人邮箱
"FromEmail": "", //egxxxx@qq.com
//发送人邮箱密码
"Password": "",
//协议
"Smtp": "smtp.qq.com",
"Port": 587,
"Signature": "系统邮件,请勿回复!",
"UseSsl": true
}
],
//redis服务配置
"RedisServer": {
"open": 0, //是否启用redis
"dbCache": false, //数据库是否使用Redis缓存如果启用open要为1
"Cache": "127.0.0.1:6379,defaultDatabase=0,poolsize=50,ssl=false,writeBuffer=10240,prefix=cache:",
"Session": "127.0.0.1:6379,defaultDatabase=0,poolsize=50,ssl=false,writeBuffer=10240,prefix=session:"
},
//验证码配置
"CaptchaOptions": {
"IgnoreCase": true // 比较时是否忽略大小写
},
//代码生成配置
"CodeGen": {
//uniapp 版本号2/3(vue版本号)
"uniappVersion": 3,
//是否显示移动端代码生成
"showApp": true,
//自动去除表前缀
"autoPre": true,
//默认生成业务模块名
"moduleName": "mes",
"author": "admin",
"tablePrefix": "sys_", //"表前缀(生成类名不会包含表前缀,多个用逗号分隔)",
"vuePath": "", //前端代码存储路径egD:\Work\RIZOAdmin-Vue3
"uniappPath": "D:\\Work" //h5前端代码存储路径
},
"GlobalConfig": {
"ConnectTimeout": 1000, // 连接超时(毫秒)
"ReadWriteTimeout": 1000 // 读写超时(毫秒)
},
"PlcPollingSettings": {
"MaxConcurrentPerPlc": 1,
"ActivePollInterval": 0.2,
"IdlePollInterval": 2.0,
"ActiveDuration": 10,
"MaxRetryTimes": 3,
"InitialRetryInterval": 1,
"ConfigRefreshInterval": 30,
"GlobalParallelDegree": 15,
"ConnectTimeoutSeconds": 1
},
"PlcSettings": [
{
"Id": 1,
"isEnble": true,
"WorkStationCode": "OP020-2",
"WorkStationName": "OP020-2 合盖",
"PlcType": "S71500",
"IpAddress": "192.168.10.41",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2106",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 2,
"isEnble": true,
"WorkStationCode": "OP020-3",
"WorkStationName": "OP020-3 热铆",
"PlcType": "S71500",
"IpAddress": "192.168.10.56",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB4060",
"ProductSN": "DB1001.DBB2300",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 3,
"isEnble": true,
"WorkStationCode": "OP020-4",
"WorkStationName": "OP020-4 pin压合&视觉检查",
"PlcType": "S71500",
"IpAddress": "192.168.10.71",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2230",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 4,
"isEnble": true,
"WorkStationCode": "OP050",
"WorkStationName": "OP050 点白胶DC744",
"PlcType": "S71500",
"IpAddress": "192.168.10.1",
"IntoStation": {
"Heartbeat": "DB300.DBW0", // 心跳地址
"IntoStationAsk": "DB300.DBW44", // 进站请求地址
"ProductModel": "DB300.DBB680",
"ProductSN": "DB300.DBB50",
"IntoStationResp": "DB300.DBW46", // 进站回复结果地址
"IntoStationResp2": "DB300.DBW202",
"IntoStationResp3": "DB300.DBW358",
"IntoStationResp4": "DB300.DBW514"
}
},
{
"Id": 5,
"isEnble": true,
"WorkStationCode": "OP050-1",
"WorkStationName": "OP050-1 自动下料",
"PlcType": "S71500",
"IpAddress": "192.168.10.147",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB778",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 41,
"isEnble": true,
"WorkStationCode": "OP051扫码",
"WorkStationName": "OP051扫码 Coating扫码",
"PlcType": "S71500",
"IpAddress": "192.168.0.1",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW320", // 进站请求地址
"ProductModel": "待定",
"ProductSN": "DB1001.DBW110",
"IntoStationResp": "DB1000.DBW2" // 进站回复结果地址
}
},
{
"Id": 6,
"isEnble": true,
"WorkStationCode": "OP057",
"WorkStationName": "OP057 压装定位销&激光打标",
"PlcType": "S71500",
"IpAddress": "192.168.10.177",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2904",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 7,
"isEnble": true,
"WorkStationCode": "OP058",
"WorkStationName": "OP058 压装定位销&激光打标",
"PlcType": "S71500",
"IpAddress": "192.168.10.177",
"IntoStation": {
"Heartbeat": "DB1003.DBW0", // 心跳地址
"IntoStationAsk": "DB1004.DBW2000", // 进站请求地址
"ProductModel": "DB1004.DBB1000",
"ProductSN": "DB1004.DBB2100",
"IntoStationResp": "DB1003.DBW2000" // 进站回复结果地址
}
},
{
"Id": 8,
"isEnble": true,
"WorkStationCode": "OP060",
"WorkStationName": "OP060 高低压接头拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.10.207",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 9,
"isEnble": false,
"WorkStationCode": "OP070-1",
"WorkStationName": "OP070-1 点散热胶GF1500",
"PlcType": "S71500",
"IpAddress": "192.168.10.222",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 9,
"isEnble": false,
"WorkStationCode": "OP070-1",
"WorkStationName": "OP070-1 点散热胶GF1500",
"PlcType": "S71500",
"IpAddress": "192.168.10.222",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 10,
"isEnble": false,
"WorkStationCode": "OP070-2",
"WorkStationName": "OP070-2 点散热胶TC4060",
"PlcType": "S71500",
"IpAddress": "192.168.11.11",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 11,
"isEnble": false,
"WorkStationCode": "OP070-3",
"WorkStationName": "OP070-3 点散热胶GF3500",
"PlcType": "S71500",
"IpAddress": "192.168.11.26",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 12,
"isEnble": false,
"WorkStationCode": "OP075",
"WorkStationName": "OP075 PWM折弯&装配",
"PlcType": "S71500",
"IpAddress": "192.168.11.41",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 13,
"isEnble": true,
"WorkStationCode": "OP080-1",
"WorkStationName": "OP080-1 PCBA组装&拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.1.111",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 14,
"isEnble": false,
"WorkStationCode": "OP080-2",
"WorkStationName": "OP080-2 PCBA拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.11.71",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
//{
// "Id": 15,
// "WorkStationCode": "OP080-2",
// "WorkStationName": "OP080-2 PCBA拧紧",
// "PlcType": "S71500",
// "IpAddress": "192.168.11.71",
// "IntoStation": {
// "Heartbeat": "DB1000.DBW0", // 心跳地址
// "IntoStationAsk": "DB1001.DBW2002", // 进站请求地址
// "ProductModel": "DB1001.DBB1000",
// "ProductSN": "DB1001.DBB1054",
// "IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
// }
//},
{
"Id": 16,
"isEnble": false,
"WorkStationCode": "OP080-3",
"WorkStationName": "OP080-3 PWM压装&CUP上料&拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.11.86",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
//{
// "Id": 16,
// "WorkStationCode": "OP080-3",
// "WorkStationName": "OP080-3 PWM压装&CUP上料&拧紧",
// "PlcType": "S71500",
// "IpAddress": "192.168.11.86",
// "IntoStation": {
// "Heartbeat": "DB1000.DBW0", // 心跳地址
// "IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
// "ProductModel": "DB1001.DBB1000",
// "ProductSN": "DB1001.DBB1054",
// "IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
// }
//},
{
"Id": 16,
"isEnble": false,
"WorkStationCode": "OP085",
"WorkStationName": "OP085 自动上料到波峰焊",
"PlcType": "S71500",
"IpAddress": "192.168.11.101",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 17,
"isEnble": true,
"WorkStationCode": "OP100",
"WorkStationName": "OP100 手动上料壳体&盖板",
"PlcType": "S71500",
"IpAddress": "192.168.11.171",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 18,
"isEnble": false,
"WorkStationCode": "OP1011",
"WorkStationName": "OP1011 HV连接器装配",
"PlcType": "S71500",
"IpAddress": "192.168.1.21",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 19,
"isEnble": true,
"WorkStationCode": "OP1012",
"WorkStationName": "OP1012 Ring terminal装配",
"PlcType": "S71500",
"IpAddress": "192.168.1.140",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 19,
"isEnble": false,
"WorkStationCode": "OP1012",
"WorkStationName": "OP1012 Ring terminal装配",
"PlcType": "S71500",
"IpAddress": "192.168.1.140",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 19,
"isEnble": true,
"WorkStationCode": "OP102",
"WorkStationName": "OP102 等离子处理",
"PlcType": "S71500",
"IpAddress": "192.168.11.186",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 20,
"isEnble": true,
"WorkStationCode": "OP110-1",
"WorkStationName": "OP110-1 点密封胶Q3-3636",
"PlcType": "S71500",
"IpAddress": "192.168.11.201",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 21,
"isEnble": true,
"WorkStationCode": "OP110-2",
"WorkStationName": "OP110-2 盖板组装&拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.11.216",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 22,
"isEnble": true,
"WorkStationCode": "OP110-3",
"WorkStationName": "OP110-3 盖板拧紧",
"PlcType": "S71500",
"IpAddress": "192.168.11.231",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 23,
"isEnble": true,
"WorkStationCode": "OP115",
"WorkStationName": "OP115 自动上下料到固化炉",
"PlcType": "S71500",
"IpAddress": "192.168.12.11",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB2100",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 24,
"isEnble": false,
"WorkStationCode": "OP140",
"WorkStationName": "OP140 气密性测试",
"PlcType": "S71500",
"IpAddress": "192.168.12.46",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
},
{
"Id": 25,
"isEnble": false,
"WorkStationCode": "OP165",
"WorkStationName": "OP165 自动贴标",
"PlcType": "S71500",
"IpAddress": "192.168.12.71",
"IntoStation": {
"Heartbeat": "DB1000.DBW0", // 心跳地址
"IntoStationAsk": "DB1001.DBW2000", // 进站请求地址
"ProductModel": "DB1001.DBB1000",
"ProductSN": "DB1001.DBB1054",
"IntoStationResp": "DB1000.DBW2000" // 进站回复结果地址
}
}
]
}