Skip to content

Commit

Permalink
Merge pull request #10 from AllanCapistrano/chore/blockchain-node-com…
Browse files Browse the repository at this point in the history
…munication-zqm

Chore/blockchain node communication zqm
  • Loading branch information
AllanCapistrano authored Dec 10, 2023
2 parents d8ae022 + 68d7f22 commit 6e26a72
Show file tree
Hide file tree
Showing 13 changed files with 909 additions and 360 deletions.
19 changes: 16 additions & 3 deletions src/main/java/reputation/node/enums/NodeServiceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@

/**
* Enumerador com os tipos possíveis de serviços que um nó pode prestar.
*
*
* @author Allan Capistrano
* @version 1.0.0
* @version 1.1.0
*/
public enum NodeServiceType {
RND_DEVICE_ID
THERMOMETER("Thermometer"),
HUMIDITY_SENSOR("HumiditySensor"),
PULSE_OXYMETER("PulseOxymeter"),
WIND_DIRECTION_SENSOR("WindDirectionSensor");

private String description;

NodeServiceType(String description) {
this.description = description;
}

public String getDescription() {
return description;
}
}
Loading

0 comments on commit 6e26a72

Please sign in to comment.