-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCBox.java
More file actions
93 lines (88 loc) · 1.91 KB
/
CBox.java
File metadata and controls
93 lines (88 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.masim.utils;
public class CBox {
double PM10_concentration;
double O3_concentration;
double NO_concentration;
double CO_concentration;
double SOx_concentration;
int j;
int i;
public double getSOx_concentration() {
return SOx_concentration;
}
public void setSOx_concentration(double sOx_concentration) {
SOx_concentration = sOx_concentration;
}
public int getJ() {
return j;
}
public void setJ(int j) {
this.j = j;
}
public int getI() {
return i;
}
public void setI(int i) {
this.i = i;
}
/**
* @return the pM10_concentration
*/
public double getPM10_concentration() {
return PM10_concentration;
}
/**
* @param pM10_concentration the pM10_concentration to set
*/
public void setPM10_concentration(double pM10_concentration) {
PM10_concentration = pM10_concentration;
}
/**
* @return the o3_concentration
*/
public double getO3_concentration() {
return O3_concentration;
}
/**
* @param o3_concentration the o3_concentration to set
*/
public void setO3_concentration(double o3_concentration) {
O3_concentration = o3_concentration;
}
/**
* @return the nO_concentration
*/
public double getNO_concentration() {
return NO_concentration;
}
/**
* @param nO_concentration the nO_concentration to set
*/
public void setNO_concentration(double nO_concentration) {
NO_concentration = nO_concentration;
}
/**
* @return the cO_concentration
*/
public double getCO_concentration() {
return CO_concentration;
}
/**
* @param cO_concentration the cO_concentration to set
*/
public void setCO_concentration(double cO_concentration) {
CO_concentration = cO_concentration;
}
public void polluate(double i) {
PM10_concentration=PM10_concentration+i;
}
/**
* @param j
* @param i
*/
public CBox(int j, int i) {
super();
this.j = j;
this.i = i;
}
}