2013-06-02 19:02:57 +02:00
|
|
|
package cc.arduino.packages;
|
|
|
|
|
|
|
|
import processing.app.helpers.PreferencesMap;
|
|
|
|
|
|
|
|
public class BoardPort {
|
|
|
|
|
|
|
|
private String address;
|
|
|
|
private String protocol;
|
|
|
|
private String boardName;
|
2013-06-04 19:33:38 +02:00
|
|
|
private String label;
|
2013-06-02 19:02:57 +02:00
|
|
|
private PreferencesMap prefs;
|
|
|
|
|
|
|
|
public String getAddress() {
|
|
|
|
return address;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAddress(String address) {
|
|
|
|
this.address = address;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getProtocol() {
|
|
|
|
return protocol;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setProtocol(String protocol) {
|
|
|
|
this.protocol = protocol;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getBoardName() {
|
|
|
|
return boardName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setBoardName(String boardName) {
|
|
|
|
this.boardName = boardName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPrefs(PreferencesMap prefs) {
|
|
|
|
this.prefs = prefs;
|
|
|
|
}
|
|
|
|
|
|
|
|
public PreferencesMap getPrefs() {
|
|
|
|
return prefs;
|
|
|
|
}
|
|
|
|
|
2013-06-04 19:33:38 +02:00
|
|
|
public void setLabel(String label) {
|
|
|
|
this.label = label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
return label;
|
|
|
|
}
|
|
|
|
|
2013-06-02 19:02:57 +02:00
|
|
|
}
|