13 lines
218 B
C++
13 lines
218 B
C++
|
#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;
|
||
|
}
|