Skip to content

Commit 52b24a5

Browse files
EugeneEugene
authored andcommitted
initial commit
1 parent f69bd64 commit 52b24a5

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
package com.infiniticare.model;
2+
3+
public class KnockMember {
4+
private double loudestKnockValue;
5+
private double thresholdForLoudestCylinder;
6+
private double averageKnockValue;
7+
private double averageKnockThresholdValue;
8+
9+
public double getLoudestKnockValue() {
10+
return loudestKnockValue;
11+
}
12+
13+
public void setLoudestKnockValue(double loudestKnockValue) {
14+
this.loudestKnockValue = loudestKnockValue;
15+
}
16+
17+
public double getThresholdForLoudestCylinder() {
18+
return thresholdForLoudestCylinder;
19+
}
20+
21+
public void setThresholdForLoudestCylinder(double thresholdForLoudestCylinder) {
22+
this.thresholdForLoudestCylinder = thresholdForLoudestCylinder;
23+
}
24+
25+
public KnockMember() {
26+
}
27+
28+
public void setAverageKnockValue(double averageKnockValue) {
29+
this.averageKnockValue = averageKnockValue;
30+
}
31+
32+
public void setAverageKnockThresholdValue(double averageKnockThresholdValue) {
33+
this.averageKnockThresholdValue = averageKnockThresholdValue;
34+
}
35+
36+
public double getAverageDistanceFromThreshold() {
37+
return averageKnockValue/averageKnockThresholdValue;
38+
}
39+
40+
public double getDistanceFromThresholdForLoudestKnockValue;
41+
42+
}

0 commit comments

Comments
 (0)