Skip to content
Snippets Groups Projects
Commit 9a4c0d4e authored by Eilert Tunheim's avatar Eilert Tunheim
Browse files

Added readme file

parent d3611c15
Branches
No related tags found
No related merge requests found
Bachelor oppgave vår 2022
Awesome teamates:
#Bachelor Thesis Spring 2022
This application visualize live- and historical data and calculates an estimate based on logistic regression that the drying operator can choose to follow in order to minimize over-drying.
The development team:
* #### Eilert Tunheim
* #### Mads Greni Arnesen
* #### Karin Pettersen
Link to repo: https://git.gvk.idi.ntnu.no/mesji/bacheloroppgave_2022
## Deployment Instructions
The java .jar file is located under `out\artifacts\Bachelor_application`
In order to run the jar file, please use the following command:
`java -jar Bachelor_application.jar`
Karin
Mads
Eilert
......@@ -172,24 +172,17 @@ public class InputPopup {
moistureList.setValue("");
}
if (!err) {
setTreeSpeciesText(Constants.TREE_SPECIES);
setDimensionsText(Constants.DIMENSIONS);
setSawsetText(Constants.SAWSET);
setMoistureGoalText(Constants.MOISTURE_GOAL);
window.close();
NotificationPopUp.displayNotificationWindow("Searching for data...");
// Fungerende ny thread!!@@@@@
// Gather data
// Gather data thread
try {
Thread thread = new Thread(() -> {
......@@ -251,94 +244,8 @@ public class InputPopup {
} catch (Exception ex) {
ex.printStackTrace();
}
} else {
}
}
);
/*
// Fungerende ny thread!!@@@@@
try{
Thread thread = new Thread(new Runnable() {
@Override
public void run() {
try {
// Henter her data fra databasen
loadSingleSeries(setInputParameters());
//loadSingleSeries();
//loadMultipleSeries();
} catch (Exception ex) {
ex.printStackTrace();
}
}
});
thread.start();
} catch (Exception ex) {
ex.printStackTrace();
}
}
);
*/
/*
class KwhThread implements Runnable {
Map<Integer, Map<String, Number>> dataVariable;
private volatile boolean finished;
@Override
public void run() {
try{
dataVariable = setInputParameters();
} catch (Exception ex) {
ex.printStackTrace();
}
finished = true;
synchronized (this){
this.notify();
}
}
public Map<Integer, Map<String, Number>> getDataVariable() throws InterruptedException {
synchronized (this){
if(!finished)
this.wait();
}
return dataVariable;
}
}
KwhThread kwhThread = new KwhThread();
Thread thread = new Thread(kwhThread);
thread.setName("GetKwhThread");
thread.start();
try {
loadSingleSeries(kwhThread.getDataVariable());
} catch (Exception ex) {
ex.printStackTrace();
}
*/
/*
*/
}
});
VBox layout = new VBox(10);
layout.getChildren().addAll(inputLabel, treeSpeciesInputLabel, treeSpeciesList, dimensionsInputLabel, dimensionsList,
......
Manifest-Version: 1.0
Main-Class: com.application.Main
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment