no message

This commit is contained in:
2024-10-07 14:22:52 +03:00
parent 6b1576461d
commit 61fc37b574
173 changed files with 960 additions and 1526 deletions

View File

@@ -1,4 +1,5 @@
package GlobalData.Tasks;
import Common.CommonConstants;
import Common_old.Constants;
import Common.Database.Objects.iDBObject;
import _VisualDVM.Global;
@@ -16,8 +17,8 @@ public abstract class Task extends iDBObject {
//</editor-fold>
public TaskState state = TaskState.Inactive;
//----------------------------------
public int machine_id = Constants.Nan;
public int user_id = Constants.Nan;
public int machine_id = CommonConstants.Nan;
public int user_id = CommonConstants.Nan;
//-----------------------------------
public String PID = "";
public String project_path;// путь к проекту.
@@ -29,9 +30,9 @@ public abstract class Task extends iDBObject {
public long EndDate = 0;//дата окончания выполнения
//---------------------------------
@Description("IGNORE")
public int progressStep = Constants.Nan;
public int progressStep = CommonConstants.Nan;
@Description("IGNORE")
public int progressAll = Constants.Nan;
public int progressAll = CommonConstants.Nan;
public boolean belongsToProject(db_project_info project) {
return this.project_path.equalsIgnoreCase(project.Home.getAbsolutePath());
}
@@ -108,11 +109,11 @@ public abstract class Task extends iDBObject {
progressAll = progressAll_in;
}
public void dropProgress() {
progressStep = Constants.Nan;
progressAll = Constants.Nan;
progressStep = CommonConstants.Nan;
progressAll = CommonConstants.Nan;
}
public boolean hasProgress() {
return (progressStep != Constants.Nan) && (progressAll != Constants.Nan);
return (progressStep != CommonConstants.Nan) && (progressAll != CommonConstants.Nan);
}
//---------------------------------
public void AnalyzeResultsTexts(db_project_info project) throws Exception {