This commit is contained in:
2024-11-17 15:08:00 +03:00
parent b79002edcc
commit 493b19c5e4
3 changed files with 6 additions and 6 deletions

6
.idea/workspace.xml generated
View File

@@ -7,10 +7,8 @@
</component>
<component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Constants.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Constants.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Component/Visualiser.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Component/Visualiser.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/TestingPlanner.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/TestingPlanner.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Global.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Global.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/ShutdownComponentsServer.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/ShutdownComponentsServer.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@@ -221,6 +221,7 @@ public class Global {
// FoldParserManager.get().addFoldParserMapping("text/FortranSPF", new FortranFolder()); блоки кода. todo
//light_editor.xml-------->>
mainModule.ActivateDB();
/*
mainModule.set(Current.Account, new Account() {
{
name = "M";
@@ -228,7 +229,8 @@ public class Global {
role = AccountRole.Admin;
}
});
// Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
*/
mainModule.getPass(PassCode.CheckAccount).Do();
//---------------
componentsServer.ActivateDB();
testingServer.ActivateDB();

View File

@@ -17,7 +17,7 @@ public class ShutdownComponentsServer extends RepositoryServerSSHPass {
}
@Override
protected boolean canStart(Object... args) throws Exception {
if (Global.mainModule.getPass(PassCode.PingTestingServer).Do(true)) {
if (Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
return true;
} else {
Log.Writeln_("Сервер уже неактивен!");