buenzliai/main/station.cpp

18 lines
291 B
C++
Raw Normal View History

2024-05-17 13:04:36 +00:00
#include <Arduino.h>
2024-05-16 13:19:30 +00:00
#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;
}
2024-05-17 13:04:36 +00:00
String Station::getName() {
return this->name;
}