buenzliai/main/station.cpp

13 lines
218 B
C++
Raw Normal View History

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;
}