✨ feat(*): 添加管理员解锁与 SFTP 探活能力
* 新增管理员解锁弹窗、手动操作权限控制与倒计时状态 * 支持系统设置页测试 SFTP 连接,并在启动时执行探活 * 补充设计时服务、全局异常兜底与相关单元测试
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
"Sftp": {
|
||||
"Host": "127.0.0.1",
|
||||
"Port": 22,
|
||||
"Username": "user",
|
||||
"Password": "",
|
||||
"Username": "uaesadmin",
|
||||
"Password": "uaes,123",
|
||||
"PrivateKeyPath": "",
|
||||
"PrivateKeyPassphrase": "",
|
||||
"RootPath": "/pcb",
|
||||
"RootPath": "/home/uaesadmin/",
|
||||
"FileNamePattern": "${barcode}.txt",
|
||||
"RetryIntervalSeconds": 2,
|
||||
"MaxRetryCount": 3,
|
||||
@@ -62,15 +62,17 @@
|
||||
},
|
||||
"Andon": {
|
||||
"Enable": true,
|
||||
"Url": "http://127.0.0.1:5000/api/andon",
|
||||
"Url": "https://shp.prod.aliyun.mit.uaes.com/api/mit/MAE/Station/Status/alarm",
|
||||
"Method": "POST",
|
||||
"TimeoutMs": 3000,
|
||||
"StationCode": "OMRON-01",
|
||||
"StationName": "PCB目检工位",
|
||||
"AndonTheme": "SS7_Auto_Andon",
|
||||
"Eid": "PR1965269806334783488",
|
||||
"FromSign": "IOT",
|
||||
"ServiceId": "4dccd822-86b2-47dd-89bd-ca472ba0d14d",
|
||||
"EnableScanFailAlarm": true,
|
||||
"EnableFileNotFoundAlarm": false,
|
||||
"Headers": {
|
||||
"Content-Type": "application/json"
|
||||
"Accept": "application/json"
|
||||
}
|
||||
},
|
||||
"Workflow": {
|
||||
@@ -80,5 +82,9 @@
|
||||
"RequireManualResetAfterFault": true,
|
||||
"MaxUiLogEntries": 200,
|
||||
"MaxBoardRecords": 100
|
||||
},
|
||||
"Security": {
|
||||
"AdminPassword": "AxiOmron@123",
|
||||
"AdminSessionTimeoutMinutes": 15
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user