прерывание пакета. первый вариант.

This commit is contained in:
2023-10-17 00:22:06 +03:00
parent c822cc452b
commit 19f7230eb5
10 changed files with 90 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ public enum Current {
Undefined,
//--
ServerSapfor,
SapforScenario,
SapforTasksPackage,
SapforEtalonTaskResult,//самый левый пакет
SapforTaskResult,
//--
@@ -368,10 +368,10 @@ public enum Current {
return (GlobalData.SapforProfile.SapforProfile) get(Current.SapforProfile);
}
public static boolean HasSapforTasksPackage() {
return get(Current.SapforScenario) != null;
return get(Current.SapforTasksPackage) != null;
}
public static SapforTestingSystem.SapforTasksPackage.SapforTasksPackage getSapforTasksPackage() {
return (SapforTestingSystem.SapforTasksPackage.SapforTasksPackage) get(Current.SapforScenario);
return (SapforTestingSystem.SapforTasksPackage.SapforTasksPackage) get(Current.SapforTasksPackage);
}
//сапфоры установленные на тестовый сервер.
public static boolean HasServerSapfor() {
@@ -385,7 +385,7 @@ public enum Current {
switch (this) {
case ServerSapfor:
return "тестовая версия SAPFOR";
case SapforScenario:
case SapforTasksPackage:
return "сценарий SAPFOR";
case SapforProfile:
return "Профиль SAPFOR";