перенос проходов в центральный модуль

This commit is contained in:
2024-10-13 23:55:03 +03:00
parent 6afa2dc892
commit 4e86871571
150 changed files with 510 additions and 576 deletions

View File

@@ -37,9 +37,9 @@ public class ResurrectComponentFromServer extends CurrentComponentPass {
protected boolean canStart(Object... args) throws Exception {
remoteFile = null;
localFile = null;
if (super.canStart() && passes.get(PassCode.GetComponentsBackupsFromServer).Do()) {
if (super.canStart() && Global.mainModule.getPass(PassCode.GetComponentsBackupsFromServer).Do()) {
//1. Получить список бекапов.
backups = (Vector<RemoteFile>) passes.get(PassCode.GetComponentsBackupsFromServer).target;
backups = (Vector<RemoteFile>) Global.mainModule.getPass(PassCode.GetComponentsBackupsFromServer).target;
backups.sort((o1, o2) -> o2.name.compareTo(o1.name));
Dialog d = new Dialog(null) {
@Override