mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-13 19:05:16 +08:00
Feat: add module smart_mgmt
This commit is contained in:
@@ -669,6 +669,78 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"DowntimeFetch": {
|
||||
"Scheduler": {
|
||||
"Enable": {
|
||||
"type": "checkbox",
|
||||
"value": false,
|
||||
"option": [
|
||||
true,
|
||||
false
|
||||
]
|
||||
},
|
||||
"NextRun": {
|
||||
"type": "datetime",
|
||||
"value": "2020-01-01 00:00:00",
|
||||
"validate": "datetime"
|
||||
},
|
||||
"Command": {
|
||||
"type": "input",
|
||||
"value": "DowntimeFetch",
|
||||
"display": "hide"
|
||||
},
|
||||
"SuccessInterval": {
|
||||
"type": "input",
|
||||
"value": 30,
|
||||
"display": "hide"
|
||||
},
|
||||
"FailureInterval": {
|
||||
"type": "input",
|
||||
"value": 30,
|
||||
"display": "hide"
|
||||
},
|
||||
"ServerUpdate": {
|
||||
"type": "input",
|
||||
"value": "22:30",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DowntimeMgmt": {
|
||||
"Downtime": {
|
||||
"Window": {
|
||||
"type": "input",
|
||||
"value": ""
|
||||
},
|
||||
"Title": {
|
||||
"type": "input",
|
||||
"value": "",
|
||||
"display": "disabled"
|
||||
}
|
||||
},
|
||||
"DowntimeStrategy": {
|
||||
"ManageExercise": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Main": {
|
||||
"Scheduler": {
|
||||
"Enable": {
|
||||
|
||||
@@ -153,6 +153,16 @@ OldRetire:
|
||||
value: retire_all
|
||||
option: [ retire_all, retire_10 ]
|
||||
|
||||
# ==================== SmartMgmt ====================
|
||||
|
||||
Downtime:
|
||||
Window: ''
|
||||
Title:
|
||||
value: ''
|
||||
display: disabled
|
||||
DowntimeStrategy:
|
||||
ManageExercise: false
|
||||
|
||||
# ==================== Farm ====================
|
||||
|
||||
Campaign:
|
||||
|
||||
@@ -8,6 +8,14 @@
|
||||
"Restart"
|
||||
]
|
||||
},
|
||||
"SmartMgmt": {
|
||||
"menu": "collapse",
|
||||
"page": "setting",
|
||||
"tasks": [
|
||||
"DowntimeFetch",
|
||||
"DowntimeMgmt"
|
||||
]
|
||||
},
|
||||
"Farm": {
|
||||
"menu": "collapse",
|
||||
"page": "setting",
|
||||
|
||||
@@ -15,6 +15,14 @@ Restart:
|
||||
FailureInterval: 0
|
||||
ServerUpdate: 00:00
|
||||
|
||||
# ==================== SmartMgmt ====================
|
||||
|
||||
DowntimeFetch:
|
||||
Scheduler:
|
||||
SuccessInterval: 30
|
||||
FailureInterval: 30
|
||||
ServerUpdate: "22:30"
|
||||
|
||||
# ==================== Farm ====================
|
||||
|
||||
Main:
|
||||
|
||||
@@ -22,6 +22,18 @@ Alas:
|
||||
Restart:
|
||||
- Scheduler
|
||||
|
||||
# ==================== SmartMgmt ====================
|
||||
|
||||
SmartMgmt:
|
||||
menu: 'collapse'
|
||||
page: 'setting'
|
||||
tasks:
|
||||
DowntimeFetch:
|
||||
- Scheduler
|
||||
DowntimeMgmt:
|
||||
- Downtime
|
||||
- DowntimeStrategy
|
||||
|
||||
# ==================== Farm ====================
|
||||
|
||||
Farm:
|
||||
|
||||
Reference in New Issue
Block a user