buenzliai/main/station.cpp
2024-05-17 15:04:36 +02:00

17 lines
291 B
C++

#include <Arduino.h>
#include "station.h"
Station::Station(uint32_t nfcTagId, String name) {
{
this->nfcTagId = nfcTagId;
this->name = name;
}
}
bool Station::check(uint32_t nfcTagId) {
return nfcTagId == this->nfcTagId;
}
String Station::getName() {
return this->name;
}