futurice / vor

The new IoT Office Experience.
http://vor.space
MIT License
47 stars 10 forks source link

Refactored constants and added a kotlin file #42

Closed luisramalho closed 8 years ago

luisramalho commented 8 years ago

It all started with me trying to add a Kotlin class to justify keeping it in gradle, and it turned out I refactored all the constants :sweat_smile:

Got my class though

enum class Toilet(val id: String) {
    AM7("toilet7am"),
    BM7("toilet7bm"),
    AM8("toilet8am"),
    AW8("toilet8aw"),
    BM8("toilet8bm"),
    BW8("toilet8bw"),
    CM8("toilet8cm"),
    CW8("toilet8cw")
}